Class SkinSplitPaneDivider

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, SwingConstants

public final class SkinSplitPaneDivider extends BasicSplitPaneDivider implements SwingConstants
Description of the Class
Author:
fred
See Also:
  • Field Details

    • skin

      protected Skin skin
      Description of the Field
  • Constructor Details

    • SkinSplitPaneDivider

      public SkinSplitPaneDivider(BasicSplitPaneUI ui)
      Constructor for the SkinSplitPaneDivider object
      Parameters:
      ui - Description of Parameter
  • Method Details

    • setDividerSize

      public void setDividerSize(int newSize)
      Sets the size of the divider to newSize. That is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT .
      Overrides:
      setDividerSize in class BasicSplitPaneDivider
      Parameters:
      newSize - The new DividerSize value
    • paint

      public void paint(Graphics g)
      Paints the divider.
      Overrides:
      paint in class BasicSplitPaneDivider
      Parameters:
      g - Description of Parameter
    • createLeftOneTouchButton

      protected JButton createLeftOneTouchButton()
      Creates and return an instance of JButton that can be used to collapse the left component in the split pane.
      Overrides:
      createLeftOneTouchButton in class BasicSplitPaneDivider
      Returns:
      Description of the Returned Value
    • createRightOneTouchButton

      protected JButton createRightOneTouchButton()
      Creates and return an instance of JButton that can be used to collapse the right component in the split pane.
      Overrides:
      createRightOneTouchButton in class BasicSplitPaneDivider
      Returns:
      Description of the Returned Value
    • updateDividerSize

      protected void updateDividerSize(Dimension d)
      Update the divider size to contain the appropriate dimension.
      Parameters:
      d - Description of Parameter