Provides the Synth L&F UI delegate for JSplitPane.
Provides the Synth L&F UI delegate for JSplitPane.
(*create-ui x)
Creates a new SynthSplitPaneUI instance
x - component to create UI object for - javax.swing.JComponent
returns: the UI object - javax.swing.plaf.ComponentUI
Creates a new SynthSplitPaneUI instance x - component to create UI object for - `javax.swing.JComponent` returns: the UI object - `javax.swing.plaf.ComponentUI`
(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 jc g)
Called when the specified split pane has finished painting its children.
jc - javax.swing.JSplitPane
g - java.awt.Graphics
Called when the specified split pane has finished painting its children. jc - `javax.swing.JSplitPane` g - `java.awt.Graphics`
(get-context this c)
Returns the Context for the specified component.
c - Component requesting SynthContext. - javax.swing.JComponent
returns: SynthContext describing component. - javax.swing.plaf.synth.SynthContext
Returns the Context for the specified component. c - Component requesting SynthContext. - `javax.swing.JComponent` returns: SynthContext describing component. - `javax.swing.plaf.synth.SynthContext`
(paint this g c)
Paints the specified component according to the Look and Feel. This method is not used by Synth Look and Feel. Painting is handled by the paint(SynthContext,Graphics) method.
g - the Graphics object used for painting - java.awt.Graphics
c - the component being painted - javax.swing.JComponent
Paints the specified component according to the Look and Feel. This method is not used by Synth Look and Feel. Painting is handled by the paint(SynthContext,Graphics) method. g - the Graphics object used for painting - `java.awt.Graphics` c - the component being painted - `javax.swing.JComponent`
(paint-border this context g x y w h)
Paints the border.
context - a component context - javax.swing.plaf.synth.SynthContext
g - Graphics to paint on - java.awt.Graphics
x - the X coordinate - int
y - the Y coordinate - int
w - width of the border - int
h - height of the border - int
Paints the border. context - a component context - `javax.swing.plaf.synth.SynthContext` g - Graphics to paint on - `java.awt.Graphics` x - the X coordinate - `int` y - the Y coordinate - `int` w - width of the border - `int` h - height of the border - `int`
(property-change this e)
This method gets called when a bound property is changed.
e - A PropertyChangeEvent object describing the event source and the property that has changed. - java.beans.PropertyChangeEvent
This method gets called when a bound property is changed. e - A PropertyChangeEvent object describing the event source and the property that has changed. - `java.beans.PropertyChangeEvent`
(update this g c)
Notifies this UI delegate to repaint the specified component. This method paints the component background, then calls the paint(SynthContext,Graphics) method.
In general, this method does not need to be overridden by subclasses. All Look and Feel rendering code should reside in the paint method.
g - the Graphics object used for painting - java.awt.Graphics
c - the component being painted - javax.swing.JComponent
Notifies this UI delegate to repaint the specified component. This method paints the component background, then calls the paint(SynthContext,Graphics) method. In general, this method does not need to be overridden by subclasses. All Look and Feel rendering code should reside in the paint method. g - the Graphics object used for painting - `java.awt.Graphics` c - the component being painted - `javax.swing.JComponent`
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |