Control is the abstract superclass of all windowed user interface classes.
字段摘要 | |
---|---|
String |
background
Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null. |
String |
backgroundImage
Sets the receiver's background image to the image specified by the argument, or to the default system color for the control if the argument is null. |
String |
bounds
Sets the receiver's size and location to the rectangular area specified by the arguments. |
String |
capture
If the argument is true , causes the receiver to have all mouse events delivered to it until the method is called with false as the argument. |
String |
cls
样式名称。 |
String |
cursor
Sets the receiver's cursor to the cursor specified by the argument, or to the default cursor for that kind of control if the argument is null. |
String |
enabled
Enables the receiver if the argument is true , and disables it otherwise. |
String |
font
Sets the font that the receiver will use to paint textual information to the font specified by the argument, or to the default font for that kind of control if the argument is null. |
String |
foreground
Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null. |
String |
layoutData
Sets the layout data associated with the receiver to the argument. |
String |
location
Sets the receiver's location to the point specified by the arguments which are relative to the receiver's parent (or its display if its parent is null), unless the receiver is a shell. |
String |
menu
Sets the receiver's pop up menu to the argument. |
String |
parent
Changes the parent of the widget to be the one provided if the underlying operating system supports this feature. |
String |
redraw
If the argument is false , causes subsequent drawing operations in the receiver to be ignored. |
String |
region
Sets the shape of the control to the region specified by the argument. |
String |
size
Sets the receiver's size to the point specified by the arguments. |
String |
toolTipText
Sets the receiver's tool tip text to the argument, which may be null indicating that no tool tip text should be shown. |
String |
varref(变量引用)
引用上下文中的其他变量。 |
String |
visible
Marks the receiver as visible if the argument is true , and marks it invisible otherwise. |
String |
xw_cl_global(全局变量)
如果是全局变量,那么它将会放入到动作上下文中的索引为0的变量范围中。 |
String |
xw_cl_namespace(名字空间)
如果指定了名字空间,那么放入到指定的名字空间中。 |
String |
xw_cl_varName(变量名)
放入到动作上下文中的变量名称,如果没有则不放入到变量上下文中。 |
方法摘要 | |
---|---|
|
addObjectToContext
|
|
init
参数 :control |
子事物摘要 | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
ControlListener
Classes which implement this interface provide methods that deal with the events that are generated by moving and resizing controls. |
|||||||||||||||||||||||||||||||||||||||||||
|
DisposeListener
Classes which implement this interface provide a method that deals with the event that is generated when a widget is disposed. |
|||||||||||||||||||||||||||||||||||||||||||
|
DragDetectListener
background
backgroundImage
bounds
capture
cls
cursor
enabled
font
foreground
layoutData
location
menu
parent
redraw
region
size
toolTipText
varref(变量引用)
visible
xw_cl_global(全局变量)
xw_cl_namespace(名字空间)
xw_cl_varName(变量名)
addObjectToContextinit
ControlListener
DisposeListener
DragDetectListener
DragSource
DropTarget
FocusListener
FormData
GridData
HelpListener
KeyListener
Listeners
ListenersPrepared
Menu
MenuDetectListener
MouseListener
MouseMoveListener
MouseTrackListener
MouseWheelListener
PaintListener
RowData
TraverseListener
|