A javax.swing.JFormattedTextField is returned, unless the user passes in a subclass of JFormattedTextField as the value argument, in which case the value argument is returned.
Attributes
Declared in javax.swing.JFormattedTextField
focusLostBehavior <int> Behavior when component loses focus
formatter <AbstractFormatter> TextFormatter, responsible for formatting the current value
formatterFactory <AbstractFormatterFactory> AbstractFormatterFactory, responsible for returning an AbstractFormatter that can format the current value.
value <Object> The value to be formatted.
editValid <boolean>
Declared in javax.swing.JTextField
action <Action> the Action instance connected with this ActionEvent source
columns <int> the number of columns preferred for display
horizontalAlignment <int> Set the field alignment to LEFT, CENTER, RIGHT, LEADING (the default) or TRAILING
horizontalVisibility <BoundedRangeModel>
scrollOffset <int>
Declared in javax.swing.text.JTextComponent
caret <Caret> the caret used to select/navigate
caretColor <Color> the color used to render the caret
caretPosition <int> the caret position
disabledTextColor <Color> color used to render disabled text
document <Document> the text document model
dragEnabled <boolean> determines whether automatic drag handling is enabled
editable <boolean> specifies if the text can be edited
focusAccelerator <char> accelerator character used to grab focus
highlighter <Highlighter> object responsible for background highlights
keymap <Keymap> set of key event to action bindings to use
margin <Insets> desired space between the border and text area
selectedTextColor <Color> color used to render selected text
selectionColor <Color> color used to render selection background
selectionEnd <int> ending location of the selection.
selectionStart <int> starting location of the selection.
text <String> the text of this component
UI <TextUI>
inputMethodRequests <InputMethodRequests>
navigationFilter <NavigationFilter>
preferredScrollableViewportSize <Dimension>
scrollableTracksViewportHeight <boolean>
scrollableTracksViewportWidth <boolean>
selectedText <String>
Declared in javax.swing.JComponent
autoscrolls <boolean> Determines if this component automatically scrolls its contents when dragged.
border <Border> The component's border.
componentPopupMenu <JPopupMenu> Popup to show
debugGraphicsOptions <int> Diagnostic options for graphics operations.
inheritsPopupMenu <boolean> Whether or not the JPopupMenu is inherited
inputVerifier <InputVerifier> The component's input verifier.
opaque <boolean> The component's opacity
toolTipText <String> The text to display in a tool tip.
transferHandler <TransferHandler> Mechanism for transfer of data to and from the component
verifyInputWhenFocusTarget <boolean> Whether the Component verifies input before accepting focus.
UIClassID <String>
accessibleContext <AccessibleContext>
actionMap <ActionMap>
doubleBuffered <boolean>
graphics <Graphics>
height <int>
managingFocus <boolean>
nextFocusableComponent <Component>
optimizedDrawingEnabled <boolean>
paintingTile <boolean>
registeredKeyStrokes <KeyStroke[]>
requestFocusEnabled <boolean>
rootPane <JRootPane>
topLevelAncestor <Container>
validateRoot <boolean>
visibleRect <Rectangle>
width <int>
x <int>
y <int>
Declared in java.awt.Container
alignmentX <float>
alignmentY <float>
componentCount <int>
components <Component[]>
focusCycleRoot <boolean>
focusTraversalPolicy <FocusTraversalPolicy>
focusTraversalPolicyProvider <boolean>
focusTraversalPolicySet <boolean>
insets <Insets>
layout <LayoutManager>
maximumSize <Dimension>
minimumSize <Dimension>
preferredSize <Dimension>
Declared in java.awt.Component
background <Color>
enabled <boolean>
focusable <boolean>
font <Font>
foreground <Color>
name <String>
visible <boolean>
Events
Declared in javax.swing.JTextField
actionPerformed (ActionEvent) - part of ActionListener
Declared in javax.swing.text.JTextComponent
caretUpdate (CaretEvent) - part of CaretListener
Declared in javax.swing.JComponent
vetoableChange (PropertyChangeEvent) - part of VetoableChangeListener
ancestorMoved (AncestorEvent) - part of AncestorListener
ancestorAdded (AncestorEvent) - part of AncestorListener
ancestorRemoved (AncestorEvent) - part of AncestorListener
Declared in java.awt.Container
componentAdded (ContainerEvent) - part of ContainerListener
componentRemoved (ContainerEvent) - part of ContainerListener
Declared in java.awt.Component
keyPressed (KeyEvent) - part of KeyListener
keyReleased (KeyEvent) - part of KeyListener
keyTyped (KeyEvent) - part of KeyListener
componentHidden (ComponentEvent) - part of ComponentListener
componentMoved (ComponentEvent) - part of ComponentListener
componentResized (ComponentEvent) - part of ComponentListener
componentShown (ComponentEvent) - part of ComponentListener
hierarchyChanged (HierarchyEvent) - part of HierarchyListener
mouseClicked (MouseEvent) - part of MouseListener
mouseEntered (MouseEvent) - part of MouseListener
mouseExited (MouseEvent) - part of MouseListener
mousePressed (MouseEvent) - part of MouseListener
mouseReleased (MouseEvent) - part of MouseListener
mouseDragged (MouseEvent) - part of MouseMotionListener
mouseMoved (MouseEvent) - part of MouseMotionListener
propertyChange (PropertyChangeEvent) - part of PropertyChangeListener
ancestorMoved (HierarchyEvent) - part of HierarchyBoundsListener
ancestorResized (HierarchyEvent) - part of HierarchyBoundsListener
focusGained (FocusEvent) - part of FocusListener
focusLost (FocusEvent) - part of FocusListener
mouseWheelMoved (MouseWheelEvent) - part of MouseWheelListener
caretPositionChanged (InputMethodEvent) - part of InputMethodListener
inputMethodTextChanged (InputMethodEvent) - part of InputMethodListener
Results of your search request can come from various sources: the Groovy website itself,
the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.
By
- pages
- views
- last modified
The Groovy programming language is supported by Pivotal and the Groovy Community