|
|||||||||
| Home >> All >> java >> awt >> [ event overview ] | PREV NEXT | ||||||||
A
- ACTION_FIRST - Static variable in class java.awt.event.ActionEvent
- The first id number in the range of action id's.
- ACTION_LAST - Static variable in class java.awt.event.ActionEvent
- The last id number in the range of action id's.
- ACTION_PERFORMED - Static variable in class java.awt.event.ActionEvent
- An event id indicating that an action has occurred.
- ADJUSTMENT_FIRST - Static variable in class java.awt.event.AdjustmentEvent
- This is the first id in the range of ids used by adjustment events.
- ADJUSTMENT_LAST - Static variable in class java.awt.event.AdjustmentEvent
- This is the last id in the range of ids used by adjustment events.
- ADJUSTMENT_VALUE_CHANGED - Static variable in class java.awt.event.AdjustmentEvent
- This is the id indicating an adjustment value changed.
- ALT_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The ALT key extended modifier.
- ALT_GRAPH_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The ALT_GRAPH key extended modifier.
- ALT_GRAPH_MASK - Static variable in class java.awt.event.InputEvent
- This is the bit mask which indicates the alt-graph modifier is in effect.
- ALT_MASK - Static variable in class java.awt.event.ActionEvent
- Bit mask indicating that the alt key was pressed.
- ALT_MASK - Static variable in class java.awt.event.InputEvent
- This is the bit mask which indicates the alt key is down.
- ANCESTOR_MOVED - Static variable in class java.awt.event.HierarchyEvent
- This id indicates that an ancestor was moved.
- ANCESTOR_RESIZED - Static variable in class java.awt.event.HierarchyEvent
- This id indicates that an ancestor was resized.
- AWTEventListener - interface java.awt.event.AWTEventListener.
- This listener is for classes that need to listen to all events in the AWT system.
- AWTEventListenerProxy - class java.awt.event.AWTEventListenerProxy.
- This class allows adding an AWTEventListener which only pays attention to a specific event mask.
- AWTEventListenerProxy(long, AWTEventListener) - Constructor for class java.awt.event.AWTEventListenerProxy
- Construct an AWT Event Listener which only listens to events in the given mask, passing the work on to the real listener.
- ActionEvent - class java.awt.event.ActionEvent.
- This event is generated when an action on a component (such as a button press) occurs.
- ActionEvent(Object, int, String) - Constructor for class java.awt.event.ActionEvent
- Initializes a new instance of
ActionEventwith the specified source, id, and command. - ActionEvent(Object, int, String, int) - Constructor for class java.awt.event.ActionEvent
- Initializes a new instance of
ActionEventwith the specified source, id, command, and modifiers. - ActionEvent(Object, int, String, long, int) - Constructor for class java.awt.event.ActionEvent
- Initializes a new instance of
ActionEventwith the specified source, id, command, and modifiers, and timestamp. - ActionListener - interface java.awt.event.ActionListener.
- This interface is for classes that listen for action events.
- AdjustmentEvent - class java.awt.event.AdjustmentEvent.
- This class represents an event that is generated when an adjustable value is changed.
- AdjustmentEvent(Adjustable, int, int, int) - Constructor for class java.awt.event.AdjustmentEvent
- Initializes an instance of
AdjustmentEventwith the specified source, id, type, and value. - AdjustmentEvent(Adjustable, int, int, int, boolean) - Constructor for class java.awt.event.AdjustmentEvent
- Initializes an instance of
AdjustmentEventwith the specified source, id, type, and value. - AdjustmentListener - interface java.awt.event.AdjustmentListener.
- Interface for classes that listen for adjustment events.
- actionCommand - Variable in class java.awt.event.ActionEvent
- A nonlocalized string that gives more specific details of the event cause.
- actionPerformed(ActionEvent) - Method in interface java.awt.event.ActionListener
- This method is invoked when an action occurs.
- adjustable - Variable in class java.awt.event.AdjustmentEvent
- The adjustable object that caused the event.
- adjustmentType - Variable in class java.awt.event.AdjustmentEvent
- The type of adjustment, one of
AdjustmentEvent.UNIT_INCREMENT55 ,AdjustmentEvent.UNIT_DECREMENT55 ,AdjustmentEvent.BLOCK_INCREMENT55 ,AdjustmentEvent.BLOCK_DECREMENT55 , orAdjustmentEvent.TRACK55 . - adjustmentValueChanged(AdjustmentEvent) - Method in interface java.awt.event.AdjustmentListener
- This method is called when an adjustable value changes.
- ancestorMoved(HierarchyEvent) - Method in class java.awt.event.HierarchyBoundsAdapter
- Implements this method from the interface with an empty body.
- ancestorMoved(HierarchyEvent) - Method in interface java.awt.event.HierarchyBoundsListener
- Called when an ancestor component of the source is moved.
- ancestorResized(HierarchyEvent) - Method in class java.awt.event.HierarchyBoundsAdapter
- Implements this method from the interface with an empty body.
- ancestorResized(HierarchyEvent) - Method in interface java.awt.event.HierarchyBoundsListener
- Called when an ancestor component is resized.
B
- BLOCK_DECREMENT - Static variable in class java.awt.event.AdjustmentEvent
- Adjustment type for block decrements.
- BLOCK_INCREMENT - Static variable in class java.awt.event.AdjustmentEvent
- Adjustment type for block increments.
- BUTTON1 - Static variable in class java.awt.event.MouseEvent
- This indicates that button 1 changed state.
- BUTTON1_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The mouse button1 key extended modifier.
- BUTTON1_MASK - Static variable in class java.awt.event.InputEvent
- This bit mask indicates mouse button one is down.
- BUTTON2 - Static variable in class java.awt.event.MouseEvent
- This indicates that button 2 changed state.
- BUTTON2_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The mouse button2 extended modifier.
- BUTTON2_MASK - Static variable in class java.awt.event.InputEvent
- This bit mask indicates mouse button two is down.
- BUTTON3 - Static variable in class java.awt.event.MouseEvent
- This indicates that button 3 changed state.
- BUTTON3_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The mouse button3 extended modifier.
- BUTTON3_MASK - Static variable in class java.awt.event.InputEvent
- This bit mask indicates mouse button three is down.
- button - Variable in class java.awt.event.MouseEvent
- Indicates which mouse button changed state.
C
- CARET_POSITION_CHANGED - Static variable in class java.awt.event.InputMethodEvent
- This event id indicates that the input method curor point has changed.
- CHAR_UNDEFINED - Static variable in class java.awt.event.KeyEvent
- The only char with no valid Unicode interpretation.
- COMPONENT_ADDED - Static variable in class java.awt.event.ContainerEvent
- This id indicates a component was added to the container.
- COMPONENT_FIRST - Static variable in class java.awt.event.ComponentEvent
- This is the first id in the range of ids used by this class.
- COMPONENT_HIDDEN - Static variable in class java.awt.event.ComponentEvent
- This id indicates that a component was hidden.
- COMPONENT_LAST - Static variable in class java.awt.event.ComponentEvent
- This is the last id in the range of ids used by this class.
- COMPONENT_MOVED - Static variable in class java.awt.event.ComponentEvent
- This id indicates that a component was moved.
- COMPONENT_REMOVED - Static variable in class java.awt.event.ContainerEvent
- This id indicates a component was removed from the container.
- COMPONENT_RESIZED - Static variable in class java.awt.event.ComponentEvent
- This id indicates that a component was resized.
- COMPONENT_SHOWN - Static variable in class java.awt.event.ComponentEvent
- This id indicates that a component was shown.
- CONTAINER_FIRST - Static variable in class java.awt.event.ContainerEvent
- This is the first id in the id range used by this class.
- CONTAINER_LAST - Static variable in class java.awt.event.ContainerEvent
- This is the last id in the id range used by this class.
- CONVERT_MASK - Static variable in class java.awt.event.InputEvent
- The mask to convert new to old, package visible for use in subclasses.
- CTRL_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The CTRL key extended modifier.
- CTRL_MASK - Static variable in class java.awt.event.ActionEvent
- Bit mask indicating the control key was pressed.
- CTRL_MASK - Static variable in class java.awt.event.InputEvent
- This is the bit mask which indicates the control key is down.
- ComponentAdapter - class java.awt.event.ComponentAdapter.
- This class implements
ComponentListenerand implements all methods with empty bodies. - ComponentAdapter() - Constructor for class java.awt.event.ComponentAdapter
- Do nothing default constructor for subclasses.
- ComponentEvent - class java.awt.event.ComponentEvent.
- This class is for events generated when a component is moved, resized, hidden, or shown.
- ComponentEvent(Component, int) - Constructor for class java.awt.event.ComponentEvent
- Initializes a new instance of
ComponentEventwith the specified source and id. - ComponentListener - interface java.awt.event.ComponentListener.
- This interface is for classes that receive all events from a component.
- ContainerAdapter - class java.awt.event.ContainerAdapter.
- This class implements
ContainerListenerand implements all methods with empty bodies. - ContainerAdapter() - Constructor for class java.awt.event.ContainerAdapter
- Do nothing default constructor for subclasses.
- ContainerEvent - class java.awt.event.ContainerEvent.
- This event is generated when a component is added or removed from a container.
- ContainerEvent(Component, int, Component) - Constructor for class java.awt.event.ContainerEvent
- Initializes a new instance of
ContainerEventwith the specified source and id. - ContainerListener - interface java.awt.event.ContainerListener.
- This interface is for classes that wish to listen for all events from container objects.
- caret - Variable in class java.awt.event.InputMethodEvent
- The caret.
- caretPositionChanged(InputMethodEvent) - Method in interface java.awt.event.InputMethodListener
- This method is called when the cursor position within the text is changed.
- catchExceptions - Variable in class java.awt.event.InvocationEvent
- This variable is set to
trueif exceptions are caught and stored in a variable during the call torun(), otherwise exceptions are ignored and propagate up. - changeFlags - Variable in class java.awt.event.HierarchyEvent
- The bitmask of HIERARCHY_CHANGED event types.
- changed - Variable in class java.awt.event.HierarchyEvent
- The component at the top of the changed hierarchy.
- changedParent - Variable in class java.awt.event.HierarchyEvent
- The parent of this component, either before or after the change depending on the type of change.
- child - Variable in class java.awt.event.ContainerEvent
- The non-null child component that was added or removed.
- clickCount - Variable in class java.awt.event.MouseEvent
- The number of clicks that took place.
- committedCharacterCount - Variable in class java.awt.event.InputMethodEvent
- The number of committed characters in the text.
- componentAdded(ContainerEvent) - Method in class java.awt.event.ContainerAdapter
- Implements this method from the interface with an empty body.
- componentAdded(ContainerEvent) - Method in interface java.awt.event.ContainerListener
- This method is called when a component is added to the container.
- componentHidden(ComponentEvent) - Method in class java.awt.event.ComponentAdapter
- Implements this method from the interface with an empty body.
- componentHidden(ComponentEvent) - Method in interface java.awt.event.ComponentListener
- This method is called when the component is hidden.
- componentMoved(ComponentEvent) - Method in class java.awt.event.ComponentAdapter
- Implements this method from the interface with an empty body.
- componentMoved(ComponentEvent) - Method in interface java.awt.event.ComponentListener
- This method is called when the component is moved.
- componentRemoved(ContainerEvent) - Method in class java.awt.event.ContainerAdapter
- Implements this method from the interface with an empty body.
- componentRemoved(ContainerEvent) - Method in interface java.awt.event.ContainerListener
- This method is called when a component is removed from the container.
- componentResized(ComponentEvent) - Method in class java.awt.event.ComponentAdapter
- Implements this method from the interface with an empty body.
- componentResized(ComponentEvent) - Method in interface java.awt.event.ComponentListener
- This method is called when the component is resized.
- componentShown(ComponentEvent) - Method in class java.awt.event.ComponentAdapter
- Implements this method from the interface with an empty body.
- componentShown(ComponentEvent) - Method in interface java.awt.event.ComponentListener
- This method is called when the component is made visible.
- consume() - Method in class java.awt.event.InputEvent
- Consumes this event.
- consume() - Method in class java.awt.event.InputMethodEvent
- This method consumes the event.
D
- DESELECTED - Static variable in class java.awt.event.ItemEvent
- This type indicates that the item was deselected.
- DISPLAYABILITY_CHANGED - Static variable in class java.awt.event.HierarchyEvent
- This indicates that the HIERARCHY_CHANGED is caused by a change in displayability.
- dispatch() - Method in class java.awt.event.InvocationEvent
- This method calls the
run()method of the runnable, traps exceptions if instructed to do so, and callsnotifyAll()on any notifier if all worked successfully.
E
- eventDispatched(AWTEvent) - Method in interface java.awt.event.AWTEventListener
- This method is called when any event in the AWT system is dispatched.
- eventDispatched(AWTEvent) - Method in class java.awt.event.AWTEventListenerProxy
- Forwards events on to the delegate.
- exception - Variable in class java.awt.event.InvocationEvent
- This is the caught exception thrown in the
run()method.
F
- FOCUS_FIRST - Static variable in class java.awt.event.FocusEvent
- This is the first id in the range of ids used by this class.
- FOCUS_GAINED - Static variable in class java.awt.event.FocusEvent
- This is the event id for a focus gained event.
- FOCUS_LAST - Static variable in class java.awt.event.FocusEvent
- This is the last id in the range of ids used by this class.
- FOCUS_LOST - Static variable in class java.awt.event.FocusEvent
- This is the event id for a focus lost event.
- FocusAdapter - class java.awt.event.FocusAdapter.
- This class implements
FocusListenerand implements all methods with empty bodies. - FocusAdapter() - Constructor for class java.awt.event.FocusAdapter
- Do nothing default constructor for subclasses.
- FocusEvent - class java.awt.event.FocusEvent.
- This class represents an event generated when a focus change occurs for a component.
- FocusEvent(Component, int, boolean, Component) - Constructor for class java.awt.event.FocusEvent
- Initializes a new instance of
FocusEventwith the specified source, id, temporary status, and opposite counterpart. - FocusEvent(Component, int, boolean) - Constructor for class java.awt.event.FocusEvent
- Initializes a new instance of
FocusEventwith the specified source, id, and temporary status. - FocusEvent(Component, int) - Constructor for class java.awt.event.FocusEvent
- Initializes a new instance of
FocusEventwith the specified source and id. - FocusListener - interface java.awt.event.FocusListener.
- This interface is for classes that wish to be notified of changes of keyboard focus for a component.
- focusGained(FocusEvent) - Method in class java.awt.event.FocusAdapter
- Implements this method from the interface with an empty body.
- focusGained(FocusEvent) - Method in interface java.awt.event.FocusListener
- This method is called when a component gains the keyboard focus.
- focusLost(FocusEvent) - Method in class java.awt.event.FocusAdapter
- Implements this method from the interface with an empty body.
- focusLost(FocusEvent) - Method in interface java.awt.event.FocusListener
- This method is invoked when a component loses the keyboard focus.
G
- getActionCommand() - Method in class java.awt.event.ActionEvent
- Returns the command string associated with this action.
- getAdjustable() - Method in class java.awt.event.AdjustmentEvent
- This method returns the source of the event as an
Adjustable. - getAdjustmentType() - Method in class java.awt.event.AdjustmentEvent
- Returns the type of the event, which will be one of
AdjustmentEvent.UNIT_INCREMENT55 ,AdjustmentEvent.UNIT_DECREMENT55 ,AdjustmentEvent.BLOCK_INCREMENT55 ,AdjustmentEvent.BLOCK_DECREMENT55 , orAdjustmentEvent.TRACK55 . - getButton() - Method in class java.awt.event.MouseEvent
- Returns which button, if any, was the most recent to change state.
- getCaret() - Method in class java.awt.event.InputMethodEvent
- Returns the caret position.
- getChangeFlags() - Method in class java.awt.event.HierarchyEvent
- If this is a HIERARCHY_CHANGED event, this returns a bitmask of the types of changes that took place.
- getChanged() - Method in class java.awt.event.HierarchyEvent
- Returns the component at the top of the hierarchy which changed.
- getChangedParent() - Method in class java.awt.event.HierarchyEvent
- Returns the parent of the component listed in
getChanged(). - getChild() - Method in class java.awt.event.ContainerEvent
- This method returns the child object that was added or removed from the container.
- getClickCount() - Method in class java.awt.event.MouseEvent
- This method returns the number of mouse clicks associated with this event.
- getCommittedCharacterCount() - Method in class java.awt.event.InputMethodEvent
- Returns the number of committed characters in the input method text.
- getComponent() - Method in class java.awt.event.ComponentEvent
- This method returns the event source as a
Component. - getComponent() - Method in class java.awt.event.HierarchyEvent
- This method returns the event source as a
Component. - getContainer() - Method in class java.awt.event.ContainerEvent
- Returns the source of this event as a
Container. - getEventMask() - Method in class java.awt.event.AWTEventListenerProxy
- This returns the event mask associated with this listener.
- getException() - Method in class java.awt.event.InvocationEvent
- This method returns the exception that occurred during the execution of
the runnable, or
nullif not exception was thrown or exceptions were not caught. - getItem() - Method in class java.awt.event.ItemEvent
- Returns the item affected by this state change.
- getItemSelectable() - Method in class java.awt.event.ItemEvent
- This method returns the event source as an
ItemSelectable. - getKeyChar() - Method in class java.awt.event.KeyEvent
- Returns the Unicode value for the event key.
- getKeyCode() - Method in class java.awt.event.KeyEvent
- Returns the key code for the event key.
- getKeyLocation() - Method in class java.awt.event.KeyEvent
- Returns the keyboard location of the key that generated this event.
- getKeyModifiersText(int) - Static method in class java.awt.event.KeyEvent
- Returns a string describing the modifiers, such as "Shift" or "Ctrl+Button1".
- getKeyText(int) - Static method in class java.awt.event.KeyEvent
- Returns the text name of key code, such as "HOME", "F1", or "A".
- getModifiers() - Method in class java.awt.event.ActionEvent
- Returns the keys held down during the action.
- getModifiers() - Method in class java.awt.event.InputEvent
- This method returns the old-style modifiers in effect for this event.
- getModifiersEx() - Method in class java.awt.event.InputEvent
- Returns the extended modifiers (new-style) for this event.
- getModifiersExText(int) - Static method in class java.awt.event.InputEvent
- Convert the extended modifier bitmask into a String, such as "Shift" or "Ctrl+Button1".
- getMouseModifiersText(int) - Static method in class java.awt.event.MouseEvent
- Returns a string describing the modifiers, such as "Shift" or "Ctrl+Button1".
- getNewState() - Method in class java.awt.event.WindowEvent
- Returns the state of this window after the event.
- getOldState() - Method in class java.awt.event.WindowEvent
- Returns the state of this window before the event.
- getOppositeComponent() - Method in class java.awt.event.FocusEvent
- Returns the component which received the opposite focus event.
- getOppositeWindow() - Method in class java.awt.event.WindowEvent
- Returns the opposite window if this window was involved in an activation or focus change.
- getPoint() - Method in class java.awt.event.MouseEvent
- This method returns a
Pointfor the x,y position of the mouse pointer. - getScrollAmount() - Method in class java.awt.event.MouseWheelEvent
- Returns the number of units to scroll in response to this event.
- getScrollType() - Method in class java.awt.event.MouseWheelEvent
- This method returns the scrolling pattern this event requests.
- getStateChange() - Method in class java.awt.event.ItemEvent
- Returns the type of state change, either
ItemEvent.SELECTED55 orItemEvent.DESELECTED55 . - getText() - Method in class java.awt.event.InputMethodEvent
- This method returns the input method text.
- getThrowable() - Method in class java.awt.event.InvocationEvent
- Returns a throwable caught while executing the Runnable's run() method.
- getUnitsToScroll() - Method in class java.awt.event.MouseWheelEvent
- This is a convenience method which aids in a common listener for scrolling a scrollpane (although this is already built into ScrollPane and JScrollPane).
- getUpdateRect() - Method in class java.awt.event.PaintEvent
- Returns the rectange to be updated for this event.
- getValue() - Method in class java.awt.event.AdjustmentEvent
- Returns the new value of the adjustable object.
- getValueIsAdjusting() - Method in class java.awt.event.AdjustmentEvent
- Test if this event is part of a sequence of multiple adjustements.
- getVisiblePosition() - Method in class java.awt.event.InputMethodEvent
- Returns the position that is most important to be visible, or null if such a hint is not necessary.
- getWheelRotation() - Method in class java.awt.event.MouseWheelEvent
- Gets the number of "clicks" the wheel was rotated.
- getWhen() - Method in class java.awt.event.ActionEvent
- Gets the timestamp of when this action took place.
- getWhen() - Method in class java.awt.event.InputEvent
- This method returns the timestamp when this event occurred.
- getWhen() - Method in class java.awt.event.InputMethodEvent
- Return the timestamp of this event.
- getWhen() - Method in class java.awt.event.InvocationEvent
- Gets the timestamp of when this event was created.
- getWindow() - Method in class java.awt.event.WindowEvent
- Returns the event source as a
Window. - getX() - Method in class java.awt.event.MouseEvent
- This method returns the X coordinate of the mouse position.
- getY() - Method in class java.awt.event.MouseEvent
- This method returns the Y coordinate of the mouse position.
H
- HIERARCHY_CHANGED - Static variable in class java.awt.event.HierarchyEvent
- This id indicates that the hierarchy tree changed.
- HIERARCHY_FIRST - Static variable in class java.awt.event.HierarchyEvent
- This is the first id in the range of ids used by this class.
- HIERARCHY_LAST - Static variable in class java.awt.event.HierarchyEvent
- This is the last id in the range of ids used by this class.
- HierarchyBoundsAdapter - class java.awt.event.HierarchyBoundsAdapter.
- This class implements
HierarchyBoundsListenerand implements all methods with empty bodies. - HierarchyBoundsAdapter() - Constructor for class java.awt.event.HierarchyBoundsAdapter
- Do nothing default constructor for subclasses.
- HierarchyBoundsListener - interface java.awt.event.HierarchyBoundsListener.
- This listens for changes in an ancestors size or location.
- HierarchyEvent - class java.awt.event.HierarchyEvent.
- This class represents an event generated for an ancestor component which may affect this component.
- HierarchyEvent(Component, int, Component, Container) - Constructor for class java.awt.event.HierarchyEvent
- Initializes a new instance of
HierarchyEventwith the specified parameters. - HierarchyEvent(Component, int, Component, Container, long) - Constructor for class java.awt.event.HierarchyEvent
- Initializes a new instance of
HierarchyEventwith the specified parameters. - HierarchyListener - interface java.awt.event.HierarchyListener.
- This listens for changes in the hierarchy tree of components.
- hierarchyChanged(HierarchyEvent) - Method in interface java.awt.event.HierarchyListener
- Called when the hierarchy of this component changes.
I
- INPUT_METHOD_FIRST - Static variable in class java.awt.event.InputMethodEvent
- This is the first id in the range of event ids used by this class.
- INPUT_METHOD_LAST - Static variable in class java.awt.event.InputMethodEvent
- This is the last id in the range of event ids used by this class.
- INPUT_METHOD_TEXT_CHANGED - Static variable in class java.awt.event.InputMethodEvent
- This event id indicates that the text in the input method has changed.
- INVOCATION_DEFAULT - Static variable in class java.awt.event.InvocationEvent
- This is the default id for this event type.
- INVOCATION_FIRST - Static variable in class java.awt.event.InvocationEvent
- This is the first id in the range of event ids used by this class.
- INVOCATION_LAST - Static variable in class java.awt.event.InvocationEvent
- This is the last id in the range of event ids used by this class.
- ITEM_FIRST - Static variable in class java.awt.event.ItemEvent
- This is the first id in the event id range used by this class.
- ITEM_LAST - Static variable in class java.awt.event.ItemEvent
- This is the last id in the event id range used by this class.
- ITEM_STATE_CHANGED - Static variable in class java.awt.event.ItemEvent
- This event id indicates a state change occurred.
- InputEvent - class java.awt.event.InputEvent.
- This is the common superclass for all component input classes.
- InputEvent(Component, int, long, int) - Constructor for class java.awt.event.InputEvent
- Initializes a new instance of
InputEventwith the specified source, id, timestamp, and modifiers. - InputMethodEvent - class java.awt.event.InputMethodEvent.
- This class is for event generated by change in a text input method.
- InputMethodEvent(Component, int, long, AttributedCharacterIterator, int, TextHitInfo, TextHitInfo) - Constructor for class java.awt.event.InputMethodEvent
- Initializes a new instance of
InputMethodEventwith the specified source, id, timestamp, text, char count, caret, and visible position. - InputMethodEvent(Component, int, AttributedCharacterIterator, int, TextHitInfo, TextHitInfo) - Constructor for class java.awt.event.InputMethodEvent
- Initializes a new instance of
InputMethodEventwith the specified source, id, text, char count, caret, and visible position. - InputMethodEvent(Component, int, TextHitInfo, TextHitInfo) - Constructor for class java.awt.event.InputMethodEvent
- Initializes a new instance of
InputMethodEventwith the specified source, id, caret, and visible position, and with a null text and char count. - InputMethodListener - interface java.awt.event.InputMethodListener.
- This interface is for classes that wish to receive events from an input method.
- InvocationEvent - class java.awt.event.InvocationEvent.
- This event executes Runnable.run()>
Runnable.run()55 of a target object when it is dispatched. - InvocationEvent(Object, Runnable) - Constructor for class java.awt.event.InvocationEvent
- Initializes a new instance of
InvocationEventwith the specified source and runnable. - InvocationEvent(Object, Runnable, Object, boolean) - Constructor for class java.awt.event.InvocationEvent
- Initializes a new instance of
InvocationEventwith the specified source, runnable, and notifier. - InvocationEvent(Object, int, Runnable, Object, boolean) - Constructor for class java.awt.event.InvocationEvent
- Initializes a new instance of
InvocationEventwith the specified source, runnable, and notifier. - ItemEvent - class java.awt.event.ItemEvent.
- This event is generated when a selection item changes state.
- ItemEvent(ItemSelectable, int, Object, int) - Constructor for class java.awt.event.ItemEvent
- Initializes a new instance of
ItemEventwith the specified source, id, and state change constant. - ItemListener - interface java.awt.event.ItemListener.
- This interface is for classes that wish to receive events when an item's selection state changes.
- inputMethodTextChanged(InputMethodEvent) - Method in interface java.awt.event.InputMethodListener
- This method is called when the text is changed.
- isActionKey() - Method in class java.awt.event.KeyEvent
- Tests whether or not this key is an action key.
- isAdjusting - Variable in class java.awt.event.AdjustmentEvent
- True if this is in a series of multiple adjustment events.
- isAltDown() - Method in class java.awt.event.InputEvent
- This method tests whether or not the alt key was down during the event.
- isAltGraphDown() - Method in class java.awt.event.InputEvent
- This method tests whether or not the alt-graph modifier was in effect during the event.
- isConsumed() - Method in class java.awt.event.InputEvent
- This method tests whether or not this event has been consumed.
- isConsumed() - Method in class java.awt.event.InputMethodEvent
- This method tests whether or not this event has been consumed.
- isControlDown() - Method in class java.awt.event.InputEvent
- This method tests whether or not the control key was down during the event.
- isMetaDown() - Method in class java.awt.event.InputEvent
- This method tests whether or not the meta key was down during the event.
- isPopupTrigger() - Method in class java.awt.event.MouseEvent
- This method tests whether or not the event is a popup menu trigger.
- isProxyActive - Variable in class java.awt.event.KeyEvent
- Stores the state of the native event dispatching system, to correctly dispatch in Component#dispatchEventImpl when a proxy is active.
- isShiftDown() - Method in class java.awt.event.InputEvent
- This method tests whether or not the shift key was down during the event.
- isTemporary() - Method in class java.awt.event.FocusEvent
- This method tests whether or not the focus change is temporary or permanent.
- item - Variable in class java.awt.event.ItemEvent
- The item affected by this event.
- itemStateChanged(ItemEvent) - Method in interface java.awt.event.ItemListener
- This method is called when an item's state is changed.
J
- java.awt.event - package java.awt.event
K
- KEY_FIRST - Static variable in class java.awt.event.KeyEvent
- This is the first id in the range of event ids used by this class.
- KEY_LAST - Static variable in class java.awt.event.KeyEvent
- This is the last id in the range of event ids used by this class.
- KEY_LOCATION_LEFT - Static variable in class java.awt.event.KeyEvent
- Indicates the key is on the left side of the keyboard, such as the left shift.
- KEY_LOCATION_NUMPAD - Static variable in class java.awt.event.KeyEvent
- Indicates the key is on the numeric pad, such as the numpad 0.
- KEY_LOCATION_RIGHT - Static variable in class java.awt.event.KeyEvent
- Indicates the key is on the right side of the keyboard, such as the right shift.
- KEY_LOCATION_STANDARD - Static variable in class java.awt.event.KeyEvent
- Indicates a standard key location, with no left/right variants and not on the numeric pad.
- KEY_LOCATION_UNKNOWN - Static variable in class java.awt.event.KeyEvent
- Indicates unknown or irrelavent key location.
- KEY_PRESSED - Static variable in class java.awt.event.KeyEvent
- This event id indicates a key was pressed.
- KEY_RELEASED - Static variable in class java.awt.event.KeyEvent
- This event it indicates a key was released.
- KEY_TYPED - Static variable in class java.awt.event.KeyEvent
- This event id indicates a key was typed, which is a key press followed by a key release to generate an actual Unicode character.
- KeyAdapter - class java.awt.event.KeyAdapter.
- This class implements
KeyListenerand implements all methods with empty bodies. - KeyAdapter() - Constructor for class java.awt.event.KeyAdapter
- Do nothing default constructor for subclasses.
- KeyEvent - class java.awt.event.KeyEvent.
- This event is generated when a key is pressed or released.
- KeyEvent(Component, int, long, int, int, char, int) - Constructor for class java.awt.event.KeyEvent
- Initializes a new instance of
KeyEventwith the specified information. - KeyEvent(Component, int, long, int, int, char) - Constructor for class java.awt.event.KeyEvent
- Initializes a new instance of
KeyEventwith the specified information. - KeyEvent(Component, int, long, int, int) - Constructor for class java.awt.event.KeyEvent
- Deprecated.
- KeyListener - interface java.awt.event.KeyListener.
- This interface is for classes that wish to receive keyboard events.
- keyChar - Variable in class java.awt.event.KeyEvent
- The Unicode character produced by the key type event.
- keyCode - Variable in class java.awt.event.KeyEvent
- The code assigned to the physical keyboard location (as adjusted by the keyboard layout).
- keyLocation - Variable in class java.awt.event.KeyEvent
- The keyboard location of the key.
- keyPressed(KeyEvent) - Method in class java.awt.event.KeyAdapter
- Implements this method in the interface with an empty body.
- keyPressed(KeyEvent) - Method in interface java.awt.event.KeyListener
- This method is called when a key is pressed.
- keyReleased(KeyEvent) - Method in class java.awt.event.KeyAdapter
- Implements this method in the interface with an empty body.
- keyReleased(KeyEvent) - Method in interface java.awt.event.KeyListener
- This method is called when a key is released.
- keyTyped(KeyEvent) - Method in class java.awt.event.KeyAdapter
- Implements this method in the interface with an empty body.
- keyTyped(KeyEvent) - Method in interface java.awt.event.KeyListener
- This method is called when a key is typed.
M
- META_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The META key extended modifier.
- META_MASK - Static variable in class java.awt.event.ActionEvent
- Bit mask indicating the that meta key was pressed.
- META_MASK - Static variable in class java.awt.event.InputEvent
- This is the bit mask which indicates the meta key is down.
- MOUSE_CLICKED - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse was clicked.
- MOUSE_DRAGGED - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse was dragged over a component.
- MOUSE_ENTERED - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse entered a component.
- MOUSE_EXITED - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse exited a component.
- MOUSE_FIRST - Static variable in class java.awt.event.MouseEvent
- This is the first id in the range of event ids used by this class.
- MOUSE_LAST - Static variable in class java.awt.event.MouseEvent
- This is the last id in the range of event ids used by this class.
- MOUSE_MOVED - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse was moved.
- MOUSE_PRESSED - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse was pressed.
- MOUSE_RELEASED - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse was released.
- MOUSE_WHEEL - Static variable in class java.awt.event.MouseEvent
- This event id indicates that the mouse wheel was rotated.
- MouseAdapter - class java.awt.event.MouseAdapter.
- This class implements
MouseListenerand implements all methods with empty bodies. - MouseAdapter() - Constructor for class java.awt.event.MouseAdapter
- Do nothing default constructor for subclasses.
- MouseEvent - class java.awt.event.MouseEvent.
- This event is generated for a mouse event.
- MouseEvent(Component, int, long, int, int, int, int, boolean, int) - Constructor for class java.awt.event.MouseEvent
- Initializes a new instance of
MouseEventwith the specified information. - MouseEvent(Component, int, long, int, int, int, int, boolean) - Constructor for class java.awt.event.MouseEvent
- Initializes a new instance of
MouseEventwith the specified information. - MouseListener - interface java.awt.event.MouseListener.
- This interface is for classes that wish to receive mouse events other than simple motion events.
- MouseMotionAdapter - class java.awt.event.MouseMotionAdapter.
- This class implements
MouseMotionListenerand implements all methods with empty bodies. - MouseMotionAdapter() - Constructor for class java.awt.event.MouseMotionAdapter
- Do nothing default constructor for subclasses.
- MouseMotionListener - interface java.awt.event.MouseMotionListener.
- This interface is for classes that wish to be notified of mouse movements.
- MouseWheelEvent - class java.awt.event.MouseWheelEvent.
- This event is generated for a mouse wheel rotation.
- MouseWheelEvent(Component, int, long, int, int, int, int, boolean, int, int, int) - Constructor for class java.awt.event.MouseWheelEvent
- Initializes a new instance of
MouseWheelEventwith the specified information. - MouseWheelListener - interface java.awt.event.MouseWheelListener.
- This interface is for classes that wish to receive mouse wheel events.
- mask - Variable in class java.awt.event.AWTEventListenerProxy
- The event mask.
- modifiers - Variable in class java.awt.event.ActionEvent
- The bitmask of the modifiers that were pressed during the action.
- modifiers - Variable in class java.awt.event.InputEvent
- The old-style modifiers in effect for this event.
- modifiersEx - Variable in class java.awt.event.InputEvent
- The new-style modifiers in effect for this event.
- mouseClicked(MouseEvent) - Method in class java.awt.event.MouseAdapter
- Implements this method in the interface with an empty method body.
- mouseClicked(MouseEvent) - Method in interface java.awt.event.MouseListener
- This method is called when the mouse is clicked (pressed and released in short succession) on a component.
- mouseDragged(MouseEvent) - Method in class java.awt.event.MouseMotionAdapter
- Implement this method in the interface with an empty body.
- mouseDragged(MouseEvent) - Method in interface java.awt.event.MouseMotionListener
- This method is called when the mouse is moved over a component while a button has been pressed.
- mouseEntered(MouseEvent) - Method in class java.awt.event.MouseAdapter
- Implements this method in the interface with an empty method body.
- mouseEntered(MouseEvent) - Method in interface java.awt.event.MouseListener
- This method is called when the mouse enters a component.
- mouseExited(MouseEvent) - Method in class java.awt.event.MouseAdapter
- Implements this method in the interface with an empty method body.
- mouseExited(MouseEvent) - Method in interface java.awt.event.MouseListener
- This method is called when the mouse exits a component.
- mouseMoved(MouseEvent) - Method in class java.awt.event.MouseMotionAdapter
- Implement this method in the interface with an empty body.
- mouseMoved(MouseEvent) - Method in interface java.awt.event.MouseMotionListener
- This method is called when the mouse is moved over a component while no button is pressed.
- mousePressed(MouseEvent) - Method in class java.awt.event.MouseAdapter
- Implements this method in the interface with an empty method body.
- mousePressed(MouseEvent) - Method in interface java.awt.event.MouseListener
- This method is called when the mouse is pressed over a component.
- mouseReleased(MouseEvent) - Method in class java.awt.event.MouseAdapter
- Implements this method in the interface with an empty method body.
- mouseReleased(MouseEvent) - Method in interface java.awt.event.MouseListener
- This method is called when the mouse is released over a component.
- mouseWheelMoved(MouseWheelEvent) - Method in interface java.awt.event.MouseWheelListener
- This method is called when the mouse wheel is rotated.
N
- NOBUTTON - Static variable in class java.awt.event.MouseEvent
- This indicates that no button changed state.
- newState - Variable in class java.awt.event.WindowEvent
- The present state of the window.
- notifier - Variable in class java.awt.event.InvocationEvent
- This is the object to call
notifyAll()on when the call torun()returns, ornullif no object is to be notified.
O
- oldState - Variable in class java.awt.event.WindowEvent
- The former state of the window.
- opposite - Variable in class java.awt.event.FocusEvent
- The other component which is giving up or stealing focus from this component, if known.
- opposite - Variable in class java.awt.event.WindowEvent
- The other Window involved in a focus or activation change.
P
- PAINT - Static variable in class java.awt.event.PaintEvent
- This id is for paint event types.
- PAINT_FIRST - Static variable in class java.awt.event.PaintEvent
- This is the first id in the range of event ids used by this class.
- PAINT_LAST - Static variable in class java.awt.event.PaintEvent
- This is the last id in the range of event ids used by this class.
- PARENT_CHANGED - Static variable in class java.awt.event.HierarchyEvent
- This indicates that the HIERARCHY_CHANGED is a changed parent.
- PaintEvent - class java.awt.event.PaintEvent.
- This event is generated when an area of the screen needs to be painted.
- PaintEvent(Component, int, Rectangle) - Constructor for class java.awt.event.PaintEvent
- Initializes a new instance of
PaintEventwith the specified source, id, and update region. - paramString() - Method in class java.awt.event.ActionEvent
- Returns a string that identifies the action event.
- paramString() - Method in class java.awt.event.AdjustmentEvent
- Returns a string that describes the event.
- paramString() - Method in class java.awt.event.ComponentEvent
- This method returns a string identifying this event.
- paramString() - Method in class java.awt.event.ContainerEvent
- This method returns a string identifying this event.
- paramString() - Method in class java.awt.event.FocusEvent
- Returns a string identifying this event.
- paramString() - Method in class java.awt.event.HierarchyEvent
- This method returns a string identifying this event.
- paramString() - Method in class java.awt.event.InputMethodEvent
- This method returns a string identifying the event.
- paramString() - Method in class java.awt.event.InvocationEvent
- This method returns a string identifying this event.
- paramString() - Method in class java.awt.event.ItemEvent
- Returns a string identifying this event.
- paramString() - Method in class java.awt.event.KeyEvent
- Returns a string identifying the event.
- paramString() - Method in class java.awt.event.MouseEvent
- Returns a string identifying this event.
- paramString() - Method in class java.awt.event.MouseWheelEvent
- Returns a string identifying this event.
- paramString() - Method in class java.awt.event.PaintEvent
- Returns a string identifying this event.
- paramString() - Method in class java.awt.event.TextEvent
- Returns a string identifying this event.
- paramString() - Method in class java.awt.event.WindowEvent
- Returns a string that identifies this event.
- popupTrigger - Variable in class java.awt.event.MouseEvent
- Whether or not this event should trigger a popup menu.
R
- readObject(ObjectInputStream) - Method in class java.awt.event.InputMethodEvent
- Reads in the object from a serial stream, updating when to
EventQueue.getMostRecentEventTime()>
EventQueue.getMostRecentEventTime()55 if necessary. - readObject(ObjectInputStream) - Method in class java.awt.event.KeyEvent
- Reads in the object from a serial stream.
- readObject(ObjectInputStream) - Method in class java.awt.event.MouseEvent
- Reads in the object from a serial stream.
- runnable - Variable in class java.awt.event.InvocationEvent
- This is the
Runnableobject to call when dispatched.
S
- SELECTED - Static variable in class java.awt.event.ItemEvent
- This type indicates that the item was selected.
- SHIFT_DOWN_MASK - Static variable in class java.awt.event.InputEvent
- The SHIFT key extended modifier.
- SHIFT_MASK - Static variable in class java.awt.event.ActionEvent
- Bit mask indicating the shift key was pressed.
- SHIFT_MASK - Static variable in class java.awt.event.InputEvent
- This is the bit mask which indicates the shift key is down.
- SHOWING_CHANGED - Static variable in class java.awt.event.HierarchyEvent
- This indicates that the HIERARCHY_CHANGED is a changed visibility.
- scrollAmount - Variable in class java.awt.event.MouseWheelEvent
- Indicates the scroll amount.
- scrollType - Variable in class java.awt.event.MouseWheelEvent
- Indicates what scroll type should take place.
- serialVersionUID - Static variable in class java.awt.event.ActionEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.AdjustmentEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.ComponentEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.ContainerEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.FocusEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.HierarchyEvent
- Compatible with JDK 1.3+.
- serialVersionUID - Static variable in class java.awt.event.InputEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.InputMethodEvent
- Compatible with JDK 1.2+.
- serialVersionUID - Static variable in class java.awt.event.InvocationEvent
- Compatible with JDK 1.2+.
- serialVersionUID - Static variable in class java.awt.event.ItemEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.KeyEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.MouseEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.MouseWheelEvent
- Compatible with JDK 1.4+.
- serialVersionUID - Static variable in class java.awt.event.PaintEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.TextEvent
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.awt.event.WindowEvent
- Compatible with JDK 1.1+.
- setKeyChar(char) - Method in class java.awt.event.KeyEvent
- Sets the Unicode character for this event to the specified value.
- setKeyCode(int) - Method in class java.awt.event.KeyEvent
- Sets the key code for this event.
- setModifiers(int) - Method in class java.awt.event.KeyEvent
- Deprecated.
- setUpdateRect(Rectangle) - Method in class java.awt.event.PaintEvent
- Sets the rectangle to be updated for this event.
- stateChange - Variable in class java.awt.event.ItemEvent
- The state change direction, one of
ItemEvent.SELECTED55 orItemEvent.DESELECTED55 .
T
- TEXT_FIRST - Static variable in class java.awt.event.TextEvent
- This is the first id in the range of event ids used by this class.
- TEXT_LAST - Static variable in class java.awt.event.TextEvent
- This is the last id in the range of event ids used by this class.
- TEXT_VALUE_CHANGED - Static variable in class java.awt.event.TextEvent
- This event id indicates that the text of an object has changed.
- TRACK - Static variable in class java.awt.event.AdjustmentEvent
- Adjustment type for tracking adjustments.
- TextEvent - class java.awt.event.TextEvent.
- This event is generated when a text box changes contents.
- TextEvent(Object, int) - Constructor for class java.awt.event.TextEvent
- Initializes a new instance of
TextEventwith the specified source and id. - TextListener - interface java.awt.event.TextListener.
- This interface is for classes that wish to be notified when text changes in a component.
- temporary - Variable in class java.awt.event.FocusEvent
- Indicates whether or not the focus change is temporary.
- text - Variable in class java.awt.event.InputMethodEvent
- The input method text.
- textValueChanged(TextEvent) - Method in interface java.awt.event.TextListener
- This method is called when the text being monitored changes.
- throwable - Variable in class java.awt.event.InvocationEvent
- This is the caught Throwable thrown in the
run()method. - translatePoint(int, int) - Method in class java.awt.event.MouseEvent
- Translates the event coordinates by the specified x and y offsets.
U
- UNIT_DECREMENT - Static variable in class java.awt.event.AdjustmentEvent
- Adjustment type for unit decrements.
- UNIT_INCREMENT - Static variable in class java.awt.event.AdjustmentEvent
- Adjustment type for unit increments.
- UPDATE - Static variable in class java.awt.event.PaintEvent
- This id is for update event types.
- updateRect - Variable in class java.awt.event.PaintEvent
- This is the rectange to be painted or updated.
V
- VK_0 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_0.
- VK_1 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_1.
- VK_2 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_2.
- VK_3 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_3.
- VK_4 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_4.
- VK_5 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_5.
- VK_6 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_6.
- VK_7 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_7.
- VK_8 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_8.
- VK_9 - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_9.
- VK_A - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_A.
- VK_ACCEPT - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_ACCEPT.
- VK_ADD - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_ADD.
- VK_AGAIN - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_AGAIN.
- VK_ALL_CANDIDATES - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_ALL_CANDIDATES.
- VK_ALPHANUMERIC - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_ALPHANUMERIC.
- VK_ALT - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_ALT.
- VK_ALT_GRAPH - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_ALT_GRAPH.
- VK_AMPERSAND - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_AMPERSAND.
- VK_ASTERISK - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_ASTERISK.
- VK_AT - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_AT.
- VK_B - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_B.
- VK_BACK_QUOTE - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_BACK_QUOTE.
- VK_BACK_SLASH - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_BACK_SLASH.
- VK_BACK_SPACE - Static variable in class java.awt.event.KeyEvent
- The virtual key Backspace, which will always map to '\b'.
- VK_BRACELEFT - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_BRACELEFT.
- VK_BRACERIGHT - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_BRACERIGHT.
- VK_C - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_C.
- VK_CANCEL - Static variable in class java.awt.event.KeyEvent
- The virtual key Cancel.
- VK_CAPS_LOCK - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_CAPS_LOCK.
- VK_CIRCUMFLEX - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_CIRCUMFLEX.
- VK_CLEAR - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_CLEAR.
- VK_CLOSE_BRACKET - Static variable in class java.awt.event.KeyEvent
- The virtual key VK_CLOSE_BRACKET.