Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Groovy
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<h3>Generated Object</h3> <p>A javax.swing.JTextField is returned, unless the user passes in a subclass of JTextField as the value argument, in which case the value argument is returned.</p> <h3>Value Argument</h3> <p>The value argument can be either a JTextField, or a String. If the value argument is a string it is treated as though it were passed in as the text attribute.</p> <h3>Attributes</h3> <p>See also: <a class="confluence-link" href="/display/GROOVY/SwingBuilder.JComponent" data-linked-resource-id="24576133" data-linked-resource-type="page" data-linked-resource-default-alias="SwingBuilder.JComponent" data-base-url="http://docs.codehaus.org">JComponent</a></p> <h4>Declared in JTextField</h4> <ul> <li>action <Action> the Action instance connected with this ActionEvent source</li> <li>columns <int> the number of columns preferred for display</li> <li>horizontalAlignment <int> Set the field alignment to LEFT, CENTER, RIGHT, LEADING (the default) or TRAILING</li> <li>scrollOffset <int> scrollOffset</li> </ul> <h4>Declared in javax.swing.text.JTextComponent</h4> <ul> <li>caret <javax.swing.text.Caret> the caret used to select/navigate</li> <li>caretColor <Color> the color used to render the caret</li> <li>caretPosition <int> the caret position</li> <li>disabledTextColor <Color> color used to render disabled text</li> <li>document <javax.swing.text.Document> the text document model</li> <li>editable <boolean> specifies if the text can be edited</li> <li>focusAccelerator <char> accelerator character used to grab focus</li> <li>highlighter <javax.swing.text.Highlighter> object responsible for background highlights</li> <li>margin <Insets> desired space between the border and text area</li> <li>selectedText <String> selectedText</li> <li>selectedTextColor <Color> color used to render selected text</li> <li>selectionColor <Color> color used to render selection background</li> <li>selectionEnd <int> ending location of the selection.</li> <li>selectionStart <int> starting location of the selection.</li> <li>text <String> the text of this component</li> </ul> <h3>Content</h3> <p>No child content is accepted in a textField.</p> <h3>Usage</h3> <p>The action connected to the textField is usually fired when the 'Enter' key is pressed by the user when the textField has keyboard focus.</p> <h3>Examples</h3> <p>//TODO</p> <h3>Observable Attributes</h3> <ul> <li>text - via syntetic observation</li> <li>caret</li> <li>caretColor</li> <li>disabledTextColor</li> <li>document</li> <li>dragEnabled</li> <li>editable</li> <li>focusAccelerator</li> <li>highlighter</li> <li>keymap</li> <li>margin</li> <li>selectedTextColor</li> <li>selectionColor</li> </ul>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced