Java Doc for AbstractButton.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.AbstractButton

All known Subclasses:   javax.swing.JMenuItem,  javax.swing.JToggleButton,  javax.swing.JButton,
AbstractButton
abstract public class AbstractButton extends JComponent implements ItemSelectable,SwingConstants(Code)
Defines common behaviors for buttons and menu items.

Buttons can be configured, and to some degree controlled, by Actions. Using an Action with a button has many benefits beyond directly configuring a button. Refer to Swing Components Supporting Action for more details, and you can find more information in How to Use Actions, a section in The Java Tutorial.

For further information see How to Use Buttons, Check Boxes, and Radio Buttons, a section in The Java Tutorial.

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 .
version:
   1.196 05/05/07
author:
   Jeff Dinkins


Inner Class :protected class ButtonChangeListener implements ChangeListener,Serializable
Inner Class :class Handler implements ActionListener,ChangeListener,ItemListener,Serializable
Inner Class :abstract protected class AccessibleAbstractButton extends AccessibleJComponent implements AccessibleAction,AccessibleValue,AccessibleText,AccessibleExtendedComponent

Field Summary
final public static  StringBORDER_PAINTED_CHANGED_PROPERTY
     Identifies a change to having the border drawn, or having it not drawn.
final public static  StringCONTENT_AREA_FILLED_CHANGED_PROPERTY
     Identifies a change to having the button paint the content area.
final public static  StringDISABLED_ICON_CHANGED_PROPERTY
     Identifies a change to the icon used when the button has been disabled.
final public static  StringDISABLED_SELECTED_ICON_CHANGED_PROPERTY
     Identifies a change to the icon used when the button has been disabled and selected.
final public static  StringFOCUS_PAINTED_CHANGED_PROPERTY
     Identifies a change to having the border highlighted when focused, or not.
final public static  StringHORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
     Identifies a change in the button's horizontal alignment.
final public static  StringHORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY
     Identifies a change in the button's horizontal text position.
final public static  StringICON_CHANGED_PROPERTY
     Identifies a change to the icon that represents the button.
final public static  StringMARGIN_CHANGED_PROPERTY
     Identifies a change in the button's margins.
final public static  StringMNEMONIC_CHANGED_PROPERTY
     Identifies a change to the button's mnemonic.
final public static  StringMODEL_CHANGED_PROPERTY
     Identifies a change in the button model.
final public static  StringPRESSED_ICON_CHANGED_PROPERTY
     Identifies a change to the icon used when the button has been pressed.
final public static  StringROLLOVER_ENABLED_CHANGED_PROPERTY
     Identifies a change from rollover enabled to disabled or back to enabled.
final public static  StringROLLOVER_ICON_CHANGED_PROPERTY
     Identifies a change to the icon used when the cursor is over the button.
final public static  StringROLLOVER_SELECTED_ICON_CHANGED_PROPERTY
     Identifies a change to the icon used when the cursor is over the button and it has been selected.
final public static  StringSELECTED_ICON_CHANGED_PROPERTY
     Identifies a change to the icon used when the button has been selected.
final public static  StringTEXT_CHANGED_PROPERTY
     Identifies a change in the button's text.
final public static  StringVERTICAL_ALIGNMENT_CHANGED_PROPERTY
     Identifies a change in the button's vertical alignment.
final public static  StringVERTICAL_TEXT_POSITION_CHANGED_PROPERTY
     Identifies a change in the button's vertical text position.
protected  ActionListeneractionListener
     The button model's ActionListener.
protected transient  ChangeEventchangeEvent
     Only one ChangeEvent is needed per button instance since the event's only state is the source property.
protected  ChangeListenerchangeListener
     The button model's changeListener.
 booleandefaultCapable
    
protected  ItemListeneritemListener
     The button model's ItemListener.
protected  ButtonModelmodel
     The data model that determines the button's state.


Method Summary
protected  voidactionPropertyChanged(Action action, String propertyName)
     Updates the button's state in response to property changes in the associated action.
public  voidaddActionListener(ActionListener l)
     Adds an ActionListener to the button.
public  voidaddChangeListener(ChangeListener l)
     Adds a ChangeListener to the button.
protected  voidaddImpl(Component comp, Object constraints, int index)
     Adds the specified component to this container at the specified index, refer to java.awt.Container.addImpl(ComponentObjectint) for a complete description of this method.
public  voidaddItemListener(ItemListener l)
     Adds an ItemListener to the checkbox.
protected  intcheckHorizontalKey(int key, String exception)
     Verify that the key argument is a legal value for the horizontalAlignment and horizontalTextPosition properties.
protected  intcheckVerticalKey(int key, String exception)
     Verify that the key argument is a legal value for the vertical properties.
 voidclientPropertyChanged(Object key, Object oldValue, Object newValue)
    
protected  voidconfigurePropertiesFromAction(Action a)
     Sets the properties on this button to match those in the specified Action.
protected  ActionListenercreateActionListener()
    
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.

 PropertyChangeListenercreateActionPropertyChangeListener0(Action a)
    
protected  ChangeListenercreateChangeListener()
     Subclasses that want to handle ChangeEvents differently can override this to return another ChangeListener implementation.
protected  ItemListenercreateItemListener()
    
public  voiddoClick()
     Programmatically perform a "click".
public  voiddoClick(int pressTime)
     Programmatically perform a "click".
protected  voidfireActionPerformed(ActionEvent event)
     Notifies all listeners that have registered interest for notification on this event type.
protected  voidfireItemStateChanged(ItemEvent event)
     Notifies all listeners that have registered interest for notification on this event type.
protected  voidfireStateChanged()
     Notifies all listeners that have registered interest for notification on this event type.
public  ActiongetAction()
     Returns the currently set Action for this ActionEvent source, or null if no Action is set.
public  StringgetActionCommand()
     Returns the action command for this button.
public  ActionListener[]getActionListeners()
     Returns an array of all the ActionListeners added to this AbstractButton with addActionListener().
public  ChangeListener[]getChangeListeners()
     Returns an array of all the ChangeListeners added to this AbstractButton with addChangeListener().
public  IcongetDisabledIcon()
     Returns the icon used by the button when it's disabled.
public  IcongetDisabledSelectedIcon()
     Returns the icon used by the button when it's disabled and selected.
public  intgetDisplayedMnemonicIndex()
     Returns the character, as an index, that the look and feel should provide decoration for as representing the mnemonic character.
public  booleangetHideActionText()
     Returns the value of the hideActionText property, which determines whether the button displays text from the Action.
public  intgetHorizontalAlignment()
     Returns the horizontal alignment of the icon and text.
public  intgetHorizontalTextPosition()
     Returns the horizontal position of the text relative to the icon.
public  IcongetIcon()
     Returns the default icon.
public  intgetIconTextGap()
     Returns the amount of space between the text and the icon displayed in this button.
public  ItemListener[]getItemListeners()
     Returns an array of all the ItemListeners added to this AbstractButton with addItemListener().
public  StringgetLabel()
     Returns the label text.
public  InsetsgetMargin()
     Returns the margin between the button's border and the label.
public  intgetMnemonic()
     Returns the keyboard mnemonic from the the current model.
public  ButtonModelgetModel()
     Returns the model that this button represents.
public  longgetMultiClickThreshhold()
     Gets the amount of time (in milliseconds) required between mouse press events for the button to generate the corresponding action events.
public  IcongetPressedIcon()
     Returns the pressed icon for the button.
public  IcongetRolloverIcon()
     Returns the rollover icon for the button.
public  IcongetRolloverSelectedIcon()
     Returns the rollover selection icon for the button.
public  IcongetSelectedIcon()
     Returns the selected icon for the button.
public  Object[]getSelectedObjects()
     Returns an array (length 1) containing the label or null if the button is not selected.
public  StringgetText()
     Returns the button's text.
public  ButtonUIgetUI()
     Returns the L&F object that renders this component.
public  intgetVerticalAlignment()
     Returns the vertical alignment of the text and icon.
public  intgetVerticalTextPosition()
     Returns the vertical position of the text relative to the icon.
public  booleanimageUpdate(Image img, int infoflags, int x, int y, int w, int h)
     This is overridden to return false if the current Icon's Image is not equal to the passed in Image img.
protected  voidinit(String text, Icon icon)
    
public  booleanisBorderPainted()
     Gets the borderPainted property.
public  booleanisContentAreaFilled()
     Gets the contentAreaFilled property.
public  booleanisFocusPainted()
     Gets the paintFocus property.
public  booleanisRolloverEnabled()
     Gets the rolloverEnabled property.
public  booleanisSelected()
     Returns the state of the button.
 voidlargeIconChanged(Action a)
    
protected  voidpaintBorder(Graphics g)
     Paint the button's border if BorderPainted property is true and the button has a border.
protected  StringparamString()
     Returns a string representation of this AbstractButton. 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  voidremoveActionListener(ActionListener l)
     Removes an ActionListener from the button.
public  voidremoveChangeListener(ChangeListener l)
     Removes a ChangeListener from the button.
public  voidremoveItemListener(ItemListener l)
     Removes an ItemListener from the button.
public  voidremoveNotify()
    
public  voidsetAction(Action a)
     Sets the Action. 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 button, it is not re-registered.

Setting the Action results in immediately changing all the properties described in Swing Components Supporting Action. Subsequently, the button'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 button's properties. To track changes in the Action's property values, this method registers the PropertyChangeListener returned by createActionPropertyChangeListener.

public  voidsetActionCommand(String actionCommand)
     Sets the action command for this button.
public  voidsetBorderPainted(boolean b)
     Sets the borderPainted property. If true and the button has a border, the border is painted.
public  voidsetContentAreaFilled(boolean b)
     Sets the contentAreaFilled property. If true the button will paint the content area.
public  voidsetDisabledIcon(Icon disabledIcon)
     Sets the disabled icon for the button.
public  voidsetDisabledSelectedIcon(Icon disabledSelectedIcon)
     Sets the disabled selection icon for the button.
public  voidsetDisplayedMnemonicIndex(int index)
     Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.
public  voidsetEnabled(boolean b)
     Enables (or disables) the button.
public  voidsetFocusPainted(boolean b)
     Sets the paintFocus property, which must be true for the focus state to be painted.
public  voidsetHideActionText(boolean hideActionText)
     Sets the hideActionText property, which determines whether the button displays text from the Action.
public  voidsetHorizontalAlignment(int alignment)
     Sets the horizontal alignment of the icon and text.
public  voidsetHorizontalTextPosition(int textPosition)
     Sets the horizontal position of the text relative to the icon.
public  voidsetIcon(Icon defaultIcon)
     Sets the button's default icon.
 voidsetIconFromAction(Action a)
    
public  voidsetIconTextGap(int iconTextGap)
     If both the icon and text properties are set, this property defines the space between them.
public  voidsetLabel(String label)
     Sets the label text.
public  voidsetLayout(LayoutManager mgr)
     Sets the layout manager for this container, refer to java.awt.Container.setLayout(LayoutManager) for a complete description of this method.
public  voidsetMargin(Insets m)
     Sets space for margin between the button's border and the label.
public  voidsetMnemonic(int mnemonic)
     Sets the keyboard mnemonic on the current model. The mnemonic is the key which when combined with the look and feel's mouseless modifier (usually Alt) will activate this button if focus is contained somewhere within this button's ancestor window.
public  voidsetMnemonic(char mnemonic)
     This method is now obsolete, please use setMnemonic(int) to set the mnemonic for a button.
public  voidsetModel(ButtonModel newModel)
     Sets the model that this button represents.
public  voidsetMultiClickThreshhold(long threshhold)
     Sets the amount of time (in milliseconds) required between mouse press events for the button to generate the corresponding action events.
public  voidsetPressedIcon(Icon pressedIcon)
     Sets the pressed icon for the button.
public  voidsetRolloverEnabled(boolean b)
     Sets the rolloverEnabled property, which must be true for rollover effects to occur.
public  voidsetRolloverIcon(Icon rolloverIcon)
     Sets the rollover icon for the button.
public  voidsetRolloverSelectedIcon(Icon rolloverSelectedIcon)
     Sets the rollover selected icon for the button.
public  voidsetSelected(boolean b)
     Sets the state of the button.
public  voidsetSelectedIcon(Icon selectedIcon)
     Sets the selected icon for the button.
public  voidsetText(String text)
     Sets the button's text.
public  voidsetUI(ButtonUI ui)
     Sets the L&F object that renders this component.
 voidsetUIProperty(String propertyName, Object value)
    
public  voidsetVerticalAlignment(int alignment)
     Sets the vertical alignment of the icon and text.
public  voidsetVerticalTextPosition(int textPosition)
     Sets the vertical position of the text relative to the icon.
 booleanshouldUpdateSelectedStateFromAction()
     Button subclasses that support mirroring the selected state from the action should override this to return true.
 voidsmallIconChanged(Action a)
    
public  voidupdateUI()
     Resets the UI property to a value from the current look and feel.

Field Detail
BORDER_PAINTED_CHANGED_PROPERTY
final public static String BORDER_PAINTED_CHANGED_PROPERTY(Code)
Identifies a change to having the border drawn, or having it not drawn.



CONTENT_AREA_FILLED_CHANGED_PROPERTY
final public static String CONTENT_AREA_FILLED_CHANGED_PROPERTY(Code)
Identifies a change to having the button paint the content area.



DISABLED_ICON_CHANGED_PROPERTY
final public static String DISABLED_ICON_CHANGED_PROPERTY(Code)
Identifies a change to the icon used when the button has been disabled.



DISABLED_SELECTED_ICON_CHANGED_PROPERTY
final public static String DISABLED_SELECTED_ICON_CHANGED_PROPERTY(Code)
Identifies a change to the icon used when the button has been disabled and selected.



FOCUS_PAINTED_CHANGED_PROPERTY
final public static String FOCUS_PAINTED_CHANGED_PROPERTY(Code)
Identifies a change to having the border highlighted when focused, or not.



HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
final public static String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY(Code)
Identifies a change in the button's horizontal alignment.



HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY
final public static String HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY(Code)
Identifies a change in the button's horizontal text position.



ICON_CHANGED_PROPERTY
final public static String ICON_CHANGED_PROPERTY(Code)
Identifies a change to the icon that represents the button.



MARGIN_CHANGED_PROPERTY
final public static String MARGIN_CHANGED_PROPERTY(Code)
Identifies a change in the button's margins.



MNEMONIC_CHANGED_PROPERTY
final public static String MNEMONIC_CHANGED_PROPERTY(Code)
Identifies a change to the button's mnemonic.



MODEL_CHANGED_PROPERTY
final public static String MODEL_CHANGED_PROPERTY(Code)
Identifies a change in the button model.



PRESSED_ICON_CHANGED_PROPERTY
final public static String PRESSED_ICON_CHANGED_PROPERTY(Code)
Identifies a change to the icon used when the button has been pressed.



ROLLOVER_ENABLED_CHANGED_PROPERTY
final public static String ROLLOVER_ENABLED_CHANGED_PROPERTY(Code)
Identifies a change from rollover enabled to disabled or back to enabled.



ROLLOVER_ICON_CHANGED_PROPERTY
final public static String ROLLOVER_ICON_CHANGED_PROPERTY(Code)
Identifies a change to the icon used when the cursor is over the button.



ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY
final public static String ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY(Code)
Identifies a change to the icon used when the cursor is over the button and it has been selected.



SELECTED_ICON_CHANGED_PROPERTY
final public static String SELECTED_ICON_CHANGED_PROPERTY(Code)
Identifies a change to the icon used when the button has been selected.



TEXT_CHANGED_PROPERTY
final public static String TEXT_CHANGED_PROPERTY(Code)
Identifies a change in the button's text.



VERTICAL_ALIGNMENT_CHANGED_PROPERTY
final public static String VERTICAL_ALIGNMENT_CHANGED_PROPERTY(Code)
Identifies a change in the button's vertical alignment.



VERTICAL_TEXT_POSITION_CHANGED_PROPERTY
final public static String VERTICAL_TEXT_POSITION_CHANGED_PROPERTY(Code)
Identifies a change in the button's vertical text position.



actionListener
protected ActionListener actionListener(Code)
The button model's ActionListener.



changeEvent
protected transient ChangeEvent changeEvent(Code)
Only one ChangeEvent is needed per button instance since the event's only state is the source property. The source of events generated is always "this".



changeListener
protected ChangeListener changeListener(Code)
The button model's changeListener.



defaultCapable
boolean defaultCapable(Code)



itemListener
protected ItemListener itemListener(Code)
The button model's ItemListener.



model
protected ButtonModel model(Code)
The data model that determines the button's state.





Method Detail
actionPropertyChanged
protected void actionPropertyChanged(Action action, String propertyName)(Code)
Updates the button's state in response to property changes in the 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 button
Parameters:
  propertyName - the name of the property that changed
since:
   1.6
See Also:   Action
See Also:   AbstractButton.configurePropertiesFromAction




addActionListener
public void addActionListener(ActionListener l)(Code)
Adds an ActionListener to the button.
Parameters:
  l - the ActionListener to be added



addChangeListener
public void addChangeListener(ChangeListener l)(Code)
Adds a ChangeListener to the button.
Parameters:
  l - the listener to be added



addImpl
protected void addImpl(Component comp, Object constraints, int index)(Code)
Adds the specified component to this container at the specified index, refer to java.awt.Container.addImpl(ComponentObjectint) for a complete description of this method.
Parameters:
  comp - the component to be added
Parameters:
  constraints - an object expressing layout constraints for this component
Parameters:
  index - the position in the container's list at which toinsert the component, where -1 means append to the end
exception:
  IllegalArgumentException - if index is invalid
exception:
  IllegalArgumentException - if adding the container's parentto itself
exception:
  IllegalArgumentException - if adding a window to a container
since:
   1.5



addItemListener
public void addItemListener(ItemListener l)(Code)
Adds an ItemListener to the checkbox.
Parameters:
  l - the ItemListener to be added



checkHorizontalKey
protected int checkHorizontalKey(int key, String exception)(Code)
Verify that the key argument is a legal value for the horizontalAlignment and horizontalTextPosition properties. Valid values are:
  • SwingConstants.RIGHT
  • SwingConstants.LEFT
  • SwingConstants.CENTER
  • SwingConstants.LEADING
  • SwingConstants.TRAILING

Parameters:
  key - the property value to check
Parameters:
  exception - the message to use in the IllegalArgumentException that is thrown for an invalidvalue
exception:
  IllegalArgumentException - if key is not one of the legalvalues listed above
See Also:   AbstractButton.setHorizontalTextPosition
See Also:   AbstractButton.setHorizontalAlignment



checkVerticalKey
protected int checkVerticalKey(int key, String exception)(Code)
Verify that the key argument is a legal value for the vertical properties. Valid values are:
  • SwingConstants.CENTER
  • SwingConstants.TOP
  • SwingConstants.BOTTOM

Parameters:
  key - the property value to check
Parameters:
  exception - the message to use in the IllegalArgumentException that is thrown for an invalidvalue
exception:
  IllegalArgumentException - if key is not one of the legalvalues listed above



clientPropertyChanged
void clientPropertyChanged(Object key, Object oldValue, Object newValue)(Code)



configurePropertiesFromAction
protected void configurePropertiesFromAction(Action a)(Code)
Sets the properties on this button 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:   AbstractButton.setAction



createActionListener
protected ActionListener createActionListener()(Code)



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 button will be tied to that of the Action.
Parameters:
  a - the button's action
since:
   1.3
See Also:    Actions
See Also:   Action
See Also:   AbstractButton.setAction




createActionPropertyChangeListener0
PropertyChangeListener createActionPropertyChangeListener0(Action a)(Code)



createChangeListener
protected ChangeListener createChangeListener()(Code)
Subclasses that want to handle ChangeEvents differently can override this to return another ChangeListener implementation. the new ChangeListener



createItemListener
protected ItemListener createItemListener()(Code)



doClick
public void doClick()(Code)
Programmatically perform a "click". This does the same thing as if the user had pressed and released the button.



doClick
public void doClick(int pressTime)(Code)
Programmatically perform a "click". This does the same thing as if the user had pressed and released the button. The button stays visually "pressed" for pressTime milliseconds.
Parameters:
  pressTime - the time to "hold down" the button, in milliseconds



fireActionPerformed
protected void fireActionPerformed(ActionEvent event)(Code)
Notifies all listeners that have registered interest for notification on this event type. The event instance is lazily created using the event parameter.
Parameters:
  event - the ActionEvent object
See Also:   EventListenerList



fireItemStateChanged
protected void fireItemStateChanged(ItemEvent event)(Code)
Notifies all listeners that have registered interest for notification on this event type. The event instance is lazily created using the event parameter.
Parameters:
  event - the ItemEvent object
See Also:   EventListenerList



fireStateChanged
protected void fireStateChanged()(Code)
Notifies all listeners that have registered interest for notification on this event type. The event instance is lazily created.
See Also:   EventListenerList



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 ActionEventsource, or null
since:
   1.3
See Also:   Action
See Also:   AbstractButton.setAction



getActionCommand
public String getActionCommand()(Code)
Returns the action command for this button. the action command for this button



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



getChangeListeners
public ChangeListener[] getChangeListeners()(Code)
Returns an array of all the ChangeListeners added to this AbstractButton with addChangeListener(). all of the ChangeListeners added or an emptyarray if no listeners have been added
since:
   1.4



getDisabledIcon
public Icon getDisabledIcon()(Code)
Returns the icon used by the button when it's disabled. If no disabled icon has been set this will forward the call to the look and feel to construct an appropriate disabled Icon.

Some look and feels might not render the disabled Icon, in which case they will ignore this. the disabledIcon property
See Also:   AbstractButton.getPressedIcon
See Also:   AbstractButton.setDisabledIcon
See Also:   javax.swing.LookAndFeel.getDisabledIcon




getDisabledSelectedIcon
public Icon getDisabledSelectedIcon()(Code)
Returns the icon used by the button when it's disabled and selected. If no disabled selection icon has been set, this will forward the call to the LookAndFeel to construct an appropriate disabled Icon from the selection icon if it has been set and to getDisabledIcon() otherwise.

Some look and feels might not render the disabled selected Icon, in which case they will ignore this. the disabledSelectedIcon property
See Also:   AbstractButton.getDisabledIcon
See Also:   AbstractButton.setDisabledSelectedIcon
See Also:   javax.swing.LookAndFeel.getDisabledSelectedIcon




getDisplayedMnemonicIndex
public int getDisplayedMnemonicIndex()(Code)
Returns the character, as an index, that the look and feel should provide decoration for as representing the mnemonic character.
since:
   1.4 index representing mnemonic character
See Also:   AbstractButton.setDisplayedMnemonicIndex



getHideActionText
public boolean getHideActionText()(Code)
Returns the value of the hideActionText property, which determines whether the button displays text from the Action. This is useful only if an Action has been installed on the button. true if the button's textproperty should not reflect that of theAction; the default is false
since:
   1.6



getHorizontalAlignment
public int getHorizontalAlignment()(Code)
Returns the horizontal alignment of the icon and text. AbstractButton 's default is SwingConstants.CENTER , but subclasses such as JCheckBox may use a different default. the horizontalAlignment property,one of the following values:
  • SwingConstants.RIGHT
  • SwingConstants.LEFT
  • SwingConstants.CENTER
  • SwingConstants.LEADING
  • SwingConstants.TRAILING



getHorizontalTextPosition
public int getHorizontalTextPosition()(Code)
Returns the horizontal position of the text relative to the icon. the horizontalTextPosition property, one of the following values:
  • SwingConstants.RIGHT
  • SwingConstants.LEFT
  • SwingConstants.CENTER
  • SwingConstants.LEADING
  • SwingConstants.TRAILING (the default)



getIcon
public Icon getIcon()(Code)
Returns the default icon. the default Icon
See Also:   AbstractButton.setIcon



getIconTextGap
public int getIconTextGap()(Code)
Returns the amount of space between the text and the icon displayed in this button. an int equal to the number of pixels between the textand the icon.
since:
   1.4
See Also:   AbstractButton.setIconTextGap



getItemListeners
public ItemListener[] getItemListeners()(Code)
Returns an array of all the ItemListeners added to this AbstractButton with addItemListener(). all of the ItemListeners added or an emptyarray if no listeners have been added
since:
   1.4



getLabel
public String getLabel()(Code)
Returns the label text. a String containing the label



getMargin
public Insets getMargin()(Code)
Returns the margin between the button's border and the label. an Insets object specifying the marginbetween the botton's border and the label
See Also:   AbstractButton.setMargin



getMnemonic
public int getMnemonic()(Code)
Returns the keyboard mnemonic from the the current model. the keyboard mnemonic from the model



getModel
public ButtonModel getModel()(Code)
Returns the model that this button represents. the model property
See Also:   AbstractButton.setModel



getMultiClickThreshhold
public long getMultiClickThreshhold()(Code)
Gets the amount of time (in milliseconds) required between mouse press events for the button to generate the corresponding action events.
See Also:   AbstractButton.setMultiClickThreshhold the amount of time required between mouse press eventsto generate corresponding action events
since:
   1.4



getPressedIcon
public Icon getPressedIcon()(Code)
Returns the pressed icon for the button. the pressedIcon property
See Also:   AbstractButton.setPressedIcon



getRolloverIcon
public Icon getRolloverIcon()(Code)
Returns the rollover icon for the button. the rolloverIcon property
See Also:   AbstractButton.setRolloverIcon



getRolloverSelectedIcon
public Icon getRolloverSelectedIcon()(Code)
Returns the rollover selection icon for the button. the rolloverSelectedIcon property
See Also:   AbstractButton.setRolloverSelectedIcon



getSelectedIcon
public Icon getSelectedIcon()(Code)
Returns the selected icon for the button. the selectedIcon property
See Also:   AbstractButton.setSelectedIcon



getSelectedObjects
public Object[] getSelectedObjects()(Code)
Returns an array (length 1) containing the label or null if the button is not selected. an array containing 1 Object: the text of the button,if the item is selected; otherwise null



getText
public String getText()(Code)
Returns the button's text. the buttons text
See Also:   AbstractButton.setText



getUI
public ButtonUI getUI()(Code)
Returns the L&F object that renders this component. the ButtonUI object
See Also:   AbstractButton.setUI



getVerticalAlignment
public int getVerticalAlignment()(Code)
Returns the vertical alignment of the text and icon. the verticalAlignment property, one of thefollowing values:
  • SwingConstants.CENTER (the default)
  • SwingConstants.TOP
  • SwingConstants.BOTTOM



getVerticalTextPosition
public int getVerticalTextPosition()(Code)
Returns the vertical position of the text relative to the icon. the verticalTextPosition property, one of the following values:
  • SwingConstants.CENTER (the default)
  • SwingConstants.TOP
  • SwingConstants.BOTTOM



imageUpdate
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)
This is overridden to return false if the current Icon's Image is not equal to the passed in Image img.
Parameters:
  img - the Image to be compared
Parameters:
  infoflags - flags used to repaint the button when the imageis updated and which determine how much is to be painted
Parameters:
  x - the x coordinate
Parameters:
  y - the y coordinate
Parameters:
  w - the width
Parameters:
  h - the height
See Also:   java.awt.image.ImageObserver
See Also:   java.awt.Component.imageUpdate(java.awt.Imageintintintintint)



init
protected void init(String text, Icon icon)(Code)



isBorderPainted
public boolean isBorderPainted()(Code)
Gets the borderPainted property. the value of the borderPainted property
See Also:   AbstractButton.setBorderPainted



isContentAreaFilled
public boolean isContentAreaFilled()(Code)
Gets the contentAreaFilled property. the contentAreaFilled property
See Also:   AbstractButton.setContentAreaFilled



isFocusPainted
public boolean isFocusPainted()(Code)
Gets the paintFocus property. the paintFocus property
See Also:   AbstractButton.setFocusPainted



isRolloverEnabled
public boolean isRolloverEnabled()(Code)
Gets the rolloverEnabled property. the value of the rolloverEnabled property
See Also:   AbstractButton.setRolloverEnabled



isSelected
public boolean isSelected()(Code)
Returns the state of the button. True if the toggle button is selected, false if it's not. true if the toggle button is selected, otherwise false



largeIconChanged
void largeIconChanged(Action a)(Code)



paintBorder
protected void paintBorder(Graphics g)(Code)
Paint the button's border if BorderPainted property is true and the button has a border.
Parameters:
  g - the Graphics context in which to paint
See Also:   AbstractButton.paint
See Also:   AbstractButton.setBorder



paramString
protected String paramString()(Code)
Returns a string representation of this AbstractButton. 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.

Overriding paramString to provide information about the specific new aspects of the JFC components. a string representation of this AbstractButton




removeActionListener
public void removeActionListener(ActionListener l)(Code)
Removes an ActionListener from the button. If the listener is the currently set Action for the button, then the Action is set to null.
Parameters:
  l - the listener to be removed



removeChangeListener
public void removeChangeListener(ChangeListener l)(Code)
Removes a ChangeListener from the button.
Parameters:
  l - the listener to be removed



removeItemListener
public void removeItemListener(ItemListener l)(Code)
Removes an ItemListener from the button.
Parameters:
  l - the ItemListener to be removed



removeNotify
public void removeNotify()(Code)

since:
   1.6



setAction
public void setAction(Action a)(Code)
Sets the Action. 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 button, it is not re-registered.

Setting the Action results in immediately changing all the properties described in Swing Components Supporting Action. Subsequently, the button'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 button'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 AbstractButton,or null
since:
   1.3
See Also:   Action
See Also:   AbstractButton.getAction
See Also:   AbstractButton.configurePropertiesFromAction
See Also:   AbstractButton.createActionPropertyChangeListener
See Also:   AbstractButton.actionPropertyChanged
See Also:   




setActionCommand
public void setActionCommand(String actionCommand)(Code)
Sets the action command for this button.
Parameters:
  actionCommand - the action command for this button



setBorderPainted
public void setBorderPainted(boolean b)(Code)
Sets the borderPainted property. If true and the button has a border, the border is painted. The default value for the borderPainted property is true.
Parameters:
  b - if true and border property is not null,the border is painted
See Also:   AbstractButton.isBorderPainted



setContentAreaFilled
public void setContentAreaFilled(boolean b)(Code)
Sets the contentAreaFilled property. If true the button will paint the content area. If you wish to have a transparent button, such as an icon only button, for example, then you should set this to false. Do not call setOpaque(false). The default value for the the contentAreaFilled property is true.

This function may cause the component's opaque property to change.

The exact behavior of calling this function varies on a component-by-component and L&F-by-L&F basis.
Parameters:
  b - if true, the content should be filled; if falsethe content area is not filled
See Also:   AbstractButton.isContentAreaFilled
See Also:   AbstractButton.setOpaque




setDisabledIcon
public void setDisabledIcon(Icon disabledIcon)(Code)
Sets the disabled icon for the button.
Parameters:
  disabledIcon - the icon used as the disabled image
See Also:   AbstractButton.getDisabledIcon



setDisabledSelectedIcon
public void setDisabledSelectedIcon(Icon disabledSelectedIcon)(Code)
Sets the disabled selection icon for the button.
Parameters:
  disabledSelectedIcon - the icon used as the disabledselection image
See Also:   AbstractButton.getDisabledSelectedIcon



setDisplayedMnemonicIndex
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException(Code)
Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic. Not all look and feels may support this. A value of -1 indicates either there is no mnemonic, the mnemonic character is not contained in the string, or the developer does not wish the mnemonic to be displayed.

The value of this is updated as the properties relating to the mnemonic change (such as the mnemonic itself, the text...). You should only ever have to call this if you do not wish the default character to be underlined. For example, if the text was 'Save As', with a mnemonic of 'a', and you wanted the 'A' to be decorated, as 'Save As', you would have to invoke setDisplayedMnemonicIndex(5) after invoking setMnemonic(KeyEvent.VK_A).
since:
   1.4
Parameters:
  index - Index into the String to underline
exception:
  IllegalArgumentException - will be thrown if indexis >= length of the text, or < -1
See Also:   AbstractButton.getDisplayedMnemonicIndex




setEnabled
public void setEnabled(boolean b)(Code)
Enables (or disables) the button.
Parameters:
  b - true to enable the button, otherwise false



setFocusPainted
public void setFocusPainted(boolean b)(Code)
Sets the paintFocus property, which must be true for the focus state to be painted. The default value for the paintFocus property is true. Some look and feels might not paint focus state; they will ignore this property.
Parameters:
  b - if true, the focus state should be painted
See Also:   AbstractButton.isFocusPainted



setHideActionText
public void setHideActionText(boolean hideActionText)(Code)
Sets the hideActionText property, which determines whether the button displays text from the Action. This is useful only if an Action has been installed on the button.
Parameters:
  hideActionText - true if the button'stext property should not reflectthat of the Action; the default isfalse
See Also:    Swing Components Supporting
See Also:   Action

since:
   1.6



setHorizontalAlignment
public void setHorizontalAlignment(int alignment)(Code)
Sets the horizontal alignment of the icon and text. AbstractButton 's default is SwingConstants.CENTER , but subclasses such as JCheckBox may use a different default.
Parameters:
  alignment - the alignment value, one of the following values:
  • SwingConstants.RIGHT
  • SwingConstants.LEFT
  • SwingConstants.CENTER
  • SwingConstants.LEADING
  • SwingConstants.TRAILING

throws:
  IllegalArgumentException - if the alignment is not one of thevalid values



setHorizontalTextPosition
public void setHorizontalTextPosition(int textPosition)(Code)
Sets the horizontal position of the text relative to the icon.
Parameters:
  textPosition - one of the following values:
  • SwingConstants.RIGHT
  • SwingConstants.LEFT
  • SwingConstants.CENTER
  • SwingConstants.LEADING
  • SwingConstants.TRAILING (the default)

exception:
  IllegalArgumentException - if textPositionis not one of the legal values listed above



setIcon
public void setIcon(Icon defaultIcon)(Code)
Sets the button's default icon. This icon is also used as the "pressed" and "disabled" icon if there is no explicitly set pressed icon.
Parameters:
  defaultIcon - the icon used as the default image
See Also:   AbstractButton.getIcon
See Also:   AbstractButton.setPressedIcon



setIconFromAction
void setIconFromAction(Action a)(Code)



setIconTextGap
public void setIconTextGap(int iconTextGap)(Code)
If both the icon and text properties are set, this property defines the space between them.

The default value of this property is 4 pixels.

This is a JavaBeans bound property.
since:
   1.4
See Also:   AbstractButton.getIconTextGap




setLabel
public void setLabel(String label)(Code)
Sets the label text.
Parameters:
  label - a String containing the text



setLayout
public void setLayout(LayoutManager mgr)(Code)
Sets the layout manager for this container, refer to java.awt.Container.setLayout(LayoutManager) for a complete description of this method.
Parameters:
  mgr - the specified layout manager
since:
   1.5



setMargin
public void setMargin(Insets m)(Code)
Sets space for margin between the button's border and the label. Setting to null will cause the button to use the default margin. The button's default Border object will use this value to create the proper margin. However, if a non-default border is set on the button, it is that Border object's responsibility to create the appropriate margin space (else this property will effectively be ignored).
Parameters:
  m - the space between the border and the label



setMnemonic
public void setMnemonic(int mnemonic)(Code)
Sets the keyboard mnemonic on the current model. The mnemonic is the key which when combined with the look and feel's mouseless modifier (usually Alt) will activate this button if focus is contained somewhere within this button's ancestor window.

A mnemonic must correspond to a single key on the keyboard and should be specified using one of the VK_XXX keycodes defined in java.awt.event.KeyEvent. Mnemonics are case-insensitive, therefore a key event with the corresponding keycode would cause the button to be activated whether or not the Shift modifier was pressed.

If the character defined by the mnemonic is found within the button's label string, the first occurrence of it will be underlined to indicate the mnemonic to the user.
Parameters:
  mnemonic - the key code which represents the mnemonic
See Also:   java.awt.event.KeyEvent
See Also:   AbstractButton.setDisplayedMnemonicIndex




setMnemonic
public void setMnemonic(char mnemonic)(Code)
This method is now obsolete, please use setMnemonic(int) to set the mnemonic for a button. This method is only designed to handle character values which fall between 'a' and 'z' or 'A' and 'Z'.
Parameters:
  mnemonic - a char specifying the mnemonic value
See Also:   AbstractButton.setMnemonic(int)



setModel
public void setModel(ButtonModel newModel)(Code)
Sets the model that this button represents.
Parameters:
  newModel - the new ButtonModel
See Also:   AbstractButton.getModel



setMultiClickThreshhold
public void setMultiClickThreshhold(long threshhold)(Code)
Sets the amount of time (in milliseconds) required between mouse press events for the button to generate the corresponding action events. After the initial mouse press occurs (and action event generated) any subsequent mouse press events which occur on intervals less than the threshhold will be ignored and no corresponding action event generated. By default the threshhold is 0, which means that for each mouse press, an action event will be fired, no matter how quickly the mouse clicks occur. In buttons where this behavior is not desirable (for example, the "OK" button in a dialog), this threshhold should be set to an appropriate positive value.
See Also:   AbstractButton.getMultiClickThreshhold
Parameters:
  threshhold - the amount of time required between mousepress events to generate corresponding action events
exception:
  IllegalArgumentException - if threshhold < 0
since:
   1.4



setPressedIcon
public void setPressedIcon(Icon pressedIcon)(Code)
Sets the pressed icon for the button.
Parameters:
  pressedIcon - the icon used as the "pressed" image
See Also:   AbstractButton.getPressedIcon



setRolloverEnabled
public void setRolloverEnabled(boolean b)(Code)
Sets the rolloverEnabled property, which must be true for rollover effects to occur. The default value for the rolloverEnabled property is false. Some look and feels might not implement rollover effects; they will ignore this property.
Parameters:
  b - if true, rollover effects should be painted
See Also:   AbstractButton.isRolloverEnabled



setRolloverIcon
public void setRolloverIcon(Icon rolloverIcon)(Code)
Sets the rollover icon for the button.
Parameters:
  rolloverIcon - the icon used as the "rollover" image
See Also:   AbstractButton.getRolloverIcon



setRolloverSelectedIcon
public void setRolloverSelectedIcon(Icon rolloverSelectedIcon)(Code)
Sets the rollover selected icon for the button.
Parameters:
  rolloverSelectedIcon - the icon used as the"selected rollover" image
See Also:   AbstractButton.getRolloverSelectedIcon



setSelected
public void setSelected(boolean b)(Code)
Sets the state of the button. Note that this method does not trigger an actionEvent. Call doClick to perform a programatic action change.
Parameters:
  b - true if the button is selected, otherwise false



setSelectedIcon
public void setSelectedIcon(Icon selectedIcon)(Code)
Sets the selected icon for the button.
Parameters:
  selectedIcon - the icon used as the "selected" image
See Also:   AbstractButton.getSelectedIcon



setText
public void setText(String text)(Code)
Sets the button's text.
Parameters:
  text - the string used to set the text
See Also:   AbstractButton.getText



setUI
public void setUI(ButtonUI ui)(Code)
Sets the L&F object that renders this component.
Parameters:
  ui - the ButtonUI L&F object
See Also:   AbstractButton.getUI



setUIProperty
void setUIProperty(String propertyName, Object value)(Code)



setVerticalAlignment
public void setVerticalAlignment(int alignment)(Code)
Sets the vertical alignment of the icon and text.
Parameters:
  alignment - one of the following values:
  • SwingConstants.CENTER (the default)
  • SwingConstants.TOP
  • SwingConstants.BOTTOM

throws:
  IllegalArgumentException - if the alignment is not one of the legalvalues listed above



setVerticalTextPosition
public void setVerticalTextPosition(int textPosition)(Code)
Sets the vertical position of the text relative to the icon.
Parameters:
  textPosition - one of the following values:
  • SwingConstants.CENTER (the default)
  • SwingConstants.TOP
  • SwingConstants.BOTTOM



shouldUpdateSelectedStateFromAction
boolean shouldUpdateSelectedStateFromAction()(Code)
Button subclasses that support mirroring the selected state from the action should override this to return true. AbstractButton's implementation returns false.



smallIconChanged
void smallIconChanged(Action a)(Code)



updateUI
public void updateUI()(Code)
Resets the UI property to a value from the current look and feel. Subtypes of AbstractButton should override this to update the UI. For example, JButton might do the following:
 setUI((ButtonUI)UIManager.getUI(
 "ButtonUI", "javax.swing.plaf.basic.BasicButtonUI", this));
 



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.