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

Modifier and Type

Method

Description

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

[createDefaultDivider](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createDefaultDivider--)()

Creates the default divider.

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

[createDefaultNonContinuousLayoutDivider](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createDefaultNonContinuousLayoutDivider--)()

Returns the default non continuous layout divider, which is an instance of Canvas that fills in the background with dark gray.

protected [FocusListener](../../../../java/awt/event/FocusListener.html "interface in java.awt.event")

[createFocusListener](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createFocusListener--)()

Creates a FocusListener for the JSplitPane UI.

protected [ActionListener](../../../../java/awt/event/ActionListener.html "interface in java.awt.event")

[createKeyboardDownRightListener](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createKeyboardDownRightListener--)()

protected [ActionListener](../../../../java/awt/event/ActionListener.html "interface in java.awt.event")

[createKeyboardEndListener](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createKeyboardEndListener--)()

protected [ActionListener](../../../../java/awt/event/ActionListener.html "interface in java.awt.event")

[createKeyboardHomeListener](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createKeyboardHomeListener--)()

protected [ActionListener](../../../../java/awt/event/ActionListener.html "interface in java.awt.event")

[createKeyboardResizeToggleListener](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createKeyboardResizeToggleListener--)()

protected [ActionListener](../../../../java/awt/event/ActionListener.html "interface in java.awt.event")

[createKeyboardUpLeftListener](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createKeyboardUpLeftListener--)()

protected [PropertyChangeListener](../../../../java/beans/PropertyChangeListener.html "interface in java.beans")

[createPropertyChangeListener](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createPropertyChangeListener--)()

Creates a PropertyChangeListener for the JSplitPane UI.

static [ComponentUI](../../../../javax/swing/plaf/ComponentUI.html "class in javax.swing.plaf")

[createUI](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#createUI-javax.swing.JComponent-)([JComponent](../../../../javax/swing/JComponent.html "class in javax.swing") x)

Creates a new BasicSplitPaneUI instance

protected void

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

Messaged during a dragging session to move the divider to the passed in location.

protected void

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

Messaged to finish the dragging session.

void

[finishedPaintingChildren](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#finishedPaintingChildren-javax.swing.JSplitPane-java.awt.Graphics-)([JSplitPane](../../../../javax/swing/JSplitPane.html "class in javax.swing") sp,[Graphics](../../../../java/awt/Graphics.html "class in java.awt") g)

Called when the specified split pane has finished painting its children.

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

[getDivider](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getDivider--)()

Returns the divider between the top Components.

protected int

[getDividerBorderSize](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getDividerBorderSize--)()

int

[getDividerLocation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getDividerLocation-javax.swing.JSplitPane-)([JSplitPane](../../../../javax/swing/JSplitPane.html "class in javax.swing") jc)

Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is.

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

[getInsets](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getInsets-javax.swing.JComponent-)([JComponent](../../../../javax/swing/JComponent.html "class in javax.swing") jc)

Returns the insets.

int

[getLastDragLocation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getLastDragLocation--)()

Returns the last drag location of the JSplitPane.

int

[getMaximumDividerLocation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getMaximumDividerLocation-javax.swing.JSplitPane-)([JSplitPane](../../../../javax/swing/JSplitPane.html "class in javax.swing") jc)

Gets the maximum location of the divider.

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

[getMaximumSize](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getMaximumSize-javax.swing.JComponent-)([JComponent](../../../../javax/swing/JComponent.html "class in javax.swing") jc)

Returns the maximum size for the passed in component, This is passed off to the current layout manager.

int

[getMinimumDividerLocation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getMinimumDividerLocation-javax.swing.JSplitPane-)([JSplitPane](../../../../javax/swing/JSplitPane.html "class in javax.swing") jc)

Gets the minimum location of the divider.

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

[getMinimumSize](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getMinimumSize-javax.swing.JComponent-)([JComponent](../../../../javax/swing/JComponent.html "class in javax.swing") jc)

Returns the minimum size for the passed in component, This is passed off to the current layout manager.

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

[getNonContinuousLayoutDivider](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getNonContinuousLayoutDivider--)()

Returns the divider to use when the splitPane is configured to not continuously layout.

int

[getOrientation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getOrientation--)()

Returns the orientation for the JSplitPane.

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

[getPreferredSize](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getPreferredSize-javax.swing.JComponent-)([JComponent](../../../../javax/swing/JComponent.html "class in javax.swing") jc)

Returns the preferred size for the passed in component, This is passed off to the current layout manager.

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

[getSplitPane](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getSplitPane--)()

Returns the splitpane this instance is currently contained in.

protected void

[installDefaults](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#installDefaults--)()

Installs the UI defaults.

protected void

[installKeyboardActions](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#installKeyboardActions--)()

Installs the keyboard actions for the UI.

protected void

[installListeners](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#installListeners--)()

Installs the event listeners for the UI.

void

[installUI](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#installUI-javax.swing.JComponent-)([JComponent](../../../../javax/swing/JComponent.html "class in javax.swing") c)

Installs the UI.

boolean

[isContinuousLayout](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#isContinuousLayout--)()

Determines whether the JSplitPane is set to use a continuous layout.

void

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

Paints the specified component appropriately for the look and feel.

protected void

[resetLayoutManager](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#resetLayoutManager--)()

Resets the layout manager based on orientation and messages it with invalidateLayout to pull in appropriate Components.

void

[resetToPreferredSizes](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#resetToPreferredSizes-javax.swing.JSplitPane-)([JSplitPane](../../../../javax/swing/JSplitPane.html "class in javax.swing") jc)

Messaged to reset the preferred sizes.

void

[setContinuousLayout](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setContinuousLayout-boolean-)(boolean b)

Turn continuous layout on/off.

void

[setDividerLocation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setDividerLocation-javax.swing.JSplitPane-int-)([JSplitPane](../../../../javax/swing/JSplitPane.html "class in javax.swing") jc, int location)

Sets the location of the divider to location.

void

[setLastDragLocation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setLastDragLocation-int-)(int l)

Set the last drag location of the JSplitPane.

protected void

[setNonContinuousLayoutDivider](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setNonContinuousLayoutDivider-java.awt.Component-)([Component](../../../../java/awt/Component.html "class in java.awt") newDivider)

Sets the divider to use when the splitPane is configured to not continuously layout.

protected void

[setNonContinuousLayoutDivider](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setNonContinuousLayoutDivider-java.awt.Component-boolean-)([Component](../../../../java/awt/Component.html "class in java.awt") newDivider, boolean rememberSizes)

Sets the divider to use.

void

[setOrientation](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setOrientation-int-)(int orientation)

Set the orientation for the JSplitPane.

protected void

[startDragging](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#startDragging--)()

Should be messaged before the dragging session starts, resets lastDragLocation and dividerSize.

protected void

[uninstallDefaults](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#uninstallDefaults--)()

Uninstalls the UI defaults.

protected void

[uninstallKeyboardActions](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#uninstallKeyboardActions--)()

Uninstalls the keyboard actions for the UI.

protected void

[uninstallListeners](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#uninstallListeners--)()

Uninstalls the event listeners for the UI.

void

[uninstallUI](../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#uninstallUI-javax.swing.JComponent-)([JComponent](../../../../javax/swing/JComponent.html "class in javax.swing") c)

Uninstalls the UI.