Control Class

Control Class

This Package | All Packages

Component
  |
  +--Control
public class Control
extends Component

Defines the base functionality of a Win32 control. All WFC controls are extended from this class.

Fields
Name Description
dbgControls Topic under construction.
DROPEFFECT_ALL Topic under construction.
DROPEFFECT_COPY Topic under construction.
DROPEFFECT_LINK Topic under construction.
DROPEFFECT_MOVE Topic under construction.
DROPEFFECT_NONE Topic under construction.
DROPEFFECT_SCROLL Topic under construction.
MB_LEFT Indicates that the left mouse button has been pressed
MB_MIDDLE Indicates that the middle mouse button has been pressed
MB_RIGHT Indicates that the right mouse button has been pressed
PROP_BACKCOLOR Indicates that the BackColor property has changed.
PROP_CURSOR Indicates that the Cursor property has changed.
PROP_ENABLED Indicates that the Enabled property has changed.
PROP_FONT Indicates that the Font property has changed.
PROP_FORECOLOR Indicates that the ForeColor property has changed.
PROP_LOCATION Indicates that the Location property has changed.
PROP_PARENTBACKCOLOR Indicates that the parent's BackColor property has changed.
PROP_PARENTFONT Indicates that the parent window's Font property has changed.
PROP_PARENTFORECOLOR Indicates that the parent window's ForeColor property has changed.
PROP_SIZE Indicates that the Size property has changed.
PROP_TABSTOP Indicates that the TabStop property has changed.
PROP_TEXT Indicates that the Text property has changed.
PROP_VISIBLE Indicates that the Visible property has changed.
STYLE_ACCEPTSCHILDREN Indicates whether the control will accept children.
STYLE_FIXED_HEIGHT Indicates whether the control has a fixed height.
STYLE_FIXED_WIDTH Indicates whether the control has a fixed width.
STYLE_FORM Indicates whether the control is a container for other controls.
STYLE_OPAQUE Indicates whether the control's background should be erased upon invalidation.
STYLE_OPTIMIZE_SIZEPAINT Indicates whether the control should erase the background when painting during resize.
STYLE_RESIZE_REDRAW Indicates whether the control should redraw on resize.
STYLE_STDCLICK Indicates that the control will receive standard click events.
STYLE_USERPAINT Indicates whether the control does its own painting.

Constructors
Name Description
Control() Creates a new control.
createControl() Topic under construction.
getTopLevelControl() Topic under construction.
selectNextControl(Control ctl, boolean forward, boolean tabStopOnly, boolean nested, boolean wrap) Topic under construction.

Methods
Name Description
add(Control control) Adds a child control to this control.
addOnChange(EventHandler value) Adds an event handler for the OnChange event notification.
addOnClick(EventHandler value) Adds an event handler for the OnClick event notification.
addOnCreate(CreateEventHandler value) Adds an event handler for the OnCreate event notification.
addOnDoubleClick(EventHandler value) Adds an event handler for the OnDoubleClick event notification.
addOnDragEnter(DragEventHandler value) Adds an event handler for the OnDragEnter event notification.
addOnDragLeave(EventHandler value) Adds an event handler for the OnDragLeave event notification.
addOnDragOver(DragEventHandler value) Adds an event handler for the OnDragOver event notification.
addOnDrop(DragEventHandler value) Adds an event handler for the OnDrop event notification.
addOnEnter(EventHandler value) Adds an event handler for the OnEnter event notification.
addOnGiveFeedback(GiveFeedbackEventHandler value) Adds an event handler for the OnGiveFeedback event notification.
addOnGotFocus(EventHandler value) Adds an event handler for the OnGotFocus event notification.
addOnHelp(EventHandler value) Adds an event handler for the OnHelp event notification.
addOnKeyDown(KeyEventHandler value) Adds an event handler for the OnKeyDown event notification.
addOnKeyPress(KeyEventHandler value) Adds an event handler for the OnKeyPress event notification.
addOnKeyUp(KeyEventHandler value) Adds an event handler for the OnKeyUp event notification.
addOnLeave(EventHandler value) Adds an event handler for the OnLeave event notification.
addOnLostFocus(EventHandler value) Adds an event handler for the OnLostFocus event notification.
addOnMouseDown(MouseEventHandler value) Adds an event handler for the OnMouseDown event notification.
addOnMouseEnter(EventHandler value) Adds an event handler for the OnMouseEnter event notification.
addOnMouseLeave(EventHandler value) Adds an event handler for the OnMouseLeave event notification.
addOnMouseMove(MouseEventHandler value) Adds an event handler for the OnMouseMove event notification.
addOnMouseUp(MouseEventHandler value) Adds an event handler for the OnMouseUp event notification.
addOnMouseWheel(MouseEventHandler value) Adds an event handler for the OnMouseWheel event notification.
addOnMove(EventHandler value) Adds an event handler for the OnMove event notification.
addOnPaint(PaintEventHandler value) Adds an event handler for the OnPaint event notification.
addOnQueryContinueDrag( QueryContinueDragEventHandler value) Adds an event handler for the OnQueryContinueDrag event notification.
addOnResize(EventHandler value) Adds an event handler for the OnResize event notification.
assignParent(Control value) Assigns a new parent control.
bringToFront() Brings this control to the front of the z-order.
canFocus() Checks if this control can receive focus.
canSelect() Checks if this control can be selected.
contains(Control ctl) Checks if a control is a child of this control.
createGraphics() Creates a Graphics for this control.
createGraphics(int dc) Creates a Graphics for this control.
dispose() Topic under construction.
doDragDrop(Object data, int allowedEffects) Topic under construction.
focus() Topic under construction.
fromChildHandle(int handle) Topic under construction.
fromHandle(int handle) Topic under construction.
getAcceleratorTable() Topic under construction.
getAllowDrop() Topic under construction.
getAnchor() Topic under construction.
getAxContainer() Topic under construction.
getBackColor() Topic under construction.
getBottom() Topic under construction.
getBounds() Topic under construction.
getBrush() Topic under construction.
getCapture() Topic under construction.
getChildAtPoint(Point pt) Topic under construction.
getClientRect() Topic under construction.
getClientSize() Topic under construction.
getContextMenu() Topic under construction.
getControl(int index) Topic under construction.
getControlCount() Topic under construction.
getControlIndex() Topic under construction.
getControls() Topic under construction.
getCreated() Topic under construction.
getCursor() Topic under construction.
getDesktop() Topic under construction.
getDisplayRect() Returns the client rectangle of the display area of the control.
getDock() Topic under construction.
getEnabled() Topic under construction.
getFocused() Topic under construction.
getFont() Topic under construction.
getForeColor() Topic under construction.
getForm() Topic under construction.
getHandle() Topic under construction.
getHandleCreated() Topic under construction.
getHeight() Topic under construction.
getIconic() Topic under construction.
getLeft() Topic under construction.
getLocation() Topic under construction.
getMnemonic(char charCode, String text) Topic under construction.
getModifierKeys() Topic under construction.
getMouseButtons() Topic under construction.
getNextControl(Control ctl, boolean forward) Topic under construction.
getPalette() Topic under construction.
getParent() Topic under construction.
getParentHandle() Topic under construction.
getRecreatingHandle() Topic under construction.
getRight() Topic under construction.
getSize() Topic under construction.
getStyle(int flag) Topic under construction.
getTabIndex() Topic under construction.
getTabList() Topic under construction.
getTabStop() Topic under construction.
getText() Topic under construction.
getTop() Topic under construction.
getTopLevel() Topic under construction.
getVisible() Topic under construction.
getWidth() Topic under construction.
getZoomed() Topic under construction.
hasDefaultBackColor() Topic under construction.
hasDefaultFont() Topic under construction.
hasDefaultForeColor() Topic under construction.
hide() Topic under construction.
invalidate() Topic under construction.
invalidateRect(Rectangle rc) Topic under construction.
isAncestor(Control ancestor) Topic under construction.
isDescendant(Control descendant) Topic under construction.
layout() Topic under construction.
layout(Control dockLast) Topic under construction.
onCreate(CreateEvent e) Inheriting classes should override this method to handle this event.
onDoubleClick(Event e) Inheriting classes should override this method to handle this event.
onDragEnter(DragEvent event) Inheriting classes should override this method to handle this event.
onDragLeave(Event event) Inheriting classes should override this method to handle this event.
onDragOver(DragEvent event) Inheriting classes should override this method to handle this event.
onDrop(DragEvent event) Inheriting classes should override this method to handle this event.
onEnter(Event event) Inheriting classes should override this method to handle this event.
onGiveFeedback(GiveFeedbackEvent event) Inheriting classes should override this method to handle this event.
onGotFocus(Event e) Inheriting classes should override this method to handle this event.
onHelp(Event e) Inheriting classes should override this method to handle this event.
onKeyDown(KeyEvent e) Inheriting classes should override this method to handle this event.
onKeyPress(KeyEvent e) Inheriting classes should override this method to handle this event.
onKeyUp(KeyEvent e) Inheriting classes should override this method to handle this event.
onLeave(Event e) Inheriting classes should override this method to handle this event.
onLostFocus(Event e) Inheriting classes should override this method to handle this event.
onMouseDown(MouseEvent e) Inheriting classes should override this method to handle this event.
onMouseEnter(Event e) Inheriting classes should override this method to handle this event.
onMouseLeave(Event e) Inheriting classes should override this method to handle this event.
onMouseMove(MouseEvent e) Inheriting classes should override this method to handle this event.
onMouseUp(MouseEvent e) Inheriting classes should override this method to handle this event.
onMouseWheel(MouseEvent e) Inheriting classes should override this method to handle this event.
onMove(Event e) Inheriting classes should override this method to handle this event.
onPaint(PaintEvent e) Inheriting classes should override this method to handle this event.
onQueryContinueDrag(QueryContinueDragEvent event) Inheriting classes should override this method to handle this event.
onResize(Event e) Inheriting classes should override this method to handle this event.
pointToClient(Point p) Topic under construction.
pointToScreen(Point p) Topic under construction.
preProcessMessage(MSG msg) This method is called by the application's message loop to preprocess input messages before they are dispatched.
processCmdKey(MSG msg, int keyData) Processes a command key.
rectToClient(Rectangle r) Topic under construction.
rectToScreen(Rectangle r) Topic under construction.
remove(Control control) Topic under construction.
removeOnChange(EventHandler value) Removes the given handler for the OnChange event.
removeOnClick(EventHandler value) Removes the given handler for the OnClick event.
removeOnCreate(CreateEventHandler value) Removes the given handler for the OnCreate event.
removeOnDoubleClick(EventHandler value) Removes the given handler for the OnDoubleClick event.
removeOnDragEnter(DragEventHandler value) Removes the given handler for the OnDragEnter event.
removeOnDragLeave(EventHandler value) Removes the given handler for the OnDragLeave event.
removeOnDragOver(DragEventHandler value) Removes the given handler for the OnDragOver event.
removeOnDrop(DragEventHandler value) Removes the given handler for the OnDragEvent event.
removeOnEnter(EventHandler value) Removes the given handler for the OnEnter event.
removeOnGiveFeedback(GiveFeedbackEventHandler value) Removes the given handler for the OnGiveFeedback event.
removeOnGotFocus(EventHandler value) Removes the given handler for the OnGotFocus event.
removeOnHelp(EventHandler value) Removes the given handler for the OnHelp event.
removeOnKeyDown(KeyEventHandler value) Removes the given handler for the OnKeyDown event.
removeOnKeyPress(KeyEventHandler value) Removes the given handler for the OnKeyPress event.
removeOnKeyUp(KeyEventHandler value) Removes the given handler for the OnKeyUp event.
removeOnLeave(EventHandler value) Removes the given handler for the OnLeave event.
removeOnLostFocus(EventHandler value) Removes the given handler for the OnLostFocus event.
removeOnMouseDown(MouseEventHandler value) Removes the given handler for the OnMouseDown event.
removeOnMouseEnter(EventHandler value) Removes the given handler for the OnMouseEnter event.
removeOnMouseLeave(EventHandler value) Removes the given handler for the OnMouseLeave event.
removeOnMouseMove(MouseEventHandler value) Removes the given handler for the OnMouseMove event.
removeOnMouseUp(MouseEventHandler value) Removes the given handler for the OnMouseUp event.
removeOnMouseWheel(MouseEventHandler value) Removes the given handler for the OnMouseWheel event.
removeOnMove(EventHandler value) Removes the given handler for the OnMove event.
removeOnPaint(PaintEventHandler value) Removes the given handler for the OnPaint event.
removeOnQueryContinueDrag( QueryContinueDragEventHandler value) Removes the given handler for the OnQueryContinueDrag event.
removeOnResize(EventHandler value) Removes the given handler for the OnResize event.
resumeLayout() Topic under construction.
scale(float ratio) Topic under construction.
scale(float dx, float dy) Topic under construction.
select() Topic under construction.
select(boolean directed, boolean forward) Topic under construction.
sendToBack() sends this control to the back of the z-order
setAcceleratorTable(AcceleratorTable accel) Topic under construction.
setAllowDrop(boolean allowDrop) Topic under construction.
setAnchor(int value) Topic under construction.
setBackColor(Color value) Topic under construction.
setBounds(Rectangle value) Topic under construction.
setBounds(int x, int y, int width, int height) Topic under construction.
setBoundsBatch(ControlRect[] items) Topic under construction.
setBrush(Brush br) Topic under construction.
setCapture(boolean value) Topic under construction.
setClientSize(Point size) Topic under construction.
setContextMenu(ContextMenu contextMenu) Topic under construction.
setControlIndex(int value) Topic under construction.
setControls(Control[] value) Topic under construction.
setCursor(Cursor value) Topic under construction.
setDock(int value) Topic under construction.
setEnabled(boolean enabled) Topic under construction.
setFont(Font value) Topic under construction.
setForeColor(Color value) Topic under construction.
setHeight(int value) Topic under construction.
setLocation(int x, int y) Topic under construction.
setLocation(Point value) Topic under construction.
setNewControls(Control[] value) Topic under construction.
setParent(Control value) Topic under construction.
setParentHandle(int value) Topic under construction.
setPositionInfo(PositionInfo info)

Note Use setBounds(), setDock(), and setAnchor() instead

setSite(ISite value) Topic under construction.
setSize(int width, int height) Topic under construction.
setSize(Point value) Topic under construction.
setStyle(int flag, boolean value) Topic under construction.
setTabIndex(int value) Sets the index of this control.
setTabStop(boolean value) Topic under construction.
setText(String value) Topic under construction.
setTopLevel(boolean value) Topic under construction.
setVisible(boolean value) Topic under construction.
setWidth(int value) Topic under construction.
show() Topic under construction.
suspendLayout() Topic under construction.
update() Topic under construction.
updateStyles() Topic under construction.

Fields

Control.dbgControls

Syntax
static public HashTable dbgControls;
Description
Topic under construction.

Control.DROPEFFECT_ALL

Syntax
public static final int DROPEFFECT_ALL;
Description
Topic under construction.

Control.DROPEFFECT_COPY

Syntax
public static final int DROPEFFECT_COPY;
Description
Topic under construction.

Control.DROPEFFECT_LINK

Syntax
public static final int DROPEFFECT_LINK;
Description
Topic under construction.

Control.DROPEFFECT_MOVE

Syntax
public static final int DROPEFFECT_MOVE;
Description
Topic under construction.

Control.DROPEFFECT_NONE

Syntax
public static final int DROPEFFECT_NONE;
Description
Topic under construction.

Control.DROPEFFECT_SCROLL

Syntax
public static final int DROPEFFECT_SCROLL;
Description
Topic under construction.

Control.MB_LEFT

Syntax
public static final int MB_LEFT;
Description
Indicates that the left mouse button has been pressed

Control.MB_MIDDLE

Syntax
public static final int MB_MIDDLE;
Description
Indicates that the middle mouse button has been pressed

Control.MB_RIGHT

Syntax
public static final int MB_RIGHT;
Description
Indicates that the right mouse button has been pressed

Control.PROP_BACKCOLOR

Syntax
public static final int PROP_BACKCOLOR;
Description
Indicates that the BackColor property has changed.

Control.PROP_CURSOR

Syntax
public static final int PROP_CURSOR;
Description
Indicates that the Cursor property has changed.

Control.PROP_ENABLED

Syntax
public static final int PROP_ENABLED;
Description
Indicates that the Enabled property has changed.

Control.PROP_FONT

Syntax
public static final int PROP_FONT;
Description
Indicates that the Font property has changed.

Control.PROP_FORECOLOR

Syntax
public static final int PROP_FORECOLOR;
Description
Indicates that the ForeColor property has changed.

Control.PROP_LOCATION

Syntax
public static final int PROP_LOCATION;
Description
Indicates that the Location property has changed.

Control.PROP_PARENTBACKCOLOR

Syntax
public static final int PROP_PARENTBACKCOLOR;
Description
Indicates that the parent's BackColor property has changed.

Control.PROP_PARENTFONT

Syntax
public static final int PROP_PARENTFONT;
Description
Indicates that the parent window's Font property has changed.

Control.PROP_PARENTFORECOLOR

Syntax
public static final int PROP_PARENTFORECOLOR;
Description
Indicates that the parent window's ForeColor property has changed.

Control.PROP_SIZE

Syntax
public static final int PROP_SIZE;
Description
Indicates that the Size property has changed.

Control.PROP_TABSTOP

Syntax
public static final int PROP_TABSTOP;
Description
Indicates that the TabStop property has changed.

Control.PROP_TEXT

Syntax
public static final int PROP_TEXT;
Description
Indicates that the Text property has changed.

Control.PROP_VISIBLE

Syntax
public static final int PROP_VISIBLE;
Description
Indicates that the Visible property has changed.

Control.STYLE_ACCEPTSCHILDREN

Syntax
public static final int STYLE_ACCEPTSCHILDREN;
Description
Indicates whether the control will accept children.

Control.STYLE_FIXED_HEIGHT

Syntax
public static final int STYLE_FIXED_HEIGHT;
Description
Indicates whether the control has a fixed height.

Control.STYLE_FIXED_WIDTH

Syntax
public static final int STYLE_FIXED_WIDTH;
Description
Indicates whether the control has a fixed width.

Control.STYLE_FORM

Syntax
public static final int STYLE_FORM;
Description
Indicates whether the control is a container for other controls.

Control.STYLE_OPAQUE

Syntax
public static final int STYLE_OPAQUE;
Description
Indicates whether the control's background should be erased upon invalidation.

Control.STYLE_OPTIMIZE_SIZEPAINT

Syntax
public static final int STYLE_OPTIMIZE_SIZEPAINT;
Description
Indicates whether the control should erase the background when painting during resize.

Control.STYLE_RESIZE_REDRAW

Syntax
public static final int STYLE_RESIZE_REDRAW;
Description
Indicates whether the control should redraw on resize.

Control.STYLE_STDCLICK

Syntax
public static final int STYLE_STDCLICK;
Description
Indicates that the control will receive standard click events.

Control.STYLE_USERPAINT

Syntax
public static final int STYLE_USERPAINT;
Description
Indicates whether the control does its own painting.

Constructors

Control.Control

Syntax
public Control();
Description

Creates a new control. This constructor is typically not called directly. Instead, it is called from a the constructor of a descendant class.

Control.createControl

Syntax
public void createControl();
Description

Topic under construction.

Control.getTopLevelControl

Syntax
public boolean getTopLevelControl();
Description

Topic under construction.

Control.selectNextControl

Syntax
public boolean selectNextControl( Control ctl, boolean forward, boolean tabStopOnly, boolean nested, boolean wrap );
Description

Topic under construction.

Methods

Control.add

Syntax
public void add( Control control );
Parameters
control
The child control to be added.
Description

Adds a child control to this control. The control becomes the last control in the child control list. If the control is already a child of another control, it is first removed from that control.

Exceptions

RuntimeException thrown if the specified control is a top-level control or if a circular control reference would result.

See Also
remove, setParent

Control.addOnChange

Syntax
public void addOnChange( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnChange event notification. Duplicates are not filtered out.

See Also
removeOnChange

Control.addOnClick

Syntax
public void addOnClick( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnClick event notification. Duplicates are not filtered out.

See Also
removeOnClick

Control.addOnCreate

Syntax
public void addOnCreate( CreateEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnCreate event notification. Duplicates are not filtered out.

See Also
removeOnCreate

Control.addOnDoubleClick

Syntax
public void addOnDoubleClick( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnDoubleClick event notification. Duplicates are not filtered out.

See Also
removeOnDoubleClick

Control.addOnDragEnter

Syntax
public void addOnDragEnter( DragEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnDragEnter event notification. Duplicates are not filtered out.

See Also
removeOnDragEnter

Control.addOnDragLeave

Syntax
public void addOnDragLeave( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnDragLeave event notification. Duplicates are not filtered out.

See Also
removeOnDragLeave

Control.addOnDragOver

Syntax
public void addOnDragOver( DragEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnDragOver event notification. Duplicates are not filtered out.

See Also
removeOnDragOver

Control.addOnDrop

Syntax
public void addOnDrop( DragEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnDrop event notification. Duplicates are not filtered out.

See Also
removeOnDrop

Control.addOnEnter

Syntax
public void addOnEnter( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnEnter event notification. Duplicates are not filtered out.

See Also
removeOnEnter

Control.addOnGiveFeedback

Syntax
public void addOnGiveFeedback( GiveFeedbackEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnGiveFeedback event notification. Duplicates are not filtered out.

See Also
removeOnGiveFeedback

Control.addOnGotFocus

Syntax
public void addOnGotFocus( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnGotFocus event notification. Duplicates are not filtered out.

See Also
removeOnGotFocus

Control.addOnHelp

Syntax
public void addOnHelp( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnHelp event notification. Duplicates are not filtered out.

See Also
removeOnHelp

Control.addOnKeyDown

Syntax
public void addOnKeyDown( KeyEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnKeyDown event notification. Duplicates are not filtered out.

See Also
removeOnKeyDown

Control.addOnKeyPress

Syntax
public void addOnKeyPress( KeyEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnKeyPress event notification. Duplicates are not filtered out.

See Also
removeOnKeyPress

Control.addOnKeyUp

Syntax
public void addOnKeyUp( KeyEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnKeyUp event notification. Duplicates are not filtered out.

See Also
removeOnKeyUp

Control.addOnLeave

Syntax
public void addOnLeave( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnLeave event notification. Duplicates are not filtered out.

See Also
removeOnLeave

Control.addOnLostFocus

Syntax
public void addOnLostFocus( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnLostFocus event notification. Duplicates are not filtered out.

See Also
removeOnLostFocus

Control.addOnMouseDown

Syntax
public void addOnMouseDown( MouseEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnMouseDown event notification. Duplicates are not filtered out.

See Also
removeOnMouseDown

Control.addOnMouseEnter

Syntax
public void addOnMouseEnter( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnMouseEnter event notification. Duplicates are not filtered out.

See Also
removeOnMouseEnter

Control.addOnMouseLeave

Syntax
public void addOnMouseLeave( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnMouseLeave event notification. Duplicates are not filtered out.

See Also
removeOnMouseLeave

Control.addOnMouseMove

Syntax
public void addOnMouseMove( MouseEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnMouseMove event notification. Duplicates are not filtered out.

See Also
removeOnMouseMove

Control.addOnMouseUp

Syntax
public void addOnMouseUp( MouseEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnMouseUp event notification. Duplicates are not filtered out.

See Also
removeOnMouseUp

Control.addOnMouseWheel

Syntax
public void addOnMouseWheel( MouseEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnMouseWheel event notification. Duplicates are not filtered out.

See Also
removeOnMouseWheel

Control.addOnMove

Syntax
public void addOnMove( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnMove event notification. Duplicates are not filtered out.

See Also
removeOnMove

Control.addOnPaint

Syntax
public void addOnPaint( PaintEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnPaint event notification. Duplicates are not filtered out.

See Also
removeOnPaint

Control.addOnQueryContinueDrag

Syntax
public void addOnQueryContinueDrag( QueryContinueDragEventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnQueryContinueDrag event notification. Duplicates are not filtered out.

See Also
removeOnQueryContinueDrag

Control.addOnResize

Syntax
public void addOnResize( EventHandler value );
Parameters
value
New handler to install for this event.
Description

Adds an event handler for the OnResize event notification. Duplicates are not filtered out.

See Also
removeOnResize

Control.assignParent

Syntax
protected void assignParent( Control value );
Parameters
value
The new parent control.
Description

Assigns a new parent control. Sends out the appropriate property change notifications for properties that are affected by the change of parent.

Control.bringToFront

Syntax
public void bringToFront();
Description

Brings this control to the front of the z-order.

Control.canFocus

Syntax
public boolean canFocus();
Return Value

Returns whether this control can receive focus.

Description

Checks if this control can receive focus. The result is true if the control has a handle and if it and all of its parent controls are both visible and enabled.

See Also
focus, isFocused

Control.canSelect

Syntax
public boolean canSelect();
Return Value

Returns whether this control can be selected.

Description

Checks if this control can be selected. The result is true if the control is contained in a form and if all of its parent controls are both visible and enabled.

See Also
isSelected, select

Control.contains

Syntax
public boolean contains( Control ctl );
Parameters
ctl
The control to check.
Return Value

Returns whether ctl is a child of this control.

Description

Checks if a control is a child of this control.

Control.createGraphics

Syntax 1
public Graphics createGraphics();
Return Value

Returns the Graphics for this control.

Description

Creates a Graphics for this control. The control's brush, font, foreground color, and background color become the default values for the Graphics. The returned Graphics must be disposed through a call to its dispose() method when it is no longer needed.



Syntax 2
public Graphics createGraphics( int dc );
Return Value

Returns the Graphics for this control.

Description

Creates a Graphics for this control. This graphic uses the device context (DC) passed to it as its main window's DC. The control's brush, font, foreground color, and background color become the default values for the Graphics. The returned Graphics must be disposed through a call to its dispose() method when it is no longer needed.

Control.dispose

Syntax
public void dispose();
Description

Topic under construction.

Control.doDragDrop

Syntax
public final int doDragDrop( Object data, int allowedEffects );
Description

Topic under construction.

Control.focus

Syntax
public boolean focus();
Description

Topic under construction.

Control.fromChildHandle

Syntax
public static Control fromChildHandle( int handle );
Description

Topic under construction.

Control.fromHandle

Syntax
public static Control fromHandle( int handle );
Description

Topic under construction.

Control.getAcceleratorTable

Syntax
public AcceleratorTable getAcceleratorTable();
Description

Topic under construction.

Control.getAllowDrop

Syntax
public boolean getAllowDrop();
Description

Topic under construction.

Control.getAnchor

Syntax
public int getAnchor();
Description

Topic under construction.

Control.getAxContainer

Syntax
public AxHost.Container getAxContainer();
Description

Topic under construction.

Control.getBackColor

Syntax
public Color getBackColor();
Description

Topic under construction.

Control.getBottom

Syntax
public int getBottom();
Description

Topic under construction.

Control.getBounds

Syntax
public Rectangle getBounds();
Description

Topic under construction.

Control.getBrush

Syntax
public Brush getBrush();
Description

Topic under construction.

Control.getCapture

Syntax
public boolean getCapture();
Description

Topic under construction.

Control.getChildAtPoint

Syntax
public Control getChildAtPoint( Point pt );
Description

Topic under construction.

Control.getClientRect

Syntax
public Rectangle getClientRect();
Description

Topic under construction.

Control.getClientSize

Syntax
public Point getClientSize();
Description

Topic under construction.

Control.getContextMenu

Syntax
public ContextMenu getContextMenu();
Description

Topic under construction.

Control.getControl

Syntax
public Control getControl( int index );
Description

Topic under construction.

Control.getControlCount

Syntax
public int getControlCount();
Description

Topic under construction.

Control.getControlIndex

Syntax
public int getControlIndex();
Description

Topic under construction.

Control.getControls

Syntax
public Control[] getControls();
Description

Topic under construction.

Control.getCreated

Syntax
public boolean getCreated();
Description

Topic under construction.

Control.getCursor

Syntax
public Cursor getCursor();
Description

Topic under construction.

Control.getDesktop

Syntax
public static Control getDesktop();
Description

Topic under construction.

Control.getDisplayRect

Syntax
public Rectangle getDisplayRect();
Return Value

Returns the rectangle representing the client area display region.

Description

Returns the client rectangle of the display area of the control. For the base control class, this is identical to getClientRect. However, extending controls can change this if their client area differs from their display area.

Control.getDock

Syntax
public int getDock();
Description

Topic under construction.

Control.getEnabled

Syntax
public boolean getEnabled();
Description

Topic under construction.

Control.getFocused

Syntax
public boolean getFocused();
Description

Topic under construction.

Control.getFont

Syntax
public Font getFont();
Description

Topic under construction.

Control.getForeColor

Syntax
public Color getForeColor();
Description

Topic under construction.

Control.getForm

Syntax
public Form getForm();
Description

Topic under construction.

Control.getHandle

Syntax
public int getHandle();
Description

Topic under construction.

Control.getHandleCreated

Syntax
public boolean getHandleCreated();
Description

Topic under construction.

Control.getHeight

Syntax
public int getHeight();
Description

Topic under construction.

Control.getIconic

Syntax
public boolean getIconic();
Description

Topic under construction.

Control.getLeft

Syntax
public int getLeft();
Description

Topic under construction.

Control.getLocation

Syntax
public Point getLocation();
Description

Topic under construction.

Control.getMnemonic

Syntax
public static boolean getMnemonic( char charCode, String text );
Description

Topic under construction.

Control.getModifierKeys

Syntax
public static int getModifierKeys();
Description

Topic under construction.

Control.getMouseButtons

Syntax
public static int getMouseButtons();
Description

Topic under construction.

Control.getNextControl

Syntax
public Control getNextControl( Control ctl, boolean forward );
Description

Topic under construction.

Control.getPalette

Syntax
public Palette getPalette();
Description

Topic under construction.

Control.getParent

Syntax
public Control getParent();
Description

Topic under construction.

Control.getParentHandle

Syntax
public int getParentHandle();
Description

Topic under construction.

Control.getRecreatingHandle

Syntax
public boolean getRecreatingHandle();
Description

Topic under construction.

Control.getRight

Syntax
public int getRight();
Description

Topic under construction.

Control.getSize

Syntax
public Point getSize();
Description

Topic under construction.

Control.getStyle

Syntax
public boolean getStyle( int flag );
Description

Topic under construction.

Control.getTabIndex

Syntax
public int getTabIndex();
Description

Topic under construction.

Control.getTabList

Syntax
public Control[] getTabList();
Description

Topic under construction.

Control.getTabStop

Syntax
public boolean getTabStop();
Description

Topic under construction.

Control.getText

Syntax
public String getText();
Description

Topic under construction.

Control.getTop

Syntax
public int getTop();
Description

Topic under construction.

Control.getTopLevel

Syntax
public boolean getTopLevel();
Description

Topic under construction.

Control.getVisible

Syntax
public boolean getVisible();
Description

Topic under construction.

Control.getWidth

Syntax
public int getWidth();
Description

Topic under construction.

Control.getZoomed

Syntax
public boolean getZoomed();
Description

Topic under construction.

Control.hasDefaultBackColor

Syntax
public boolean hasDefaultBackColor();
Description

Topic under construction.

Control.hasDefaultFont

Syntax
public boolean hasDefaultFont();
Description

Topic under construction.

Control.hasDefaultForeColor

Syntax
public boolean hasDefaultForeColor();
Description

Topic under construction.

Control.hide

Syntax
public final void hide();
Description

Topic under construction.

Control.invalidate

Syntax
public void invalidate();
Description

Topic under construction.

Control.invalidateRect

Syntax
public void invalidateRect( Rectangle rc );
Description

Topic under construction.

Control.isAncestor

Syntax
public boolean isAncestor( Control ancestor );
Description

Topic under construction.

Control.isDescendant

Syntax
public boolean isDescendant( Control descendant );
Description

Topic under construction.

Control.layout

Syntax 1
public final void layout();
Description

Topic under construction.



Syntax 2
public final void layout( Control dockLast );
Description

Topic under construction.

Control.onCreate

Syntax
protected void onCreate( CreateEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onCreate to send this event to any registered event listeners.

See Also
addOnCreate, removeOnCreate

Control.onDoubleClick

Syntax
protected void onDoubleClick( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onDoubleClick to send this event to any registered event listeners.

See Also
addOnDoubleClick, removeOnDoubleClick

Control.onDragEnter

Syntax
protected void onDragEnter( DragEvent event );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onDragEnter to send this event to any registered event listeners.

See Also
addOnDragEnter, removeOnDragEnter

Control.onDragLeave

Syntax
protected void onDragLeave( Event event );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onDragLeave to send this event to any registered event listeners.

See Also
addOnDragLeave, removeOnDragLeave

Control.onDragOver

Syntax
protected void onDragOver( DragEvent event );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onDragOver to send this event to any registered event listeners.

See Also
addOnDragOver, removeOnDragOver

Control.onDrop

Syntax
protected void onDrop( DragEvent event );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onDrop to send this event to any registered event listeners.

See Also
addOnDrop, removeOnDrop

Control.onEnter

Syntax
protected void onEnter( Event event );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onEnter to send this event to any registered event listeners.

See Also
addOnEnter, removeOnEnter

Control.onGiveFeedback

Syntax
protected void onGiveFeedback( GiveFeedbackEvent event );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onGiveFeedback to send this event to any registered event listeners.

See Also
addOnGiveFeedback, removeOnGiveFeedback

Control.onGotFocus

Syntax
protected void onGotFocus( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onGotFocus to send this event to any registered event listeners.

See Also
addOnGotFocus, removeOnGotFocus

Control.onHelp

Syntax
protected void onHelp( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onHelp to send this event to any registered event listeners.

See Also
addOnHelp, removeOnHelp

Control.onKeyDown

Syntax
protected void onKeyDown( KeyEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onKeyDown to send this event to any registered event listeners.

See Also
addOnKeyDown, removeOnKeyDown

Control.onKeyPress

Syntax
protected void onKeyPress( KeyEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onKeyPress to send this event to any registered event listeners.

See Also
addOnKeyPress, removeOnKeyPress

Control.onKeyUp

Syntax
protected void onKeyUp( KeyEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onKeyUp to send this event to any registered event listeners.

See Also
addOnKeyUp, removeOnKeyUp

Control.onLeave

Syntax
protected void onLeave( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onLeave to send this event to any registered event listeners.

See Also
addOnLeave, removeOnLeave

Control.onLostFocus

Syntax
protected void onLostFocus( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onLostFocus to send this event to any registered event listeners.

See Also
addOnLostFocus, removeOnLostFocus

Control.onMouseDown

Syntax
protected void onMouseDown( MouseEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onMouseDown to send this event to any registered event listeners.

See Also
addOnMouseDown, removeOnMouseDown

Control.onMouseEnter

Syntax
protected void onMouseEnter( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onMouseEnter to send this event to any registered event listeners.

See Also
addOnMouseEnter, removeOnMouseEnter

Control.onMouseLeave

Syntax
protected void onMouseLeave( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onMouseLeave to send this event to any registered event listeners.

See Also
addOnMouseLeave, removeOnMouseLeave

Control.onMouseMove

Syntax
protected void onMouseMove( MouseEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onMouseMove to send this event to any registered event listeners.

See Also
addOnMouseMove, removeOnMouseMove

Control.onMouseUp

Syntax
protected void onMouseUp( MouseEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onMouseUp to send this event to any registered event listeners.

See Also
addOnMouseUp, removeOnMouseUp

Control.onMouseWheel

Syntax
protected void onMouseWheel( MouseEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onMouseWheel to send this event to any registered event listeners.

See Also
addOnMouseWheel, removeOnMouseWheel

Control.onMove

Syntax
protected void onMove( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onMove to send this event to any registered event listeners.

See Also
addOnMove, removeOnMove

Control.onPaint

Syntax
protected void onPaint( PaintEvent e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onPaint to send this event to any registered event listeners.

See Also
addOnPaint, removeOnPaint

Control.onQueryContinueDrag

Syntax
protected void onQueryContinueDrag( QueryContinueDragEvent event );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onQueryContinueDrag to send this event to any registered event listeners.

See Also
addOnQueryContinueDrag, removeOnQueryContinueDrag

Control.onResize

Syntax
protected void onResize( Event e );
Parameters
e
The event.
Description

Inheriting classes should override this method to handle this event. Call super.onResize to send this event to any registered event listeners.

See Also
addOnResize, removeOnResize

Control.pointToClient

Syntax
public Point pointToClient( Point p );
Description

Topic under construction.

Control.pointToScreen

Syntax
public Point pointToScreen( Point p );
Description

Topic under construction.

Control.preProcessMessage

Syntax
public boolean preProcessMessage( MSG msg );
Description

This method is called by the application's message loop to preprocess input messages before they are dispatched. Possible values for the msg.message field are WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, and WM_SYSCHAR. If this method processes the message, it must return true. In this case, the message loop will not dispatch the message. For WM_KEYDOWN and WM_SYSKEYDOWN messages, preProcessMessage() first calls processCmdKey() to check for command keys such as accelerators and menu shortcuts. If processCmdKey() doesn't process the message, then isInputKey() is called to check whether the key message represents an input key for the control. Finally, if isInputKey() indicates that the control isn't interested in the key message, processDialogKey() is called to check for dialog keys such as TAB, arrow keys, and mnemonics. For WM_CHAR messages, preProcessMessage() first calls isInputChar() to check whether the character message represents an input character for the control. If isInputChar() indicates that the control isn't interested in the character message, processDialogChar() is called to check for dialog characters such as mnemonics. For WM_SYSCHAR messages, preProcessMessage() calls processDialogChar() to check for dialog characters such as mnemonics. When overriding preProcessMessage(), a control should return true to indicate that it has processed the message. For messages that aren't processed by the control, the result of super.preProcessMessage() should be returned. Controls will typically override one of the more specialized methods (isInputChar(), isInputKey(), processCmdKey(), processDialogChar(), or processDialogKey()) instead of overriding preProcessMessage().

Control.processCmdKey

Syntax
protected boolean processCmdKey( MSG msg, int keyData );
Description

Processes a command key. Command keys are keys that take precedence over regular input keys. Examples of command keys are accelerators and menu shortcuts. The method must return true to indicate that it has processed the command key or return false to indicate that the key is not a command key. The processCmdKey() method first checks if the control has a context menu. If it does, it calls the menu's processCmdKey() to check for menu shortcuts. Next, the control's accelerator table (if present) is given a chance to process the key. Finally, if the control has a parent, the key is passed to the parent's processCmdKey() method. The net effect is that command keys are bubbled up the control hierarchy. When overriding processCmdKey(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the return of super.processCmdKey() should be returned.

Control.rectToClient

Syntax
public Rectangle rectToClient( Rectangle r );
Description

Topic under construction.

Control.rectToScreen

Syntax
public Rectangle rectToScreen( Rectangle r );
Description

Topic under construction.

Control.remove

Syntax
public void remove( Control control );
Description

Topic under construction.

Control.removeOnChange

Syntax
public void removeOnChange( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnChange event. If there are duplicate entries, all are removed.

See Also
addOnChange

Control.removeOnClick

Syntax
public void removeOnClick( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnClick event. If there are duplicate entries, all are removed.

See Also
addOnClick

Control.removeOnCreate

Syntax
public void removeOnCreate( CreateEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnCreate event. If there are duplicate entries, all are removed.

See Also
addOnCreate

Control.removeOnDoubleClick

Syntax
public void removeOnDoubleClick( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnDoubleClick event. If there are duplicate entries, all are removed.

See Also
addOnDoubleClick

Control.removeOnDragEnter

Syntax
public void removeOnDragEnter( DragEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnDragEnter event. If there are duplicate entries, all are removed.

See Also
addOnDragEnter

Control.removeOnDragLeave

Syntax
public void removeOnDragLeave( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnDragLeave event. If there are duplicate entries, all are removed.

See Also
addOnDragLeave

Control.removeOnDragOver

Syntax
public void removeOnDragOver( DragEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnDragOver event. If there are duplicate entries, all are removed.

See Also
addOnDragOver

Control.removeOnDrop

Syntax
public void removeOnDrop( DragEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnDragEvent event. If there are duplicate entries, all are removed.

See Also
addOnDrop

Control.removeOnEnter

Syntax
public void removeOnEnter( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnEnter event. If there are duplicate entries, all are removed.

See Also
addOnEnter

Control.removeOnGiveFeedback

Syntax
public void removeOnGiveFeedback( GiveFeedbackEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnGiveFeedback event. If there are duplicate entries, all are removed.

See Also
addOnGiveFeedback

Control.removeOnGotFocus

Syntax
public void removeOnGotFocus( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnGotFocus event. If there are duplicate entries, all are removed.

See Also
addOnGotFocus

Control.removeOnHelp

Syntax
public void removeOnHelp( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnHelp event. If there are duplicate entries, all are removed.

See Also
addOnHelp

Control.removeOnKeyDown

Syntax
public void removeOnKeyDown( KeyEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnKeyDown event. If there are duplicate entries, all are removed.

See Also
addOnKeyDown

Control.removeOnKeyPress

Syntax
public void removeOnKeyPress( KeyEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnKeyPress event. If there are duplicate entries, all are removed.

See Also
addOnKeyPress

Control.removeOnKeyUp

Syntax
public void removeOnKeyUp( KeyEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnKeyUp event. If there are duplicate entries, all are removed.

See Also
addOnKeyUp

Control.removeOnLeave

Syntax
public void removeOnLeave( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnLeave event. If there are duplicate entries, all are removed.

See Also
addOnLeave

Control.removeOnLostFocus

Syntax
public void removeOnLostFocus( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnLostFocus event. If there are duplicate entries, all are removed.

See Also
addOnLostFocus

Control.removeOnMouseDown

Syntax
public void removeOnMouseDown( MouseEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnMouseDown event. If there are duplicate entries, all are removed.

See Also
addOnMouseDown

Control.removeOnMouseEnter

Syntax
public void removeOnMouseEnter( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnMouseEnter event. If there are duplicate entries, all are removed.

See Also
addOnMouseEnter

Control.removeOnMouseLeave

Syntax
public void removeOnMouseLeave( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnMouseLeave event. If there are duplicate entries, all are removed.

See Also
addOnMouseLeave

Control.removeOnMouseMove

Syntax
public void removeOnMouseMove( MouseEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnMouseMove event. If there are duplicate entries, all are removed.

See Also
addOnMouseMove

Control.removeOnMouseUp

Syntax
public void removeOnMouseUp( MouseEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnMouseUp event. If there are duplicate entries, all are removed.

See Also
addOnMouseUp

Control.removeOnMouseWheel

Syntax
public void removeOnMouseWheel( MouseEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnMouseWheel event. If there are duplicate entries, all are removed.

See Also
addOnMouseWheel

Control.removeOnMove

Syntax
public void removeOnMove( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnMove event. If there are duplicate entries, all are removed.

See Also
addOnMove

Control.removeOnPaint

Syntax
public void removeOnPaint( PaintEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnPaint event. If there are duplicate entries, all are removed.

See Also
addOnPaint

Control.removeOnQueryContinueDrag

Syntax
public void removeOnQueryContinueDrag( QueryContinueDragEventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnQueryContinueDrag event. If there are duplicate entries, all are removed.

See Also
addOnQueryContinueDrag

Control.removeOnResize

Syntax
public void removeOnResize( EventHandler value );
Parameters
value
Event handler to be removed.
Description

Removes the given handler for the OnResize event. If there are duplicate entries, all are removed.

See Also
addOnResize

Control.resumeLayout

Syntax
public void resumeLayout();
Description

Topic under construction.

Control.scale

Syntax 1
public final void scale( float ratio );
Description

Topic under construction.



Syntax 2
public final void scale( float dx, float dy );
Description

Topic under construction.

Control.select

Syntax 1
public void select();
Description

Topic under construction.



Syntax 2
public void select( boolean directed, boolean forward );
Description

Topic under construction.

Control.sendToBack

Syntax
public void sendToBack();
Description

sends this control to the back of the z-order

Control.setAcceleratorTable

Syntax
public void setAcceleratorTable( AcceleratorTable accel );
Description

Topic under construction.

Control.setAllowDrop

Syntax
public void setAllowDrop( boolean allowDrop );
Description

Topic under construction.

Control.setAnchor

Syntax
public void setAnchor( int value );
Description

Topic under construction.

Control.setBackColor

Syntax
public void setBackColor( Color value );
Description

Topic under construction.

Control.setBounds

Syntax 1
public final void setBounds( Rectangle value );
Description

Topic under construction.



Syntax 2
public final void setBounds( int x, int y, int width, int height );
Description

Topic under construction.

Control.setBoundsBatch

Syntax
public void setBoundsBatch( ControlRect[] items );
Description

Topic under construction.

Control.setBrush

Syntax
public void setBrush( Brush br );
Description

Topic under construction.

Control.setCapture

Syntax
public void setCapture( boolean value );
Description

Topic under construction.

Control.setClientSize

Syntax
public void setClientSize( Point size );
Description

Topic under construction.

Control.setContextMenu

Syntax
public void setContextMenu( ContextMenu contextMenu );
Description

Topic under construction.

Control.setControlIndex

Syntax
public void setControlIndex( int value );
Description

Topic under construction.

Control.setControls

Syntax
public void setControls( Control[] value );
Description

Topic under construction.

Control.setCursor

Syntax
public void setCursor( Cursor value );
Description

Topic under construction.

Control.setDock

Syntax
public void setDock( int value );
Description

Topic under construction.

Control.setEnabled

Syntax
public void setEnabled( boolean enabled );
Description

Topic under construction.

Control.setFont

Syntax
public void setFont( Font value );
Description

Topic under construction.

Control.setForeColor

Syntax
public void setForeColor( Color value );
Description

Topic under construction.

Control.setHeight

Syntax
public void setHeight( int value );
Description

Topic under construction.

Control.setLocation

Syntax 1
public void setLocation( int x, int y );
Description

Topic under construction.



Syntax 2
public void setLocation( Point value );
Description

Topic under construction.

Control.setNewControls

Syntax
public void setNewControls( Control[] value );
Description

Topic under construction.

Control.setParent

Syntax
public void setParent( Control value );
Description

Topic under construction.

Control.setParentHandle

Syntax
public void setParentHandle( int value );
Description

Topic under construction.

Control.setPositionInfo

Syntax
public void setPositionInfo( PositionInfo info );
Description

Note Use setBounds(), setDock(), and setAnchor() instead

Control.setSite

Syntax
public void setSite( ISite value );
Description

Topic under construction.

Control.setSize

Syntax 1
public void setSize( int width, int height );
Description

Topic under construction.



Syntax 2
public void setSize( Point value );
Description

Topic under construction.

Control.setStyle

Syntax
public void setStyle( int flag, boolean value );
Description

Topic under construction.

Control.setTabIndex

Syntax
public void setTabIndex( int value );
Parameters
index
The index to set the control to.
Description

Sets the index of this control. The index must be between 0 and parent.getControlCount() - 1. A tab index determines the tabbing order of child controls.

Control.setTabStop

Syntax
public void setTabStop( boolean value );
Description

Topic under construction.

Control.setText

Syntax
public void setText( String value );
Description

Topic under construction.

Control.setTopLevel

Syntax
public void setTopLevel( boolean value );
Description

Topic under construction.

Control.setVisible

Syntax
public void setVisible( boolean value );
Description

Topic under construction.

Control.setWidth

Syntax
public void setWidth( int value );
Description

Topic under construction.

Control.show

Syntax
public final void show();
Description

Topic under construction.

Control.suspendLayout

Syntax
public void suspendLayout();
Description

Topic under construction.

Control.update

Syntax
public void update();
Description

Topic under construction.

Control.updateStyles

Syntax
public void updateStyles();
Description

Topic under construction.