Package totalcross.ui.event
Class Listener
- java.lang.Object
-
- totalcross.ui.event.Listener
-
public class Listener extends java.lang.ObjectA class that represents an event Listener. Holds the type of the event and the listener itself.- Since:
- Totalcross 1.22
-
-
Field Summary
Fields Modifier and Type Field Description static intENABLEDstatic intFOCUSstatic intGRIDstatic intHIGHLIGHTstatic intKEYstatic intLISTCONTAINERjava.lang.ObjectlistenerThe control that's listening to the event.static intMOUSEstatic intMULTITOUCHstatic intPENstatic intPRESSstatic intPUSHNOTIFICATIONjava.lang.ObjecttargetThe target control.static intTIMERinttypeThe type of the event.static intWINDOW
-
Constructor Summary
Constructors Constructor Description Listener(java.lang.Object target, int type, java.lang.Object listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)
-
-
-
Field Detail
-
PEN
public static final int PEN
- See Also:
- Constant Field Values
-
WINDOW
public static final int WINDOW
- See Also:
- Constant Field Values
-
GRID
public static final int GRID
- See Also:
- Constant Field Values
-
FOCUS
public static final int FOCUS
- See Also:
- Constant Field Values
-
PRESS
public static final int PRESS
- See Also:
- Constant Field Values
-
TIMER
public static final int TIMER
- See Also:
- Constant Field Values
-
KEY
public static final int KEY
- See Also:
- Constant Field Values
-
HIGHLIGHT
public static final int HIGHLIGHT
- See Also:
- Constant Field Values
-
MOUSE
public static final int MOUSE
- See Also:
- Constant Field Values
-
LISTCONTAINER
public static final int LISTCONTAINER
- See Also:
- Constant Field Values
-
ENABLED
public static final int ENABLED
- See Also:
- Constant Field Values
-
MULTITOUCH
public static final int MULTITOUCH
- See Also:
- Constant Field Values
-
PUSHNOTIFICATION
public static final int PUSHNOTIFICATION
- See Also:
- Constant Field Values
-
type
public int type
The type of the event.
-
listener
public java.lang.Object listener
The control that's listening to the event.
-
target
public java.lang.Object target
The target control.
-
-