Generated by
JDiff

Class javax.swing.JTextField

Documentation changed from old to new.

Changed Constructors
JTextField(int) Documentation changed from old to new.
Constructs a new empty TextField with the specified number of columns.
JTextField(String) Documentation changed from old to new.
Constructs a new TextField initialized with the specified text.
JTextField(String, int) Documentation changed from old to new.
Constructs a new TextField initialized with the specified text and columns.
JTextField(Document, String, int) Documentation changed from old to new.
Constructs a new JTextField that uses the given text storage model and the given number of columns.
JTextField(void) Documentation changed from old to new.
Constructs a new TextField.
 

Added Methods
ActionListener[] getActionListeners() Returns an array of all the ActionListeners added to this JTextField with addActionListener().
 

Changed Methods
void addActionListener(ActionListener) Documentation changed from old to new.
Adds the specified action listener to receive action events from this textfield.
void configurePropertiesFromAction(Action) Documentation changed from old to new.
Factory method which sets the ActionEvent source's properties according to values from the Action instance.
PropertyChangeListener createActionPropertyChangeListener(Action) Documentation changed from old to new.
Factory method which creates the PropertyChangeListener used to update the ActionEvent source as properties change on its Action instance.
Document createDefaultModel() Documentation changed from old to new.
Creates the default implementation of the model to be used at construction if one isn't explicitly given.
void fireActionPerformed() Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JTextField.
Action getAction() Documentation changed from old to new.
Returns the currently set Action for this ActionEvent source or null if no Action is set.
int getColumnWidth() Documentation changed from old to new.
Returns the column width.
int getColumns() Documentation changed from old to new.
Returns the number of columns in this TextField.
int getHorizontalAlignment() Documentation changed from old to new.
Returns the horizontal alignment of the text.
BoundedRangeModel getHorizontalVisibility() Documentation changed from old to new.
Gets the visibility of the text field.
Dimension getPreferredSize() Documentation changed from old to new.
Returns the preferred size Dimensions needed for this TextField.
int getScrollOffset() Documentation changed from old to new.
Gets the scroll offset in pixels.
String getUIClassID() Documentation changed from old to new.
Gets the class ID for a UI.
boolean isValidateRoot() Documentation changed from old to new.
Calls to revalidate that come from within the textfield itself will be handled by validating the textfield unless the textfield is contained within a JViewport in which case this returns false.
String paramString() Documentation changed from old to new.
Returns a string representation of this JTextField.
void postActionEvent() Documentation changed from old to new.
Processes action events occurring on this textfield by dispatching them to any registered ActionListener objects.
void removeActionListener(ActionListener) Documentation changed from old to new.
Removes the specified action listener so that it no longer receives action events from this textfield.
void setAction(Action) Documentation changed from old to new.
Sets the Action for the ActionEvent source.
void setColumns(int) Documentation changed from old to new.
Sets the number of columns in this TextField and then invalidate the layout.
void setDocument(Document) Method was inherited from JTextComponent, but is now defined locally. Associates the editor with a text document.
void setFont(Font) Documentation changed from old to new.
Sets the current font.
void setHorizontalAlignment(int) Documentation changed from old to new.
Sets the horizontal alignment of the text.
void setScrollOffset(int) Documentation changed from old to new.
Sets the scroll offset in pixels.