Added Methods |
void addMouseWheelListener(MouseWheelListener )
|
Adds the specified mouse wheel listener to receive mouse wheel events from this component. |
void applyComponentOrientation(ComponentOrientation )
|
Sets the ComponentOrientation property of this component and all components contained within it. |
boolean areFocusTraversalKeysSet(int )
|
Returns whether the Set of focus traversal keys for the given focus traversal operation has been explicitly defined for this Component. |
VolatileImage createVolatileImage(int, int, ImageCapabilities)
|
Creates a volatile off-screen drawable image with the given capabilities. |
VolatileImage createVolatileImage(int, int)
|
Creates a volatile off-screen drawable image to be used for double buffering. |
void firePropertyChange(String, boolean, boolean)
|
Support for reporting bound property changes for boolean properties. |
void firePropertyChange(String, int, int)
|
Support for reporting bound property changes for integer properties. |
ComponentListener[] getComponentListeners()
|
Returns an array of all the component listeners registered on this component. |
Container getFocusCycleRootAncestor()
|
Returns the Container which is the focus cycle root of this Component's focus traversal cycle. |
FocusListener[] getFocusListeners()
|
Returns an array of all the focus listeners registered on this component. |
Set getFocusTraversalKeys(int )
|
Returns the Set of focus traversal keys for a given traversal operation for this Component. |
boolean getFocusTraversalKeysEnabled()
|
Returns whether focus traversal keys are enabled for this Component. |
HierarchyBoundsListener[] getHierarchyBoundsListeners()
|
Returns an array of all the hierarchy bounds listeners registered on this component. |
HierarchyListener[] getHierarchyListeners()
|
Returns an array of all the hierarchy listeners registered on this component. |
boolean getIgnoreRepaint()
|
@return whether or not paint messages received from the operating system should be ignored. |
InputMethodListener[] getInputMethodListeners()
|
Returns an array of all the input method listeners registered on this component. |
KeyListener[] getKeyListeners()
|
Returns an array of all the key listeners registered on this component. |
MouseListener[] getMouseListeners()
|
Returns an array of all the mouse listeners registered on this component. |
MouseMotionListener[] getMouseMotionListeners()
|
Returns an array of all the mouse motion listeners registered on this component. |
MouseWheelListener[] getMouseWheelListeners()
|
Returns an array of all the mouse wheel listeners registered on this component. |
PropertyChangeListener[] getPropertyChangeListeners()
|
Returns an array of all the property change listeners registered on this component. |
PropertyChangeListener[] getPropertyChangeListeners(String )
|
Returns an array of all the listeners which have been associated with the named property. |
boolean isBackgroundSet()
|
Returns whether the background color has been explicitly set for this Component. |
boolean isCursorSet()
|
Returns whether the cursor has been explicitly set for this Component. |
boolean isFocusCycleRoot(Container )
|
Returns whether the specified Container is the focus cycle root of this Component's focus traversal cycle. |
boolean isFocusOwner()
|
Returns true if this Component is the focus owner. |
boolean isFocusable()
|
Returns whether this Component can be focused. |
boolean isFontSet()
|
Returns whether the font has been explicitly set for this Component. |
boolean isForegroundSet()
|
Returns whether the foreground color has been explicitly set for this Component. |
void processMouseWheelEvent(MouseWheelEvent )
|
Processes mouse wheel events occurring on this component by dispatching them to any registered MouseWheelListener objects. |
void removeMouseWheelListener(MouseWheelListener )
|
Removes the specified mouse wheel listener so that it no longer receives mouse wheel events from this component. |
boolean requestFocus(boolean )
|
Requests that this Component get the input focus and that this Component's top-level ancestor become the focused Window. |
boolean requestFocusInWindow(boolean )
|
Requests that this Component get the input focus if this Component's top-level ancestor is already the focused Window. |
boolean requestFocusInWindow()
|
Requests that this Component get the input focus if this Component's top-level ancestor is already the focused Window. |
void setFocusTraversalKeys(int, Set)
|
Sets the focus traversal keys for a given traversal operation for this Component. |
void setFocusTraversalKeysEnabled(boolean )
|
Sets whether focus traversal keys are enabled for this Component. |
void setFocusable(boolean )
|
Sets the focusable state of this Component to the specified value. |
void setIgnoreRepaint(boolean )
|
Sets whether or not paint messages received from the operating system should be ignored. |
void transferFocusBackward()
|
Transfers the focus to the previous component as though this Component were the focus owner. |
void transferFocusUpCycle()
|
Transfers the focus up one focus traversal cycle. |