KeyStroke
Action
JComponent.setBorder(javax.swing.border.Border)
JComponent.registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int)
JOptionPane
JComponent.setDebugGraphicsOptions(int)
JComponent.setToolTipText(java.lang.String)
JComponent.setAutoscrolls(boolean)
public void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Container]
public int
checkImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
public VolatileImage
createVolatileImage
(int width, int height, ImageCapabilities caps)
throws
AWTException
[Inherited From Component]
public void
firePropertyChange
(String propertyName, boolean oldValue, boolean newValue)
[Overrides Component]
public void
firePropertyChange
(String propertyName, char oldValue, char newValue)
[Overrides Component]
public void
firePropertyChange
(String propertyName, int oldValue, int newValue)
[Overrides Component]
protected void
fireVetoableChange
(String propertyName, Object oldValue, Object newValue)
throws
PropertyVetoException
publicsynchronized DropTarget
getDropTarget
()
[Inherited From Component]
DropTarget associated with this
Component.
publicsynchronized HierarchyBoundsListener
getHierarchyBoundsListeners
()
[Inherited From Component]
pack-privatestatic Set<KeyStroke>
getManagingFocusBackwardTraversalKeys
()
KeyStrokes to use if the component
is managing focus for backward focus traversal.
pack-privatestatic Set<KeyStroke>
getManagingFocusForwardTraversalKeys
()
KeyStrokes to use if the component
is managing focus for forward focus traversal.
public Point
getMousePosition
(boolean allowChildren)
throws
HeadlessException
[Inherited From Container]
publicsynchronized PropertyChangeListener
getPropertyChangeListeners
(String propertyName)
[Inherited From Component]
pack-private boolean
isPainting
()
public boolean
prepareImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
pack-privatestatic boolean
processKeyBindingsForAllComponents
(KeyEvent e, Container container, boolean pressed)
protected void
processKeyEvent
(KeyEvent e)
[Overrides Component]
processKeyEvent to process events.
protected void
processMouseEvent
(MouseEvent e)
[Overrides Component]
Processes mouse events occurring on this component by
dispatching them to any registered
MouseListener objects, refer to
Component.processMouseEvent(MouseEvent)
for a complete description of this method.
public void
registerKeyboardAction
(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)
getActionMap() and getInputMap() for
similiar behavior.
public void
registerKeyboardAction
(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)
publicsynchronized void
removeInputMethodListener
(InputMethodListener l)
[Inherited From Component]
publicsynchronized void
removeMouseMotionListener
(MouseMotionListener l)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Component]
public void
setFocusTraversalKeysEnabled
(boolean focusTraversalKeysEnabled)
[Inherited From Component]
pack-private int
shouldDebugGraphics
()
JComponent or one of its parents.
protected
AccessibleContext accessibleContext
AccessibleContext associated with this
JComponent.
publicfinalstatic
String TOOL_TIP_TEXT_KEY
= "ToolTipText"
publicfinalstatic
int UNDEFINED_CONDITION
= "-1"
publicfinalstatic
int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
= "1"
registerKeyboardAction that
means that the command should be invoked when the receiving
component is an ancestor of the focused component or is
itself the focused component.
ActionStandin is used as a standin for
ActionListeners that are
added via registerKeyboardAction.