int childID
Accessible accessible
int x
int y
int width
int height
int detail
java.lang.String result
java.lang.Object[] children
int start
AccessibleEditableTextListener.copyText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.cutText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.pasteText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.replaceText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
int end
AccessibleEditableTextListener.copyText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.cutText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.replaceText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
java.lang.String string
java.lang.String result
ACC.OK
if the operation
was completed successfully, and null
otherwise.AccessibleEditableTextListener.copyText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.cutText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.pasteText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
,
AccessibleEditableTextListener.replaceText(org.eclipse.swt.accessibility.AccessibleEditableTextEvent)
int childID
java.lang.String result
Accessible accessible
java.lang.String result
int index
Accessible accessible
Accessible[] accessibles
boolean isSelected
int count
int index
Accessible accessible
Accessible[] accessibles
java.lang.String result
int column
int row
int count
boolean isSelected
int[] selected
int offset
int start
int end
TextStyle textStyle
java.lang.String[] attributes
java.lang.String result
ACC.OK
if the operation
was completed successfully, and null otherwise.int childID
int offset
int length
Accessible accessible
java.lang.String result
int count
int index
int start
int end
int type
int x
int y
int width
int height
int[] ranges
Rectangle[] rectangles
java.lang.String location
java.lang.String user
java.lang.String password
boolean doit
false
will cancel the operation.boolean required
Browser
to handle the new window.Browser browser
Browser
provided by the application.Point location
Shell
hosting the Browser
.
It is null
if no location has been requested.Point size
Browser
size. The client area of the Shell
hosting the Browser
should be large enough to accommodate that size.
It is null
if no size has been requested.boolean addressBar
Shell
hosting the Browser
should
display an address bar.boolean menuBar
Shell
hosting the Browser
should
display a menu bar. Note that this is always true
on OS X.boolean statusBar
Shell
hosting the Browser
should
display a status bar.boolean toolBar
Shell
hosting the Browser
should
display a tool bar.Widget item
boolean doit
false
will cancel the operation.
Applies to the close and showList events.int x
int y
int width
int height
int lineOffset
java.lang.String lineText
Color lineBackground
int lineOffset
java.lang.String lineText
int[] ranges
StyleRange[] styles
ranges
can be used to share
styles and reduce memory usage.int alignment
int indent
int wrapIndent
boolean justify
Bullet bullet
int bulletIndex
int[] tabStops
GC gc
int x
int y
int ascent
int descent
StyleRange style
Bullet bullet
int bulletIndex
int start
java.lang.String newText
int replaceCharCount
int newCharCount
int replaceLineCount
int newLineCount
int detail
boolean doit
Flag to determine if the drag and drop operation should proceed. The application can set this value to false to prevent the drag from starting. Set to true by default.
In dragSetData:
This will be set to true when the call to dragSetData is made. Set it to false to cancel the drag.
In dragFinished:
Flag to indicate if the operation was performed successfully. True if the operation was performed successfully.
int x
int y
TransferData dataType
Image image
A value of null indicates that no drag image will be displayed.
The default value is null.
int offsetX
int offsetY
int x
Display
int y
Display
int detail
DND.DROP_NONE
,
DND.DROP_MOVE
,
DND.DROP_COPY
,
DND.DROP_LINK
,
DND.DROP_DEFAULT
int operations
DND.DROP_NONE
,
DND.DROP_MOVE
,
DND.DROP_COPY
,
DND.DROP_LINK
,
DND.DROP_DEFAULT
int feedback
A value of DND.FEEDBACK_NONE indicates that no drag under effect will be displayed.
Feedback effects will only be applied if they are applicable.
The default value is DND.FEEDBACK_SELECT.
Widget item
TransferData currentDataType
TransferData[] dataTypes
int stateMask
SWT.MODIFIER_MASK
,
SWT.BUTTON_MASK
int detail
SWT.GESTURE_BEGIN
SWT.GESTURE_END
SWT.GESTURE_MAGNIFY
SWT.GESTURE_PAN
SWT.GESTURE_ROTATE
SWT.GESTURE_SWIPE
GestureEvent
fields that contain valid data.int x
detail
field
and the platform. It can represent either the x coordinate of the centroid of the
touches that make up the gesture, or the x coordinate of the cursor at the time the
gesture was performed.int y
detail
field
and the platform. It can represent either the y coordinate of the centroid of the
touches that make up the gesture, or the y coordinate of the cursor at the time the
gesture was performed.double rotation
detail
field is set to GESTURE_ROTATE
.
It specifies the number of degrees rotated on the device since the gesture started. Positive
values indicate counter-clockwise rotation, and negative values indicate clockwise rotation.int xDirection
detail
field is set to GESTURE_SWIPE
or GESTURE_PAN
. Both xDirection
and yDirection
can be valid for an individual gesture. The meaning of this field is dependent on the value
of the detail
field.
If detail
is GESTURE_SWIPE
then a positive value indicates a swipe
to the right and a negative value indicates a swipe to the left.
If detail
is GESTURE_PAN
then a positive value indicates a pan to
the right by this field's count of pixels and a negative value indicates a pan to the left
by this field's count of pixels.
int yDirection
detail
field is set to GESTURE_SWIPE
or GESTURE_PAN
. Both xDirection
and yDirection
can be valid for an individual gesture. The meaning of this field is dependent on the value
of the detail
field.
If detail
is GESTURE_SWIPE
then a positive value indicates a downward
swipe and a negative value indicates an upward swipe.
If detail
is GESTURE_PAN
then a positive value indicates a downward
pan by this field's count of pixels and a negative value indicates an upward pan by this
field's count of pixels.double magnification
detail
field is set to GESTURE_MAGNIFY
.
This is the scale factor to be applied. This value will be 1.0 in the first received event with
GESTURE_MAGNIFY
, and will then fluctuate in subsequent events as the user moves
their fingers.boolean doit
false
will cancel the operation.char character
int keyCode
SWT
.
When the character field of the event is ambiguous, this field
contains the unicode value of the original character. For example,
typing Ctrl+M or Return both result in the character '\r' but the
keyCode field will also contain '\r' when Return was typed.SWT
int keyLocation
SWT.LEFT
, SWT.RIGHT
, SWT.KEYPAD
,
or SWT.NONE
representing the main keyboard area.
The location field can be used to differentiate key events that have the same key code and character but are generated by different keys on the keyboard. For example, a key down event with the key code equal to SWT.SHIFT can be generated by the left and the right shift keys on the keyboard.
The location field can only be used to determine the location of the key code or character in the current event. It does not include information about the location of modifiers in the state mask.
SWT.LEFT
,
SWT.RIGHT
,
SWT.KEYPAD
int stateMask
SWT.MODIFIER_MASK
,
SWT.BUTTON_MASK
boolean doit
false
will cancel the operation.int x
int y
boolean doit
false
will cancel the operation.int detail
MENU_MOUSE
),
or by a focus-based device such as a keyboard (MENU_KEYBOARD
).
If the trigger was MENU_KEYBOARD
, then the application should
provide new display-relative x and y coordinates based on the current
selection or the current focus.int button
int stateMask
SWT.MODIFIER_MASK
,
SWT.BUTTON_MASK
int x
int y
int count
GC gc
int x
int y
int width
int height
int count
int lineOffset
lineText
relative to text (always zero for single line widget)java.lang.String lineText
int[] segments
char[] segmentsChars
Widget item
int detail
Sash
ScrollBar and Slider
Table and Tree
Text
CoolItem and ToolItem
int x
int y
int width
int height
int stateMask
java.lang.String text
Link.setText(String)
boolean doit
false
will cancel the
operation, depending on the widget.Touch[] touches
Touch
int stateMask
SWT.MODIFIER_MASK
,
SWT.BUTTON_MASK
int x
int y
int detail
SWT.TRAVERSE_NONE
SWT.TRAVERSE_ESCAPE
SWT.TRAVERSE_RETURN
SWT.TRAVERSE_TAB_NEXT
SWT.TRAVERSE_TAB_PREVIOUS
SWT.TRAVERSE_ARROW_NEXT
SWT.TRAVERSE_ARROW_PREVIOUS
SWT.TRAVERSE_MNEMONIC
SWT.TRAVERSE_PAGE_NEXT
SWT.TRAVERSE_PAGE_PREVIOUS
TRAVERSE_NONE
causes no traversal action to be taken.
When used in conjunction with the doit
field, the
traversal detail field can be useful when overriding the default
traversal mechanism for a control. For example, setting the doit
field to false
will cancel the operation and allow
the traversal key stroke to be delivered to the control. Setting
the doit field to true
indicates that the traversal
described by the detail field is to be performed.Display display
Widget widget
int time
java.lang.Object data
int start
int end
java.lang.String text
ImageData imageData
endOfImage
flag is false, then this is a
partially complete copy of the current ImageData
,
otherwise this is a completely loaded ImageData
int incrementCount
boolean endOfImage