Liking cljdoc? Tell your friends :D

javax.swing.plaf.synth.SynthTextFieldUI

Provides the Synth L&F UI delegate for JTextField.

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.

Provides the Synth L&F UI delegate for JTextField.

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.
raw docstring

*create-uiclj

(*create-ui c)

Creates a UI for a JTextField.

c - the text field - javax.swing.JComponent

returns: the UI object - javax.swing.plaf.ComponentUI

Creates a UI for a JTextField.

c - the text field - `javax.swing.JComponent`

returns: the UI object - `javax.swing.plaf.ComponentUI`
raw docstring

->synth-text-field-uiclj

(->synth-text-field-ui)

Constructor.

Constructor.
raw docstring

get-contextclj

(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`
raw docstring

paint-borderclj

(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`
raw docstring

updateclj

(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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close