Changeset 86:bef1ed4ebc50
- Timestamp:
- 02/06/08 15:33:24
(1 year ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
again copied events from dwt-linux
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0 |
r86 |
|
| 21 | 21 | * such as a menu item, is armed. |
|---|
| 22 | 22 | * <p> |
|---|
| 23 | | * After creating an instance of a class that extends |
|---|
| | 23 | * After creating an instance of a class that : |
|---|
| 24 | 24 | * this interface it can be added to a widget using the |
|---|
| 25 | 25 | * <code>addArmListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 21 | 21 | * and resizing controls. |
|---|
| 22 | 22 | * <p> |
|---|
| 23 | | * After creating an instance of a class that extends |
|---|
| | 23 | * After creating an instance of a class that : |
|---|
| 24 | 24 | * this interface it can be added to a control using the |
|---|
| 25 | 25 | * <code>addControlListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * is disposed. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a widget using the |
|---|
| 26 | 26 | * <code>addDisposeListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * gesture is detected. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addDragDetectListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a <code>ExpandBar</code> |
|---|
| 26 | 26 | * control using the <code>addExpandListener</code> method and |
|---|
| r0 |
r86 |
|
| 22 | 22 | * gain and lose focus. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addFocusListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * requested for a control, typically when the user presses F1. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addHelpListener</code> method and removed using |
|---|
| r48 |
r86 |
|
| 99 | 99 | * @return a string representation of the event |
|---|
| 100 | 100 | */ |
|---|
| 101 | | override public char[] toString() { |
|---|
| | 101 | public override char[] toString() { |
|---|
| 102 | 102 | return Format( "{} character={} keyCode={} stateMask={} doit={}}", |
|---|
| 103 | 103 | super.toString[ 0 .. $-2 ], |
|---|
| r0 |
r86 |
|
| 22 | 22 | * are pressed on the system keyboard. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addKeyListener</code> method and removed using |
|---|
| r48 |
r86 |
|
| 68 | 68 | * @return a string representation of the event |
|---|
| 69 | 69 | */ |
|---|
| 70 | | override public char[] toString() { |
|---|
| | 70 | public override char[] toString() { |
|---|
| 71 | 71 | return Format( "{} x={} y={} doit={}}", super.toString[ 0 .. $-2 ], x, y, doit ); |
|---|
| 72 | 72 | } |
|---|
| r0 |
r86 |
|
| 23 | 23 | * detected. |
|---|
| 24 | 24 | * <p> |
|---|
| 25 | | * After creating an instance of a class that extends |
|---|
| | 25 | * After creating an instance of a class that : |
|---|
| 26 | 26 | * this interface it can be added to a control or TrayItem |
|---|
| 27 | 27 | * using the <code>addMenuDetectListener</code> method and |
|---|
| r0 |
r86 |
|
| 21 | 21 | * that deal with the hiding and showing of menus. |
|---|
| 22 | 22 | * <p> |
|---|
| 23 | | * After creating an instance of a class that extends |
|---|
| | 23 | * After creating an instance of a class that : |
|---|
| 24 | 24 | * this interface it can be added to a menu using the |
|---|
| 25 | 25 | * <code>addMenuListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * is modified. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a text widget using the |
|---|
| 26 | 26 | * <code>addModifyListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 94 | 94 | * @return a string representation of the event |
|---|
| 95 | 95 | */ |
|---|
| 96 | | public char[] toString() { |
|---|
| | 96 | public override char[] toString() { |
|---|
| 97 | 97 | return Format( "{} button={} stateMask={} x={} y={} count={}}", |
|---|
| 98 | | super.toString[ 0 .. $-2 ], |
|---|
| | 98 | super.toString[ 0 .. $-1 ], |
|---|
| 99 | 99 | button, stateMask, x, y, count ); |
|---|
| 100 | 100 | } |
|---|
| r0 |
r86 |
|
| 22 | 22 | * are pressed. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addMouseListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * pointer moves. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addMouseMoveListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * pointer passes (or hovers) over controls. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addMouseTrackListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * wheel is scrolled. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addMouseWheelListener</code> method and removed using |
|---|
| r48 |
r86 |
|
| 93 | 93 | * @return a string representation of the event |
|---|
| 94 | 94 | */ |
|---|
| 95 | | override public char[] toString() { |
|---|
| | 95 | public override char[] toString() { |
|---|
| 96 | 96 | return Format( "{} gc={} x={} y={} width={} height={} count={}}", |
|---|
| 97 | | super.toString[ 0 .. $-2 ], |
|---|
| 98 | | gc, x, y, width, height, count ); |
|---|
| | 97 | super.toString[ 0 .. $-1 ], |
|---|
| | 98 | gc is null ? "null" : gc.toString, |
|---|
| | 99 | x, |
|---|
| | 100 | y, |
|---|
| | 101 | width, |
|---|
| | 102 | height, |
|---|
| | 103 | count ); |
|---|
| 99 | 104 | } |
|---|
| 100 | 105 | } |
|---|
| r0 |
r86 |
|
| 22 | 22 | * control needs to be painted. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addPaintListener</code> method and removed using |
|---|
| r48 |
r86 |
|
| 129 | 129 | * @return a string representation of the event |
|---|
| 130 | 130 | */ |
|---|
| 131 | | override public char[] toString() { |
|---|
| | 131 | public override char[] toString() { |
|---|
| 132 | 132 | return Format( "{} item={} detail={} x={} y={} width={} height={} stateMask={} text={} doit={}}", |
|---|
| 133 | 133 | super.toString[ 0 .. $-2 ], |
|---|
| r0 |
r86 |
|
| 22 | 22 | * occurs in a control. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addSelectionListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 53 | 53 | * @return a string representation of the event |
|---|
| 54 | 54 | */ |
|---|
| 55 | | public char[] toString() { |
|---|
| | 55 | public override char[] toString() { |
|---|
| 56 | 56 | return Format( "{} doit={}}", super.toString[ 0 .. $-2 ], doit ); |
|---|
| 57 | 57 | } |
|---|
| r0 |
r86 |
|
| 21 | 21 | * that deal with changes in state of <code>Shell</code>s. |
|---|
| 22 | 22 | * <p> |
|---|
| 23 | | * After creating an instance of a class that extends |
|---|
| | 23 | * After creating an instance of a class that : |
|---|
| 24 | 24 | * this interface it can be added to a shell using the |
|---|
| 25 | 25 | * <code>addShellListener</code> method and removed using |
|---|
| r48 |
r86 |
|
| 132 | 132 | * @return a string representation of the event |
|---|
| 133 | 133 | */ |
|---|
| 134 | | override public char[] toString() { |
|---|
| | 134 | public override char[] toString() { |
|---|
| 135 | 135 | return Format( "{} detail={}}", super.toString[ 0 .. $-2 ], detail ); |
|---|
| 136 | 136 | } |
|---|
| r0 |
r86 |
|
| 22 | 22 | * traverse event occurs in a control. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a control using the |
|---|
| 26 | 26 | * <code>addTraverseListener</code> method and removed using |
|---|
| r0 |
r86 |
|
| 22 | 22 | * branches. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a tree control using the |
|---|
| 26 | 26 | * <code>addTreeListener</code> method and removed using |
|---|
| r48 |
r86 |
|
| 99 | 99 | * @return a string representation of the event |
|---|
| 100 | 100 | */ |
|---|
| 101 | | override public char[] toString() { |
|---|
| 102 | | return Format( "{}{{{} time={} data={}}", widget.toString(), time, data.toString() ); |
|---|
| | 101 | public override char[] toString() { |
|---|
| | 102 | char[] str_widget = widget is null ? "null" : widget.toString; |
|---|
| | 103 | char[] str_data = data is null ? "null" : data.toString; |
|---|
| | 104 | return Format( "{}{{time={} data={}}", str_widget, time, str_data ); |
|---|
| 103 | 105 | } |
|---|
| 104 | 106 | } |
|---|
| r48 |
r86 |
|
| 61 | 61 | * @return a string representation of the event |
|---|
| 62 | 62 | */ |
|---|
| 63 | | override public char[] toString() { |
|---|
| | 63 | public override char[] toString() { |
|---|
| 64 | 64 | return Format( "{} start={} end={} text={}}", super.toString[ 0 .. $-2 ], start, end, text ); |
|---|
| 65 | 65 | } |
|---|
| r0 |
r86 |
|
| 22 | 22 | * is about to be modified. |
|---|
| 23 | 23 | * <p> |
|---|
| 24 | | * After creating an instance of a class that extends |
|---|
| | 24 | * After creating an instance of a class that : |
|---|
| 25 | 25 | * this interface it can be added to a text control using the |
|---|
| 26 | 26 | * <code>addVerifyListener</code> method and removed using |
|---|