BasicSplitPaneDivider (Java Platform SE 8 ) (original) (raw)

Modifier and Type

Method

Description

protected [JButton](../../../../javax/swing/JButton.html "class in javax.swing")

[createLeftOneTouchButton](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#createLeftOneTouchButton--)()

Creates and return an instance of JButton that can be used to collapse the left component in the split pane.

protected [JButton](../../../../javax/swing/JButton.html "class in javax.swing")

[createRightOneTouchButton](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#createRightOneTouchButton--)()

Creates and return an instance of JButton that can be used to collapse the right component in the split pane.

protected void

[dragDividerTo](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#dragDividerTo-int-)(int location)

Messages the BasicSplitPaneUI with dragDividerTo that this instance is contained in.

protected void

[finishDraggingTo](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#finishDraggingTo-int-)(int location)

Messages the BasicSplitPaneUI with finishDraggingTo that this instance is contained in.

[BasicSplitPaneUI](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html "class in javax.swing.plaf.basic")

[getBasicSplitPaneUI](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#getBasicSplitPaneUI--)()

Returns the SplitPaneUI the receiver is currently in.

[Border](../../../../javax/swing/border/Border.html "interface in javax.swing.border")

[getBorder](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#getBorder--)()

Returns the border of this component or null if no border is currently set.

int

[getDividerSize](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#getDividerSize--)()

Returns the size of the divider, that is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT.

[Insets](../../../../java/awt/Insets.html "class in java.awt")

[getInsets](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#getInsets--)()

If a border has been set on this component, returns the border's insets, else calls super.getInsets.

[Dimension](../../../../java/awt/Dimension.html "class in java.awt")

[getMinimumSize](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#getMinimumSize--)()

Returns dividerSize x dividerSize

[Dimension](../../../../java/awt/Dimension.html "class in java.awt")

[getPreferredSize](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#getPreferredSize--)()

Returns dividerSize x dividerSize

boolean

[isMouseOver](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#isMouseOver--)()

Returns whether or not the mouse is currently over the divider

protected void

[oneTouchExpandableChanged](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#oneTouchExpandableChanged--)()

Messaged when the oneTouchExpandable value of the JSplitPane the receiver is contained in changes.

void

[paint](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#paint-java.awt.Graphics-)([Graphics](../../../../java/awt/Graphics.html "class in java.awt") g)

Paints the divider.

protected void

[prepareForDragging](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#prepareForDragging--)()

Message to prepare for dragging.

void

[propertyChange](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#propertyChange-java.beans.PropertyChangeEvent-)([PropertyChangeEvent](../../../../java/beans/PropertyChangeEvent.html "class in java.beans") e)

Property change event, presumably from the JSplitPane, will message updateOrientation if necessary.

void

[setBasicSplitPaneUI](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#setBasicSplitPaneUI-javax.swing.plaf.basic.BasicSplitPaneUI-)([BasicSplitPaneUI](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html "class in javax.swing.plaf.basic") newUI)

Sets the SplitPaneUI that is using the receiver.

void

[setBorder](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#setBorder-javax.swing.border.Border-)([Border](../../../../javax/swing/border/Border.html "interface in javax.swing.border") border)

Sets the border of this component.

void

[setDividerSize](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#setDividerSize-int-)(int newSize)

Sets the size of the divider to newSize.

protected void

[setMouseOver](../../../../javax/swing/plaf/basic/BasicSplitPaneDivider.html#setMouseOver-boolean-)(boolean mouseOver)

Sets whether or not the mouse is currently over the divider.