SynthUI is used to fetch the SynthContext for a particular Component.
SynthUI is used to fetch the SynthContext for a particular Component.
(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-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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close