Method Summary |
|
public void | addActionListener(ActionListener l) Adds an ActionListener to the TextField . |
public String | getActionCommand() Returns the action command which will be provided in
ActionEvent s fired by this TextField . |
public Alignment | getAlignment() Returns the alignment of the text component. |
public FillImage | getBackgroundImage() Returns the default background image of the text component. |
public Border | getBorder() Returns the border of the text component. |
public Color | getDisabledBackground() Returns the background color displayed when the text component is
disabled. |
public FillImage | getDisabledBackgroundImage() Returns the background image displayed when the text component is
disabled. |
public Border | getDisabledBorder() Returns the border displayed when the text component is
disabled. |
public Font | getDisabledFont() Returns the font displayed when the text component is
disabled. |
public Color | getDisabledForeground() Returns the foreground color displayed when the text component is
disabled. |
public Document | getDocument() Returns the model associated with this TextComponent . |
public Extent | getHeight() Returns the height of the text component. |
public Extent | getHorizontalScroll() Returns the horizontal scroll bar position. |
public Insets | getInsets() Returns the insets of the text component. |
public int | getMaximumLength() Returns the maximum length (in characters) of the text which may be
entered into the component. |
public String | getText() Returns the text contained in the Document model of
this text component. |
public String | getToolTipText() Returns the tool tip text (displayed when the mouse cursor is hovered
over the component). |
public Extent | getVerticalScroll() Returns the vertical scroll bar position. |
public Extent | getWidth() Returns the width of the text component. |
public boolean | hasActionListeners() Determines the any ActionListener s are registered. |
public boolean | isValidChild(Component component) This component does not support children. |
public void | processInput(String inputName, Object inputValue) |
public void | removeActionListener(ActionListener l) Removes an ActionListener from the TextField . |
public void | setActionCommand(String newValue) Sets the action command which will be provided in
ActionEvent s fired by this TextField . |
public void | setAlignment(Alignment newValue) Sets the alignment of the text component. |
public void | setBackgroundImage(FillImage newValue) Sets the default background image of the text component. |
public void | setBorder(Border newValue) Sets the border of the text component. |
public void | setDisabledBackground(Color newValue) Sets the background color displayed when the component is disabled. |
public void | setDisabledBackgroundImage(FillImage newValue) Sets the background image displayed when the component is disabled. |
public void | setDisabledBorder(Border newValue) Sets the border displayed when the component is disabled. |
public void | setDisabledFont(Font newValue) Sets the font displayed when the component is disabled. |
public void | setDisabledForeground(Color newValue) Sets the foreground color displayed when the component is disabled. |
public void | setDocument(Document newValue) Sets the model associated with this TextComponent . |
public void | setHeight(Extent newValue) Sets the height of the text component. |
public void | setHorizontalScroll(Extent newValue) Sets the horizontal scroll bar position. |
public void | setInsets(Insets newValue) Sets the insets of the text component. |
public void | setMaximumLength(int newValue) Sets the maximum length (in characters) of the text which may be
entered into the component. |
public void | setText(String newValue) Sets the text of document model of this text component. |
public void | setToolTipText(String newValue) Sets the tool tip text (displayed when the mouse cursor is hovered
over the component). |
public void | setVerticalScroll(Extent newValue) Sets the vertical scroll bar position. |
public void | setWidth(Extent newValue) Sets the width of the text component. |