Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.swt.events: Javadoc index of package org.eclipse.swt.events.


Package Samples:

org.eclipse.swt.events

Classes:

TraverseEvent: Instances of this class are sent as a result of widget traversal actions. The traversal event allows fine control over keyboard traversal in a control both to implement traversal and override the default traversal behavior defined by the system. This is achieved using two fields, detail and doit . When a control is traversed, a traverse event is sent. The detail describes the type of traversal and the doit indicates the default behavior of the system. For example, when a right arrow key is pressed in a text control, the detail field is TRAVERSE_ARROW_NEXT and the doit field is false , indicating ...
MouseTrackListener: Classes which implement this interface provide methods that deal with the events that are generated as the mouse pointer passes (or hovers) over controls. After creating an instance of a class that implements this interface it can be added to a control using the addMouseTrackListener method and removed using the removeMouseTrackListener method. When the mouse pointer passes into or out of the area of the screen covered by a control or pauses while over a control, the appropriate method will be invoked.
HelpListener: Classes which implement this interface provide a method that deals with the event that is generated when help is requested for a control, typically when the user presses F1. After creating an instance of a class that implements this interface it can be added to a control using the addHelpListener method and removed using the removeHelpListener method. When help is requested for a control, the helpRequested method will be invoked.
TraverseListener: Classes which implement this interface provide a method that deals with the events that are generated when a traverse event occurs in a control. After creating an instance of a class that implements this interface it can be added to a control using the addTraverseListener method and removed using the removeTraverseListener method. When a traverse event occurs in a control, the keyTraversed method will be invoked.
VerifyListener: Classes which implement this interface provide a method that deals with the events that are generated when text is about to be modified. After creating an instance of a class that implements this interface it can be added to a text widget using the addVerifyListener method and removed using the removeVerifyListener method. When the text is about to be modified, the verifyText method will be invoked.
SelectionListener: Classes which implement this interface provide methods that deal with the events that are generated when selection occurs in a control. After creating an instance of a class that implements this interface it can be added to a control using the addSelectionListener method and removed using the removeSelectionListener method. When selection occurs in a control the appropriate method will be invoked.
KeyListener: Classes which implement this interface provide methods that deal with the events that are generated as keys are pressed on the system keyboard. After creating an instance of a class that implements this interface it can be added to a control using the addKeyListener method and removed using the removeKeyListener method. When a key is pressed or released, the appropriate method will be invoked.
MouseListener: Classes which implement this interface provide methods that deal with the events that are generated as mouse buttons are pressed. After creating an instance of a class that implements this interface it can be added to a control using the addMouseListener method and removed using the removeMouseListener method. When a mouse button is pressed or released, the appropriate method will be invoked.
ControlListener: Classes which implement this interface provide methods that deal with the events that are generated by moving and resizing controls. After creating an instance of a class that implements this interface it can be added to a control using the addControlListener method and removed using the removeControlListener method. When a control is moved or resized, the appropriate method will be invoked.
FocusListener: Classes which implement this interface provide methods that deal with the events that are generated as controls gain and lose focus. After creating an instance of a class that implements this interface it can be added to a control using the addFocusListener method and removed using the removeFocusListener method. When a control gains or loses focus, the appropriate method will be invoked.
PaintListener: Classes which implement this interface provide methods that deal with the events that are generated when the control needs to be painted. After creating an instance of a class that implements this interface it can be added to a control using the addPaintListener method and removed using the removePaintListener method. When a paint event occurs, the paintControl method will be invoked.
ArmListener: Classes which implement this interface provide a method that deals with the event that is generated when a widget, such as a menu item, is armed. After creating an instance of a class that implements this interface it can be added to a widget using the addArmListener method and removed using the removeArmListener method. When the widget is armed, the widgetArmed method will be invoked.
TreeListener: Classes which implement this interface provide methods that deal with the expanding and collapsing of tree branches. After creating an instance of a class that implements this interface it can be added to a control using the addTreeListener method and removed using the removeTreeListener method. When a branch of a tree is expanded or collapsed, the appropriate method will be invoked.
DisposeListener: Classes which implement this interface provide a method that deals with the event that is generated when a widget is disposed. After creating an instance of a class that implements this interface it can be added to a widget using the addDisposeListener method and removed using the removeDisposeListener method. When a widget is disposed, the widgetDisposed method will be invoked.
ModifyListener: Classes which implement this interface provide a method that deals with the events that are generated when text is modified. After creating an instance of a class that implements this interface it can be added to a text widget using the addModifyListener method and removed using the removeModifyListener method. When the text is modified, the modifyText method will be invoked.
MouseMoveListener: Classes which implement this interface provide a method that deals with the events that are generated as the mouse pointer moves. After creating an instance of a class that implements this interface it can be added to a control using the addMouseMoveListener method and removed using the removeMouseMoveListener method. As the mouse moves, the mouseMove method will be invoked.
ShellListener: Classes which implement this interface provide methods that deal with changes in state of Shell s. After creating an instance of a class that implements this interface it can be added to a control using the addShellListener method and removed using the removeShellListener method. When the state of a shell changes, the appropriate method will be invoked.
MouseEvent: Instances of this class are sent whenever mouse related actions occur. This includes mouse buttons being pressed and released, the mouse pointer being moved and the mouse pointer crossing widget boundaries. Note: The button field is an integer that represents the mouse button number. This is not the same as the SWT mask constants BUTTONx .
MenuListener: Classes which implement this interface provide methods that deal with the hiding and showing of menus. After creating an instance of a class that implements this interface it can be added to a control using the addMenuListener method and removed using the removeMenuListener method. When a menu is hidden or shown, the appropriate method will be invoked.
MouseTrackAdapter: This adapter class provides default implementations for the methods described by the MouseTrackListener interface. Classes that wish to deal with MouseEvent s which occur as the mouse pointer passes (or hovers) over controls can extend this class and override only the methods which they are interested in.
MouseAdapter: This adapter class provides default implementations for the methods described by the MouseListener interface. Classes that wish to deal with MouseEvent s which occur as mouse buttons are pressed and released can extend this class and override only the methods which they are interested in.
SelectionAdapter: This adapter class provides default implementations for the methods described by the SelectionListener interface. Classes that wish to deal with SelectionEvent s can extend this class and override only the methods which they are interested in.
ControlAdapter: This adapter class provides default implementations for the methods described by the ControlListener interface. Classes that wish to deal with ControlEvent s can extend this class and override only the methods which they are interested in.
ShellAdapter: This adapter class provides default implementations for the methods described by the ShellListener interface. Classes that wish to deal with ShellEvent s can extend this class and override only the methods which they are interested in.
FocusAdapter: This adapter class provides default implementations for the methods described by the FocusListener interface. Classes that wish to deal with FocusEvent s can extend this class and override only the methods which they are interested in.

Home | Contact Us | Privacy Policy | Terms of Service