KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > JTextField

javax.swing
Class JTextField

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.text.JTextComponent
                  extended by javax.swing.JTextField
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants
Direct Known Subclasses:
DefaultTreeCellEditor.DefaultTextField, JFormattedTextField, JPasswordField
See Also:
Top Examples, Source Code, XMLEncoder, setActionCommand(java.lang.String), addActionListener(java.awt.event.ActionListener)

public void addActionListener(ActionListener l)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void configurePropertiesFromAction(Action a)
See Also:
setAction(javax.swing.Action)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected PropertyChangeListener createActionPropertyChangeListener(Action a)
See Also:
setAction(javax.swing.Action)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Document createDefaultModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireActionPerformed()
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
JTextComponent, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Action getAction()
See Also:
setAction(javax.swing.Action)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ActionListener[] getActionListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Action[] getActions()
See Also:
JTextComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getColumns()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getColumnWidth()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getHorizontalAlignment()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BoundedRangeModel getHorizontalVisibility()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredSize()
See Also:
ComponentUI, JComponent.setPreferredSize(java.awt.Dimension)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getScrollOffset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getUIClassID()
See Also:
UIDefaults.getUI(javax.swing.JComponent), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isValidateRoot()
See Also:
JComponent.revalidate()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JTextField()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JTextField(int columns)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JTextField(String text)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JTextField(String text,
                  int columns)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public JTextField(Document doc,
                  String text,
                  int columns)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String notifyAction
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String paramString()
See Also:
JTextComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void postActionEvent()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeActionListener(ActionListener l)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void scrollRectToVisible(Rectangle r)
See Also:
JViewport, JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setAction(Action a)
See Also:
createActionPropertyChangeListener(javax.swing.Action), configurePropertiesFromAction(javax.swing.Action), getAction()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setActionCommand(String command)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setColumns(int columns)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDocument(Document doc)
See Also:
JTextComponent.getDocument()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setFont(Font f)
See Also:
Component.getFont(), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setHorizontalAlignment(int alignment)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setScrollOffset(int scrollOffset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags