A Basic L&F implementation of the SplitPaneUI.
A Basic L&F implementation of the SplitPaneUI.
(*create-ui x)
Creates a new BasicSplitPaneUI instance
x - javax.swing.JComponent
returns: javax.swing.plaf.ComponentUI
Creates a new BasicSplitPaneUI instance x - `javax.swing.JComponent` returns: `javax.swing.plaf.ComponentUI`
(continuous-layout? this)
Determines whether the JSplitPane is set to use a continuous layout.
returns: boolean
Determines whether the JSplitPane is set to use a continuous layout. returns: `boolean`
(create-default-divider this)
Creates the default divider.
returns: javax.swing.plaf.basic.BasicSplitPaneDivider
Creates the default divider. returns: `javax.swing.plaf.basic.BasicSplitPaneDivider`
(finished-painting-children this sp g)
Called when the specified split pane has finished painting its children.
sp - javax.swing.JSplitPane
g - java.awt.Graphics
Called when the specified split pane has finished painting its children. sp - `javax.swing.JSplitPane` g - `java.awt.Graphics`
(get-divider this)
Returns the divider between the top Components.
returns: javax.swing.plaf.basic.BasicSplitPaneDivider
Returns the divider between the top Components. returns: `javax.swing.plaf.basic.BasicSplitPaneDivider`
(get-divider-location this jc)
Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is.
jc - javax.swing.JSplitPane
returns: int
Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is. jc - `javax.swing.JSplitPane` returns: `int`
(get-insets this jc)
Returns the insets. The insets are returned from the border insets of the current border.
jc - javax.swing.JComponent
returns: java.awt.Insets
Returns the insets. The insets are returned from the border insets of the current border. jc - `javax.swing.JComponent` returns: `java.awt.Insets`
(get-last-drag-location this)
Returns the last drag location of the JSplitPane.
returns: int
Returns the last drag location of the JSplitPane. returns: `int`
(get-maximum-divider-location this jc)
Gets the maximum location of the divider.
jc - javax.swing.JSplitPane
returns: int
Gets the maximum location of the divider. jc - `javax.swing.JSplitPane` returns: `int`
(get-maximum-size this jc)
Returns the maximum size for the passed in component, This is passed off to the current layout manager.
jc - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
returns: a Dimension object or null - java.awt.Dimension
Returns the maximum size for the passed in component, This is passed off to the current layout manager. jc - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent` returns: a Dimension object or null - `java.awt.Dimension`
(get-minimum-divider-location this jc)
Gets the minimum location of the divider.
jc - javax.swing.JSplitPane
returns: int
Gets the minimum location of the divider. jc - `javax.swing.JSplitPane` returns: `int`
(get-minimum-size this jc)
Returns the minimum size for the passed in component, This is passed off to the current layout manager.
jc - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
returns: a Dimension object or null - java.awt.Dimension
Returns the minimum size for the passed in component, This is passed off to the current layout manager. jc - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent` returns: a Dimension object or null - `java.awt.Dimension`
(get-non-continuous-layout-divider this)
Returns the divider to use when the splitPane is configured to not continuously layout. This divider will only be used during a dragging session.
returns: java.awt.Component
Returns the divider to use when the splitPane is configured to not continuously layout. This divider will only be used during a dragging session. returns: `java.awt.Component`
(get-orientation this)
Returns the orientation for the JSplitPane.
returns: int
Returns the orientation for the JSplitPane. returns: `int`
(get-preferred-size this jc)
Returns the preferred size for the passed in component, This is passed off to the current layout manager.
jc - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
returns: java.awt.Dimension
Returns the preferred size for the passed in component, This is passed off to the current layout manager. jc - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent` returns: `java.awt.Dimension`
(get-split-pane this)
Returns the splitpane this instance is currently contained in.
returns: javax.swing.JSplitPane
Returns the splitpane this instance is currently contained in. returns: `javax.swing.JSplitPane`
(install-ui this c)
Installs the UI.
c - the component where this UI delegate is being installed - javax.swing.JComponent
Installs the UI. c - the component where this UI delegate is being installed - `javax.swing.JComponent`
(paint this g jc)
Paints the specified component appropriately for the look and feel. This method is invoked from the ComponentUI.update method when the specified component is being painted. Subclasses should override this method and use the specified Graphics object to render the content of the component.
g - the Graphics context in which to paint - java.awt.Graphics
jc - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
Paints the specified component appropriately for the look and feel. This method is invoked from the ComponentUI.update method when the specified component is being painted. Subclasses should override this method and use the specified Graphics object to render the content of the component. g - the Graphics context in which to paint - `java.awt.Graphics` jc - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`
(reset-to-preferred-sizes this jc)
Messaged to reset the preferred sizes.
jc - javax.swing.JSplitPane
Messaged to reset the preferred sizes. jc - `javax.swing.JSplitPane`
(set-continuous-layout this b)
Turn continuous layout on/off.
b - boolean
Turn continuous layout on/off. b - `boolean`
(set-divider-location this jc location)
Sets the location of the divider to location.
jc - javax.swing.JSplitPane
location - int
Sets the location of the divider to location. jc - `javax.swing.JSplitPane` location - `int`
(set-last-drag-location this l)
Set the last drag location of the JSplitPane.
l - int
Set the last drag location of the JSplitPane. l - `int`
(set-orientation this orientation)
Set the orientation for the JSplitPane.
orientation - int
Set the orientation for the JSplitPane. orientation - `int`
(uninstall-ui this c)
Uninstalls the UI.
c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - javax.swing.JComponent
Uninstalls the UI. c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components - `javax.swing.JComponent`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close