Basis of a look and feel for a 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.
Basis of a look and feel for a 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.
(*create-ui c)
Creates a UI for a JTextField.
c - the text field - javax.swing.JComponent
returns: the UI - javax.swing.plaf.ComponentUI
Creates a UI for a JTextField. c - the text field - `javax.swing.JComponent` returns: the UI - `javax.swing.plaf.ComponentUI`
(->basic-text-field-ui)
Constructor.
Creates a new BasicTextFieldUI.
Constructor. Creates a new BasicTextFieldUI.
(create this elem)
Creates a view (FieldView) based on an element.
elem - the element - javax.swing.text.Element
returns: the view - javax.swing.text.View
Creates a view (FieldView) based on an element. elem - the element - `javax.swing.text.Element` returns: the view - `javax.swing.text.View`
(get-baseline this c width height)
Returns the baseline.
c - JComponent baseline is being requested for - javax.swing.JComponent
width - the width to get the baseline for - int
height - the height to get the baseline for - int
returns: baseline or a value < 0 indicating there is no reasonable
baseline - int
throws: java.lang.NullPointerException - if c is null
Returns the baseline. c - JComponent baseline is being requested for - `javax.swing.JComponent` width - the width to get the baseline for - `int` height - the height to get the baseline for - `int` returns: baseline or a value < 0 indicating there is no reasonable baseline - `int` throws: java.lang.NullPointerException - if c is null
(get-baseline-resize-behavior this c)
Returns an enum indicating how the baseline of the component changes as the size changes.
c - JComponent to return baseline resize behavior for - javax.swing.JComponent
returns: an enum indicating how the baseline changes as the component
size changes - java.awt.Component$BaselineResizeBehavior
throws: java.lang.NullPointerException - if c is null
Returns an enum indicating how the baseline of the component changes as the size changes. c - JComponent to return baseline resize behavior for - `javax.swing.JComponent` returns: an enum indicating how the baseline changes as the component size changes - `java.awt.Component$BaselineResizeBehavior` throws: java.lang.NullPointerException - if c is null
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close