Removed Methods |
void addPropertyChangeListener(PropertyChangeListener )
|
Adds a PropertyChangeListener to the listener list. |
void addPropertyChangeListener(String, PropertyChangeListener)
|
Adds a PropertyChangeListener for a specific property. |
void firePropertyChange(String, Object, Object)
|
Supports reporting bound property changes. |
void firePropertyChange(String, byte, byte)
|
Reports a bound property change. |
void firePropertyChange(String, double, double)
|
Reports a bound property change. |
void firePropertyChange(String, float, float)
|
Reports a bound property change. |
void firePropertyChange(String, long, long)
|
Reports a bound property change. |
void firePropertyChange(String, short, short)
|
Reports a bound property change. |
PropertyChangeListener[] getPropertyChangeListeners()
|
Returns an array of all the PropertyChangeListener s
added to this Component with addPropertyChangeListener(). |
PropertyChangeListener[] getPropertyChangeListeners(String )
|
Returns an array of all the listeners which have been associated
with the named property. |
void removePropertyChangeListener(PropertyChangeListener )
|
Removes a PropertyChangeListener from the listener list. |
void removePropertyChangeListener(String, PropertyChangeListener)
|
Removes a PropertyChangeListener for a specific property. |
Added Methods |
JPopupMenu getComponentPopupMenu()
|
Returns JPopupMenu that assigned for this component. |
boolean getInheritsPopupMenu()
|
Returns true if the JPopupMenu should be inherited from the parent. |
Point getPopupLocation(MouseEvent )
|
Returns the preferred location to display the popup menu in this
component's coordinate system. |
void setComponentPopupMenu(JPopupMenu )
|
Sets the JPopupMenu for this JComponent . |
void setInheritsPopupMenu(boolean )
|
Sets whether or not getComponentPopupMenu should delegate
to the parent if this component does not have a JPopupMenu
assigned to it. |
Changed Methods |
FontMetrics getFontMetrics(Font )
|
Method was inherited from Component, but is now defined locally.
|
Gets the FontMetrics for the specified Font . |
boolean isMaximumSizeSet()
|
Method was locally defined, but is now inherited from Component.
|
Returns true if the maximum size has been set to a non-null
value otherwise returns false. |
boolean isMinimumSizeSet()
|
Method was locally defined, but is now inherited from Component.
|
Returns whether or not setMinimumSize has been
invoked with a non-null value. |
boolean isPreferredSizeSet()
|
Method was locally defined, but is now inherited from Component.
|
Returns true if the preferred size has been set to a
non-null value otherwise returns false. |
void processMouseEvent(MouseEvent )
|
Method was inherited from Component, but is now defined locally.
|
Processes mouse events occurring on this component by
dispatching them to any registered
MouseListener objects, refer to
java.awt.Component.processMouseEvent(MouseEvent)
for a complete description of this method. |
void reshape(int, int, int, int)
|
Now deprecated.
|
As of JDK version 1.5, replaced by Component.setBounds(int, int, int, int) . |
void setFocusTraversalKeys(int, Set)
|
Method was inherited from Container, but is now defined locally.
|
Sets the focus traversal keys for a given traversal operation for this
Component. |