Class ForceDividerLocation

java.lang.Object
com.jackmeng.halcyoninae.cosmos.components.ForceDividerLocation
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class ForceDividerLocation extends Object implements PropertyChangeListener
A class with a listener to constantly keep a divider in between a threshold from the original location
Since:
3.0
Author:
Jack Meng
  • Field Details

    • e

      private final JSplitPane e
    • min

      private final int min
    • max

      private final int max
  • Constructor Details

    • ForceDividerLocation

      public ForceDividerLocation(JSplitPane e, int threshold)
      Parameters:
      e - The JSplitPane instance
      threshold - The threshold (center+threshold and center-threshold)
  • Method Details