Java Doc for JTextField.java in  » 6.0-JDK-Core » swing » javax » swing » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » swing » javax.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            javax.swing.text.JTextComponent
               javax.swing.JTextField

All known Subclasses:   javax.swing.JPasswordField,  javax.swing.JFormattedTextField,
JTextField
public class JTextField extends JTextComponent implements SwingConstants(Code)
JTextField is a lightweight component that allows the editing of a single line of text. For information on and examples of using text fields, see How to Use Text Fields in The Java Tutorial.

JTextField is intended to be source-compatible with java.awt.TextField where it is reasonable to do so. This component has capabilities not found in the java.awt.TextField class. The superclass should be consulted for additional capabilities.

JTextField has a method to establish the string used as the command string for the action event that gets fired. The java.awt.TextField used the text of the field as the command string for the ActionEvent. JTextField will use the command string set with the setActionCommand method if not null, otherwise it will use the text of the field as a compatibility with java.awt.TextField.

The method setEchoChar and getEchoChar are not provided directly to avoid a new implementation of a pluggable look-and-feel inadvertently exposing password characters. To provide password-like services a separate class JPasswordField extends JTextField to provide this service with an independently pluggable look-and-feel.

The java.awt.TextField could be monitored for changes by adding a TextListener for TextEvent's. In the JTextComponent based components, changes are broadcasted from the model via a DocumentEvent to DocumentListeners. The DocumentEvent gives the location of the change and the kind of change if desired. The code fragment might look something like:


     DocumentListener myListener = ??;
     JTextField myArea = ??;
     myArea.getDocument().addDocumentListener(myListener);
 

The horizontal alignment of JTextField can be set to be left justified, leading justified, centered, right justified or trailing justified. Right/trailing justification is useful if the required size of the field text is smaller than the size allocated to it. This is determined by the setHorizontalAlignment and getHorizontalAlignment methods. The default is to be leading justified.

How the text field consumes VK_ENTER events depends on whether the text field has any action listeners. If so, then VK_ENTER results in the listeners getting an ActionEvent, and the VK_ENTER event is consumed. This is compatible with how AWT text fields handle VK_ENTER events. If the text field has no action listeners, then as of v 1.3 the VK_ENTER event is not consumed. Instead, the bindings of ancestor components are processed, which enables the default button feature of JFC/Swing to work.

Customized fields can easily be created by extending the model and changing the default model provided. For example, the following piece of code will create a field that holds only upper case characters. It will work even if text is pasted into from the clipboard or it is altered via programmatic changes.


  public class UpperCaseField extends JTextField {
  
      public UpperCaseField(int cols) {
          super(cols);
      }
  
      protected Document createDefaultModel() {
  	      return new UpperCaseDocument();
      }
  
      static class UpperCaseDocument extends PlainDocument {
  
          public void insertString(int offs, String str, AttributeSet a) 
  	          throws BadLocationException {
  
  	          if (str == null) {
  		      return;
  	          }
  	          char[] upper = str.toCharArray();
  	          for (int i = 0; i < upper.length; i++) {
  		      upper[i] = Character.toUpperCase(upper[i]);
  	          }
  	          super.insertString(offs, new String(upper), a);
  	      }
      }
  }
 

Warning: Swing is not thread safe. For more information see Swing's Threading Policy.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder .
author:
   Timothy Prinzing
version:
   1.101 05/05/07
See Also:   JTextField.setActionCommand
See Also:   JPasswordField
See Also:   JTextField.addActionListener


Inner Class :static class NotifyAction extends TextAction
Inner Class :class ScrollRepainter implements ChangeListener,Serializable
Inner Class :protected class AccessibleJTextField extends AccessibleJTextComponent

Field Summary
final public static  StringnotifyAction
     Name of the action to send notification that the contents of the field have been accepted.

Constructor Summary
public  JTextField()
     Constructs a new TextField.
public  JTextField(String text)
     Constructs a new TextField initialized with the specified text.
public  JTextField(int columns)
     Constructs a new empty TextField with the specified number of columns.
public  JTextField(String text, int columns)
     Constructs a new TextField initialized with the specified text and columns.
public  JTextField(Document doc, String text, int columns)
     Constructs a new JTextField that uses the given text storage model and the given number of columns.

Method Summary
protected  voidactionPropertyChanged(Action action, String propertyName)
     Updates the textfield's state in response to property changes in associated action.
public synchronized  voidaddActionListener(ActionListener l)
     Adds the specified action listener to receive action events from this textfield.
protected  voidconfigurePropertiesFromAction(Action a)
     Sets the properties on this textfield to match those in the specified Action.
protected  PropertyChangeListenercreateActionPropertyChangeListener(Action a)
     Creates and returns a PropertyChangeListener that is responsible for listening for changes from the specified Action and updating the appropriate properties.

Warning: If you subclass this do not create an anonymous inner class.

protected  DocumentcreateDefaultModel()
     Creates the default implementation of the model to be used at construction if one isn't explicitly given.
protected  voidfireActionPerformed()
     Notifies all listeners that have registered interest for notification on this event type.
public  AccessibleContextgetAccessibleContext()
     Gets the AccessibleContext associated with this JTextField.
public  ActiongetAction()
     Returns the currently set Action for this ActionEvent source, or null if no Action is set.
public synchronized  ActionListener[]getActionListeners()
     Returns an array of all the ActionListeners added to this JTextField with addActionListener().
public  Action[]getActions()
     Fetches the command list for the editor.
protected  intgetColumnWidth()
     Returns the column width. The meaning of what a column is can be considered a fairly weak notion for some fonts.
public  intgetColumns()
     Returns the number of columns in this TextField.
public  intgetHorizontalAlignment()
     Returns the horizontal alignment of the text.
public  BoundedRangeModelgetHorizontalVisibility()
     Gets the visibility of the text field.
public  DimensiongetPreferredSize()
     Returns the preferred size Dimensions needed for this TextField.
public  intgetScrollOffset()
     Gets the scroll offset, in pixels.
public  StringgetUIClassID()
     Gets the class ID for a UI.
 booleanhasActionListener()
     Returns true if the receiver has an ActionListener installed.
public  booleanisValidateRoot()
     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.
protected  StringparamString()
     Returns a string representation of this JTextField. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations.
public  voidpostActionEvent()
     Processes action events occurring on this textfield by dispatching them to any registered ActionListener objects.
public synchronized  voidremoveActionListener(ActionListener l)
     Removes the specified action listener so that it no longer receives action events from this textfield.
public  voidscrollRectToVisible(Rectangle r)
     Scrolls the field left or right.
public  voidsetAction(Action a)
     Sets the Action for the ActionEvent source. The new Action replaces any previously set Action but does not affect ActionListeners independently added with addActionListener. If the Action is already a registered ActionListener for the ActionEvent source, it is not re-registered.

Setting the Action results in immediately changing all the properties described in Swing Components Supporting Action. Subsequently, the textfield's properties are automatically updated as the Action's properties change.

This method uses three other methods to set and help track the Action's property values. It uses the configurePropertiesFromAction method to immediately change the textfield's properties. To track changes in the Action's property values, this method registers the PropertyChangeListener returned by createActionPropertyChangeListener.

public  voidsetActionCommand(String command)
     Sets the command string used for action events.
public  voidsetColumns(int columns)
     Sets the number of columns in this TextField, and then invalidate the layout.
public  voidsetDocument(Document doc)
     Associates the editor with a text document.
public  voidsetFont(Font f)
     Sets the current font.
public  voidsetHorizontalAlignment(int alignment)
     Sets the horizontal alignment of the text.
public  voidsetScrollOffset(int scrollOffset)
     Sets the scroll offset, in pixels.

Field Detail
notifyAction
final public static String notifyAction(Code)
Name of the action to send notification that the contents of the field have been accepted. Typically this is bound to a carriage-return.




Constructor Detail
JTextField
public JTextField()(Code)
Constructs a new TextField. A default model is created, the initial string is null, and the number of columns is set to 0.



JTextField
public JTextField(String text)(Code)
Constructs a new TextField initialized with the specified text. A default model is created and the number of columns is 0.
Parameters:
  text - the text to be displayed, or null



JTextField
public JTextField(int columns)(Code)
Constructs a new empty TextField with the specified number of columns. A default model is created and the initial string is set to null.
Parameters:
  columns - the number of columns to use to calculate the preferred width; if columns is set to zero, thepreferred width will be whatever naturally results fromthe component implementation



JTextField
public JTextField(String text, int columns)(Code)
Constructs a new TextField initialized with the specified text and columns. A default model is created.
Parameters:
  text - the text to be displayed, or null
Parameters:
  columns - the number of columns to use to calculate the preferred width; if columns is set to zero, thepreferred width will be whatever naturally results fromthe component implementation



JTextField
public JTextField(Document doc, String text, int columns)(Code)
Constructs a new JTextField that uses the given text storage model and the given number of columns. This is the constructor through which the other constructors feed. If the document is null, a default model is created.
Parameters:
  doc - the text storage to use; if this is null,a default will be provided by calling thecreateDefaultModel method
Parameters:
  text - the initial string to display, or null
Parameters:
  columns - the number of columns to use to calculate the preferred width >= 0; if columnsis set to zero, the preferred width will be whatevernaturally results from the component implementation
exception:
  IllegalArgumentException - if columns < 0




Method Detail
actionPropertyChanged
protected void actionPropertyChanged(Action action, String propertyName)(Code)
Updates the textfield's state in response to property changes in associated action. This method is invoked from the PropertyChangeListener returned from createActionPropertyChangeListener . Subclasses do not normally need to invoke this. Subclasses that support additional Action properties should override this and configurePropertiesFromAction .

Refer to the table at Swing Components Supporting Action for a list of the properties this method sets.
Parameters:
  action - the Action associated with this textfield
Parameters:
  propertyName - the name of the property that changed
since:
   1.6
See Also:   Action
See Also:   JTextField.configurePropertiesFromAction




addActionListener
public synchronized void addActionListener(ActionListener l)(Code)
Adds the specified action listener to receive action events from this textfield.
Parameters:
  l - the action listener to be added



configurePropertiesFromAction
protected void configurePropertiesFromAction(Action a)(Code)
Sets the properties on this textfield to match those in the specified Action. Refer to Swing Components Supporting Action for more details as to which properties this sets.
Parameters:
  a - the Action from which to get the properties,or null
since:
   1.3
See Also:   Action
See Also:   JTextField.setAction



createActionPropertyChangeListener
protected PropertyChangeListener createActionPropertyChangeListener(Action a)(Code)
Creates and returns a PropertyChangeListener that is responsible for listening for changes from the specified Action and updating the appropriate properties.

Warning: If you subclass this do not create an anonymous inner class. If you do the lifetime of the textfield will be tied to that of the Action.
Parameters:
  a - the textfield's action
since:
   1.3
See Also:   Action
See Also:   JTextField.setAction




createDefaultModel
protected Document createDefaultModel()(Code)
Creates the default implementation of the model to be used at construction if one isn't explicitly given. An instance of PlainDocument is returned. the default model implementation



fireActionPerformed
protected void fireActionPerformed()(Code)
Notifies all listeners that have registered interest for notification on this event type. The event instance is lazily created. The listener list is processed in last to first order.
See Also:   EventListenerList



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)
Gets the AccessibleContext associated with this JTextField. For JTextFields, the AccessibleContext takes the form of an AccessibleJTextField. A new AccessibleJTextField instance is created if necessary. an AccessibleJTextField that serves as the AccessibleContext of this JTextField



getAction
public Action getAction()(Code)
Returns the currently set Action for this ActionEvent source, or null if no Action is set. the Action for this ActionEvent source,or null
since:
   1.3
See Also:   Action
See Also:   JTextField.setAction



getActionListeners
public synchronized ActionListener[] getActionListeners()(Code)
Returns an array of all the ActionListeners added to this JTextField with addActionListener(). all of the ActionListeners added or an emptyarray if no listeners have been added
since:
   1.4



getActions
public Action[] getActions()(Code)
Fetches the command list for the editor. This is the list of commands supported by the plugged-in UI augmented by the collection of commands that the editor itself supports. These are useful for binding to events, such as in a keymap. the command list



getColumnWidth
protected int getColumnWidth()(Code)
Returns the column width. The meaning of what a column is can be considered a fairly weak notion for some fonts. This method is used to define the width of a column. By default this is defined to be the width of the character m for the font used. This method can be redefined to be some alternative amount the column width >= 1



getColumns
public int getColumns()(Code)
Returns the number of columns in this TextField. the number of columns >= 0



getHorizontalAlignment
public int getHorizontalAlignment()(Code)
Returns the horizontal alignment of the text. Valid keys are:
  • JTextField.LEFT
  • JTextField.CENTER
  • JTextField.RIGHT
  • JTextField.LEADING
  • JTextField.TRAILING
the horizontal alignment



getHorizontalVisibility
public BoundedRangeModel getHorizontalVisibility()(Code)
Gets the visibility of the text field. This can be adjusted to change the location of the visible area if the size of the field is greater than the area that was allocated to the field.

The fields look-and-feel implementation manages the values of the minimum, maximum, and extent properties on the BoundedRangeModel. the visibility
See Also:   BoundedRangeModel




getPreferredSize
public Dimension getPreferredSize()(Code)
Returns the preferred size Dimensions needed for this TextField. If a non-zero number of columns has been set, the width is set to the columns multiplied by the column width. the dimension of this textfield



getScrollOffset
public int getScrollOffset()(Code)
Gets the scroll offset, in pixels. the offset >= 0



getUIClassID
public String getUIClassID()(Code)
Gets the class ID for a UI. the string "TextFieldUI"
See Also:   JComponent.getUIClassID
See Also:   UIDefaults.getUI



hasActionListener
boolean hasActionListener()(Code)
Returns true if the receiver has an ActionListener installed.



isValidateRoot
public boolean isValidateRoot()(Code)
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. if the parent of this textfield is a JViewPortreturn false, otherwise return true
See Also:   JComponent.revalidate
See Also:   JComponent.isValidateRoot



paramString
protected String paramString()(Code)
Returns a string representation of this JTextField. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null. a string representation of this JTextField



postActionEvent
public void postActionEvent()(Code)
Processes action events occurring on this textfield by dispatching them to any registered ActionListener objects. This is normally called by the controller registered with textfield.



removeActionListener
public synchronized void removeActionListener(ActionListener l)(Code)
Removes the specified action listener so that it no longer receives action events from this textfield.
Parameters:
  l - the action listener to be removed



scrollRectToVisible
public void scrollRectToVisible(Rectangle r)(Code)
Scrolls the field left or right.
Parameters:
  r - the region to scroll



setAction
public void setAction(Action a)(Code)
Sets the Action for the ActionEvent source. The new Action replaces any previously set Action but does not affect ActionListeners independently added with addActionListener. If the Action is already a registered ActionListener for the ActionEvent source, it is not re-registered.

Setting the Action results in immediately changing all the properties described in Swing Components Supporting Action. Subsequently, the textfield's properties are automatically updated as the Action's properties change.

This method uses three other methods to set and help track the Action's property values. It uses the configurePropertiesFromAction method to immediately change the textfield's properties. To track changes in the Action's property values, this method registers the PropertyChangeListener returned by createActionPropertyChangeListener. The default PropertyChangeListener invokes the actionPropertyChanged method when a property in the Action changes.
Parameters:
  a - the Action for the JTextField,or null
since:
   1.3
See Also:   Action
See Also:   JTextField.getAction
See Also:   JTextField.configurePropertiesFromAction
See Also:   JTextField.createActionPropertyChangeListener
See Also:   JTextField.actionPropertyChanged
See Also:   




setActionCommand
public void setActionCommand(String command)(Code)
Sets the command string used for action events.
Parameters:
  command - the command string



setColumns
public void setColumns(int columns)(Code)
Sets the number of columns in this TextField, and then invalidate the layout.
Parameters:
  columns - the number of columns >= 0
exception:
  IllegalArgumentException - if columnsis less than 0



setDocument
public void setDocument(Document doc)(Code)
Associates the editor with a text document. The currently registered factory is used to build a view for the document, which gets displayed by the editor after revalidation. A PropertyChange event ("document") is propagated to each listener.
Parameters:
  doc - the document to display/edit
See Also:   JTextField.getDocument



setFont
public void setFont(Font f)(Code)
Sets the current font. This removes cached row height and column width so the new font will be reflected. revalidate is called after setting the font.
Parameters:
  f - the new font



setHorizontalAlignment
public void setHorizontalAlignment(int alignment)(Code)
Sets the horizontal alignment of the text. Valid keys are:
  • JTextField.LEFT
  • JTextField.CENTER
  • JTextField.RIGHT
  • JTextField.LEADING
  • JTextField.TRAILING
invalidate and repaint are called when the alignment is set, and a PropertyChange event ("horizontalAlignment") is fired.
Parameters:
  alignment - the alignment
exception:
  IllegalArgumentException - if alignmentis not a valid key



setScrollOffset
public void setScrollOffset(int scrollOffset)(Code)
Sets the scroll offset, in pixels.
Parameters:
  scrollOffset - the offset >= 0



Fields inherited from javax.swing.text.JTextComponent
final public static String DEFAULT_KEYMAP(Code)(Java Doc)
final public static String FOCUS_ACCELERATOR_KEY(Code)(Java Doc)

Methods inherited from javax.swing.text.JTextComponent
public void addCaretListener(CaretListener listener)(Code)(Java Doc)
public void addInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public static Keymap addKeymap(String nm, Keymap parent)(Code)(Java Doc)
public void copy()(Code)(Java Doc)
public void cut()(Code)(Java Doc)
protected void fireCaretUpdate(CaretEvent e)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Action[] getActions()(Code)(Java Doc)
public Caret getCaret()(Code)(Java Doc)
public Color getCaretColor()(Code)(Java Doc)
public CaretListener[] getCaretListeners()(Code)(Java Doc)
public int getCaretPosition()(Code)(Java Doc)
public Color getDisabledTextColor()(Code)(Java Doc)
public Document getDocument()(Code)(Java Doc)
public boolean getDragEnabled()(Code)(Java Doc)
final public DropLocation getDropLocation()(Code)(Java Doc)
final public DropMode getDropMode()(Code)(Java Doc)
public char getFocusAccelerator()(Code)(Java Doc)
public Highlighter getHighlighter()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public Keymap getKeymap()(Code)(Java Doc)
public static Keymap getKeymap(String nm)(Code)(Java Doc)
public Insets getMargin()(Code)(Java Doc)
public NavigationFilter getNavigationFilter()(Code)(Java Doc)
public Dimension getPreferredScrollableViewportSize()(Code)(Java Doc)
public Printable getPrintable(MessageFormat headerFormat, MessageFormat footerFormat)(Code)(Java Doc)
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc)
public boolean getScrollableTracksViewportHeight()(Code)(Java Doc)
public boolean getScrollableTracksViewportWidth()(Code)(Java Doc)
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc)
public String getSelectedText()(Code)(Java Doc)
public Color getSelectedTextColor()(Code)(Java Doc)
public Color getSelectionColor()(Code)(Java Doc)
public int getSelectionEnd()(Code)(Java Doc)
public int getSelectionStart()(Code)(Java Doc)
public String getText(int offs, int len) throws BadLocationException(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public TextUI getUI()(Code)(Java Doc)
public boolean isEditable()(Code)(Java Doc)
public static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions)(Code)(Java Doc)
public Rectangle modelToView(int pos) throws BadLocationException(Code)(Java Doc)
public void moveCaretPosition(int pos)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void paste()(Code)(Java Doc)
public boolean print() throws PrinterException(Code)(Java Doc)
public boolean print(MessageFormat headerFormat, MessageFormat footerFormat) throws PrinterException(Code)(Java Doc)
public boolean print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive) throws PrinterException(Code)(Java Doc)
protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
public void read(Reader in, Object desc) throws IOException(Code)(Java Doc)
public void removeCaretListener(CaretListener listener)(Code)(Java Doc)
public static Keymap removeKeymap(String nm)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void replaceSelection(String content)(Code)(Java Doc)
public void select(int selectionStart, int selectionEnd)(Code)(Java Doc)
public void selectAll()(Code)(Java Doc)
public void setCaret(Caret c)(Code)(Java Doc)
public void setCaretColor(Color c)(Code)(Java Doc)
public void setCaretPosition(int position)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public void setDisabledTextColor(Color c)(Code)(Java Doc)
public void setDocument(Document doc)(Code)(Java Doc)
public void setDragEnabled(boolean b)(Code)(Java Doc)
final public void setDropMode(DropMode dropMode)(Code)(Java Doc)
public void setEditable(boolean b)(Code)(Java Doc)
public void setFocusAccelerator(char aKey)(Code)(Java Doc)
public void setHighlighter(Highlighter h)(Code)(Java Doc)
public void setKeymap(Keymap map)(Code)(Java Doc)
public void setMargin(Insets m)(Code)(Java Doc)
public void setNavigationFilter(NavigationFilter filter)(Code)(Java Doc)
public void setSelectedTextColor(Color c)(Code)(Java Doc)
public void setSelectionColor(Color c)(Code)(Java Doc)
public void setSelectionEnd(int selectionEnd)(Code)(Java Doc)
public void setSelectionStart(int selectionStart)(Code)(Java Doc)
public void setText(String t)(Code)(Java Doc)
public void setUI(TextUI ui)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)
public int viewToModel(Point pt)(Code)(Java Doc)
public void write(Writer out) throws IOException(Code)(Java Doc)

Fields inherited from javax.swing.JComponent
static boolean DEBUG_GRAPHICS_LOADED(Code)(Java Doc)
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
final static sun.awt.RequestFocusController focusController(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
transient Component paintingChild(Code)(Java Doc)
protected transient ComponentUI ui(Code)(Java Doc)

Methods inherited from javax.swing.JComponent
void _paintImmediately(int x, int y, int w, int h)(Code)(Java Doc)
public void addAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
boolean alwaysOnTop()(Code)(Java Doc)
boolean checkIfChildObscuredBySibling()(Code)(Java Doc)
void clientPropertyChanged(Object key, Object oldValue, Object newValue)(Code)(Java Doc)
void compWriteObjectNotify()(Code)(Java Doc)
void componentInputMapChanged(ComponentInputMap inputMap)(Code)(Java Doc)
final static void computeVisibleRect(Component c, Rectangle visibleRect)(Code)(Java Doc)
public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public void disable()(Code)(Java Doc)
void dndDone()(Code)(Java Doc)
TransferHandler.DropLocation dropLocationForPoint(Point p)(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
final public ActionMap getActionMap()(Code)(Java Doc)
final ActionMap getActionMap(boolean create)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public AncestorListener[] getAncestorListeners()(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc)
public JPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
boolean getCreatedDoubleBuffer()(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public static Locale getDefaultLocale()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
static void getGraphicsInvoked(Component root)(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public boolean getInheritsPopupMenu()(Code)(Java Doc)
final public InputMap getInputMap(int condition)(Code)(Java Doc)
final public InputMap getInputMap()(Code)(Java Doc)
final InputMap getInputMap(int condition, boolean create)(Code)(Java Doc)
public InputVerifier getInputVerifier()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
static Set<KeyStroke> getManagingFocusBackwardTraversalKeys()(Code)(Java Doc)
static Set<KeyStroke> getManagingFocusForwardTraversalKeys()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public Point getPopupLocation(MouseEvent event)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc)
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
static byte getWriteObjCounter(JComponent comp)(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public static boolean isLightweightComponent(Component c)(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
boolean isPainting()(Code)(Java Doc)
final public boolean isPaintingForPrint()(Code)(Java Doc)
boolean isPaintingOrigin()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
protected void paintBorder(Graphics g)(Code)(Java Doc)
protected void paintChildren(Graphics g)(Code)(Java Doc)
protected void paintComponent(Graphics g)(Code)(Java Doc)
void paintForceDoubleBuffered(Graphics g)(Code)(Java Doc)
public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc)
public void paintImmediately(Rectangle r)(Code)(Java Doc)
void paintToOffscreen(Graphics g, int x, int y, int w, int h, int maxX, int maxY)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
protected void printChildren(Graphics g)(Code)(Java Doc)
protected void printComponent(Graphics g)(Code)(Java Doc)
protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc)
protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc)
boolean processKeyBindings(KeyEvent e, boolean pressed)(Code)(Java Doc)
static boolean processKeyBindingsForAllComponents(KeyEvent e, Container container, boolean pressed)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
boolean rectangleIsObscured(int x, int y, int width, int height)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(Rectangle r)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void reshape(int x, int y, int w, int h)(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
static Graphics safelyGetGraphics(Component c)(Code)(Java Doc)
static Graphics safelyGetGraphics(Component c, Component root)(Code)(Java Doc)
public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc)
final public void setActionMap(ActionMap am)(Code)(Java Doc)
public void setAlignmentX(float alignmentX)(Code)(Java Doc)
public void setAlignmentY(float alignmentY)(Code)(Java Doc)
public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc)
public void setBackground(Color bg)(Code)(Java Doc)
public void setBorder(Border border)(Code)(Java Doc)
public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc)
void setCreatedDoubleBuffer(boolean newValue)(Code)(Java Doc)
public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc)
public static void setDefaultLocale(Locale l)(Code)(Java Doc)
public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc)
Object setDropLocation(TransferHandler.DropLocation location, Object state, boolean forDrop)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setForeground(Color fg)(Code)(Java Doc)
public void setInheritsPopupMenu(boolean value)(Code)(Java Doc)
final public void setInputMap(int condition, InputMap map)(Code)(Java Doc)
public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc)
public void setOpaque(boolean isOpaque)(Code)(Java Doc)
void setPaintingChild(Component paintingChild)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc)
public void setToolTipText(String text)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
protected void setUI(ComponentUI newUI)(Code)(Java Doc)
void setUIProperty(String propertyName, Object value)(Code)(Java Doc)
public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc)
public void setVisible(boolean aFlag)(Code)(Java Doc)
static void setWriteObjCounter(JComponent comp, byte count)(Code)(Java Doc)
int shouldDebugGraphics()(Code)(Java Doc)
void superProcessMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public Component findComponentAt(int x, int y)(Code)(Java Doc)
public Component findComponentAt(Point p)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentZOrder(Component comp)(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc)
public boolean isFocusTraversalPolicySet()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setComponentZOrder(Component comp, int index)(Code)(Java Doc)
public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc)
final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void transferFocusDownCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(Code)(Java Doc)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(Code)(Java Doc)

Methods inherited from java.awt.Component
public boolean action(Event evt, Object what)(Code)(Java Doc)
public void add(PopupMenu popup)(Code)(Java Doc)
public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc)
public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public Rectangle bounds()(Code)(Java Doc)
public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc)
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Point p)(Code)(Java Doc)
public Image createImage(ImageProducer producer)(Code)(Java Doc)
public Image createImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final protected void disableEvents(long eventsToDisable)(Code)(Java Doc)
final public void dispatchEvent(AWTEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enable(boolean b)(Code)(Java Doc)
final protected void enableEvents(long eventsToEnable)(Code)(Java Doc)
public void enableInputMethods(boolean enable)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc)
public ComponentOrientation getComponentOrientation()(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public synchronized DropTarget getDropTarget()(Code)(Java Doc)
public Container getFocusCycleRootAncestor()(Code)(Java Doc)
public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc)
public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc)
public boolean getIgnoreRepaint()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc)
public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc)
public Point getMousePosition() throws HeadlessException(Code)(Java Doc)
public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public ComponentPeer getPeer()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final public Object getTreeLock()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public boolean gotFocus(Event evt, Object what)(Code)(Java Doc)
public boolean handleEvent(Event evt)(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
public boolean inside(int x, int y)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isBackgroundSet()(Code)(Java Doc)
public boolean isCursorSet()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusOwner()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
public boolean isFontSet()(Code)(Java Doc)
public boolean isForegroundSet()(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isMaximumSizeSet()(Code)(Java Doc)
public boolean isMinimumSizeSet()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isPreferredSizeSet()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public boolean keyDown(Event evt, int key)(Code)(Java Doc)
public boolean keyUp(Event evt, int key)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Point location()(Code)(Java Doc)
public boolean lostFocus(Event evt, Object what)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public void nextFocus()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintAll(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc)
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
public void remove(MenuComponent popup)(Code)(Java Doc)
public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc)
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(long tm)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
protected boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc)
public void setFocusable(boolean focusable)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc)
public void setLocale(Locale l)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void show(boolean b)(Code)(Java Doc)
public Dimension size()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void transferFocusBackward()(Code)(Java Doc)
public void transferFocusUpCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.