Divider used by BasicSplitPaneUI. Subclassers may wish to override paint to do something more interesting. The border effect is drawn in BasicSplitPaneUI, so if you don't like that border, reset it there. To conditionally drag from certain areas subclass mousePressed and call super when you wish the dragging to begin.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
Divider used by BasicSplitPaneUI. Subclassers may wish to override paint to do something more interesting. The border effect is drawn in BasicSplitPaneUI, so if you don't like that border, reset it there. To conditionally drag from certain areas subclass mousePressed and call super when you wish the dragging to begin. Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
(->basic-split-pane-divider ui)
Constructor.
Creates an instance of BasicSplitPaneDivider. Registers this instance for mouse events and mouse dragged events.
ui - javax.swing.plaf.basic.BasicSplitPaneUI
Constructor. Creates an instance of BasicSplitPaneDivider. Registers this instance for mouse events and mouse dragged events. ui - `javax.swing.plaf.basic.BasicSplitPaneUI`
(get-basic-split-pane-ui this)
Returns the SplitPaneUI the receiver is currently in.
returns: javax.swing.plaf.basic.BasicSplitPaneUI
Returns the SplitPaneUI the receiver is currently in. returns: `javax.swing.plaf.basic.BasicSplitPaneUI`
(get-border this)
Returns the border of this component or null if no border is currently set.
returns: the border object for this component - javax.swing.border.Border
Returns the border of this component or null if no border is currently set. returns: the border object for this component - `javax.swing.border.Border`
(get-divider-size this)
Returns the size of the divider, that is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT.
returns: int
Returns the size of the divider, that is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT. returns: `int`
(get-insets this)
If a border has been set on this component, returns the border's insets, else calls super.getInsets.
returns: the value of the insets property. - java.awt.Insets
If a border has been set on this component, returns the border's insets, else calls super.getInsets. returns: the value of the insets property. - `java.awt.Insets`
(get-minimum-size this)
Returns dividerSize x dividerSize
returns: an instance of Dimension that represents
the minimum size of this container. - java.awt.Dimension
Returns dividerSize x dividerSize returns: an instance of Dimension that represents the minimum size of this container. - `java.awt.Dimension`
(get-preferred-size this)
Returns dividerSize x dividerSize
returns: an instance of Dimension that represents
the preferred size of this container. - java.awt.Dimension
Returns dividerSize x dividerSize returns: an instance of Dimension that represents the preferred size of this container. - `java.awt.Dimension`
(mouse-over? this)
Returns whether or not the mouse is currently over the divider
returns: whether or not the mouse is currently over the divider - boolean
Returns whether or not the mouse is currently over the divider returns: whether or not the mouse is currently over the divider - `boolean`
(paint this g)
Paints the divider.
g - the specified Graphics window - java.awt.Graphics
Paints the divider. g - the specified Graphics window - `java.awt.Graphics`
(property-change this e)
Property change event, presumably from the JSplitPane, will message updateOrientation if necessary.
e - A PropertyChangeEvent object describing the event source and the property that has changed. - java.beans.PropertyChangeEvent
Property change event, presumably from the JSplitPane, will message updateOrientation if necessary. e - A PropertyChangeEvent object describing the event source and the property that has changed. - `java.beans.PropertyChangeEvent`
(set-basic-split-pane-ui this new-ui)
Sets the SplitPaneUI that is using the receiver.
new-ui - javax.swing.plaf.basic.BasicSplitPaneUI
Sets the SplitPaneUI that is using the receiver. new-ui - `javax.swing.plaf.basic.BasicSplitPaneUI`
(set-border this border)
Sets the border of this component.
border - javax.swing.border.Border
Sets the border of this component. border - `javax.swing.border.Border`
(set-divider-size this new-size)
Sets the size of the divider to newSize. That is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT.
new-size - int
Sets the size of the divider to newSize. That is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT. new-size - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close