ewe.ui
Interface ControlConstants

All Known Subinterfaces:
UIConstants
All Known Implementing Classes:
Control, Graphics, Gui, TableCellAttributes, TableModel

public interface ControlConstants


Field Summary
static int All
           
static int AlwaysEnabled
          Control Modifier - sets the control to always be enabled, regardless of the Disabled flag.
static int AlwaysRecalculateSizes
          Control Modifier - forces the control to always do a full recalculation of its preferred size rather than using a cached version.
static int ByDeferredMouse
          An option for requestFocus(), gotFocus() and lostFocus().
static int ByDeferredPen
          An option for requestFocus(), gotFocus() and lostFocus().
static int ByFrameChange
          An option for requestFocus(), gotFocus() and lostFocus().
static int ByKeyboard
          An option for requestFocus(), gotFocus() and lostFocus().
static int ByMouse
          An option for requestFocus(), gotFocus() and lostFocus().
static int ByPen
          An option for requestFocus(), gotFocus() and lostFocus().
static int ByRequest
          An option for requestFocus(), gotFocus() and lostFocus().
static int CalculatedSizes
          Control Modifier - flags the control as having already calculated its preferred/min/max sizes.
static int Disabled
          Control Modifier - sets the control to a disabled state.
static int DisablePopupMenu
          Control Modifier - tells the control not to show popup menus.
static int DisplayOnly
          Control Modifier - flags the control as a DisplayOnly control.
static int Down
           
static int DrawFlat
          Control Modifier - sets the control to draw itself and its children flat instead of 3-D or etched.
static int Flag
           
static int ForceResize
          Control Modifier - forces the control to resize itself.
static int HasData
          Control Modifier - flags the control as one that paints its data via paintData() separately to painting other parts of it (e.g.
static int Invisible
          Control Modifier - sets the control to an invisible state.
static int KeepImage
          Control Modifier - sets the control to keep its associated image.
static int KeepSIP
          Control Modifier - says that the control should keep the SIP Input Panel open when focused.
static int Left
           
static int MakeMenuAtLeastAsWide
          Control Modifier - if the control has an associated drop-down menu, this says that the menu should be made at least as wide as the control when it is displayed.
static int Maximize
           
static int Minimize
           
static int MouseSensitive
          Control Modifier - sets the control to react to when the mouse is over the control or not.
static int NoFocus
          Control Modifier - sets the control to not take the keyboard focus.
static int NotAnEditor
          Control Modifier - flags this control as one that does not alter data state.
static int NotEditable
          Control Modifier - sets the control to a non-editable state.
static int PaintDataOnly
          Control Modifier - sets the control to paint its data only in the next paint operation.
static int PaintOutsideOnly
          Control Modifier - sets the control to paint everything except its data in the next paint operation.
static int PenTransparent
          Control Modifier - sets the control to ignore pen/mouse presses.
static int PreferredSizeOnly
          Control Modifier - sets the control to only size itself to its preferred size.
static int Right
           
static int SendUpKeyEvents
          Control Modifier - sets the control to send up key events to its parent.
static int SendUpPenEvents
          Control Modifier - sets the control to send up pen events to its parent.
static int ShowSIP
          Control Modifier - says that the control should show the SIP when it has gained the focus.
static int ShrinkToNothing
          Control Modifier - tells the control to set its preferred size to be 0.
static int SmallControl
          Control Modifier - sets the control to display itself and its children as small controls.
static int SpecialBackground
          Control Modifier - flags this control as having a special background that will be drawn differently.
static int TakeControlEvents
          Control Modifier - sets the control to take control events from its children and modify them so they appear to come from itself.
static int TakesKeyFocus
          Control Modifier - says that this control takes the key focus.
static int Transparent
          Control Modifier - sets the control to be transparent.
static int Up
           
static int WantDrag
          Control Modifier - says that the control want drag events.
static int WantHoldDown
          Control Modifier - says that the control wants to detect when the pen/mouse is held down on the control.
 

Field Detail

Flag

public static final int Flag
See Also:
Constant Field Values

Maximize

public static final int Maximize
See Also:
Constant Field Values

Minimize

public static final int Minimize
See Also:
Constant Field Values

NotEditable

public static final int NotEditable
Control Modifier - sets the control to a non-editable state.

See Also:
Constant Field Values

Disabled

public static final int Disabled
Control Modifier - sets the control to a disabled state.

See Also:
Constant Field Values

Invisible

public static final int Invisible
Control Modifier - sets the control to an invisible state.

See Also:
Constant Field Values

PreferredSizeOnly

public static final int PreferredSizeOnly
Control Modifier - sets the control to only size itself to its preferred size.

See Also:
Constant Field Values

NoFocus

public static final int NoFocus
Control Modifier - sets the control to not take the keyboard focus.

See Also:
Constant Field Values

NotAnEditor

public static final int NotAnEditor
Control Modifier - flags this control as one that does not alter data state. This is used by some controls when they are disabling editors. For example, the Tabs in a mTabbedPanel are controls which are flagged as NotAnEditor, since pressing them does not change the state of any data.

See Also:
Constant Field Values

AlwaysEnabled

public static final int AlwaysEnabled
Control Modifier - sets the control to always be enabled, regardless of the Disabled flag.

See Also:
Constant Field Values

KeepSIP

public static final int KeepSIP
Control Modifier - says that the control should keep the SIP Input Panel open when focused.

See Also:
Constant Field Values

WantHoldDown

public static final int WantHoldDown
Control Modifier - says that the control wants to detect when the pen/mouse is held down on the control. This will cause calls to penHeld() to be enabled..

See Also:
Constant Field Values

WantDrag

public static final int WantDrag
Control Modifier - says that the control want drag events.

See Also:
Constant Field Values

TakesKeyFocus

public static final int TakesKeyFocus
Control Modifier - says that this control takes the key focus.

See Also:
Constant Field Values

MakeMenuAtLeastAsWide

public static final int MakeMenuAtLeastAsWide
Control Modifier - if the control has an associated drop-down menu, this says that the menu should be made at least as wide as the control when it is displayed.

See Also:
Constant Field Values

DrawFlat

public static final int DrawFlat
Control Modifier - sets the control to draw itself and its children flat instead of 3-D or etched.

See Also:
Constant Field Values

TakeControlEvents

public static final int TakeControlEvents
Control Modifier - sets the control to take control events from its children and modify them so they appear to come from itself. Holder controls do this.

See Also:
Constant Field Values

SpecialBackground

public static final int SpecialBackground
Control Modifier - flags this control as having a special background that will be drawn differently.

See Also:
Constant Field Values

ShrinkToNothing

public static final int ShrinkToNothing
Control Modifier - tells the control to set its preferred size to be 0. This is used by ScrollBarPanels when hiding/showing their scroll bars.

See Also:
Constant Field Values

SmallControl

public static final int SmallControl
Control Modifier - sets the control to display itself and its children as small controls.

See Also:
Constant Field Values

CalculatedSizes

public static final int CalculatedSizes
Control Modifier - flags the control as having already calculated its preferred/min/max sizes.

See Also:
Constant Field Values

ForceResize

public static final int ForceResize
Control Modifier - forces the control to resize itself.

See Also:
Constant Field Values

AlwaysRecalculateSizes

public static final int AlwaysRecalculateSizes
Control Modifier - forces the control to always do a full recalculation of its preferred size rather than using a cached version.

See Also:
Constant Field Values

SendUpPenEvents

public static final int SendUpPenEvents
Control Modifier - sets the control to send up pen events to its parent.

See Also:
Constant Field Values

SendUpKeyEvents

public static final int SendUpKeyEvents
Control Modifier - sets the control to send up key events to its parent.

See Also:
Constant Field Values

PenTransparent

public static final int PenTransparent
Control Modifier - sets the control to ignore pen/mouse presses.

See Also:
Constant Field Values

KeepImage

public static final int KeepImage
Control Modifier - sets the control to keep its associated image.

See Also:
Constant Field Values

Transparent

public static final int Transparent
Control Modifier - sets the control to be transparent.

See Also:
Constant Field Values

MouseSensitive

public static final int MouseSensitive
Control Modifier - sets the control to react to when the mouse is over the control or not. Most controls set to this flag will display a border when the mouse is above it.

See Also:
Constant Field Values

DisplayOnly

public static final int DisplayOnly
Control Modifier - flags the control as a DisplayOnly control. One that does not allow editing regardless of the state of the NotEditable flag.

See Also:
Constant Field Values

HasData

public static final int HasData
Control Modifier - flags the control as one that paints its data via paintData() separately to painting other parts of it (e.g. its border). mInput/mTextPad controls have this flag. Without this flag a call to paintDataNow() simply results in a call to repaintNow().

See Also:
Constant Field Values

PaintDataOnly

public static final int PaintDataOnly
Control Modifier - sets the control to paint its data only in the next paint operation.

See Also:
Constant Field Values

PaintOutsideOnly

public static final int PaintOutsideOnly
Control Modifier - sets the control to paint everything except its data in the next paint operation.

See Also:
Constant Field Values

DisablePopupMenu

public static final int DisablePopupMenu
Control Modifier - tells the control not to show popup menus.

See Also:
Constant Field Values

ShowSIP

public static final int ShowSIP
Control Modifier - says that the control should show the SIP when it has gained the focus.

See Also:
Constant Field Values

ByDeferredMouse

public static final int ByDeferredMouse
An option for requestFocus(), gotFocus() and lostFocus().

See Also:
Constant Field Values

ByDeferredPen

public static final int ByDeferredPen
An option for requestFocus(), gotFocus() and lostFocus().

See Also:
Constant Field Values

ByFrameChange

public static final int ByFrameChange
An option for requestFocus(), gotFocus() and lostFocus().

See Also:
Constant Field Values

ByRequest

public static final int ByRequest
An option for requestFocus(), gotFocus() and lostFocus().

See Also:
Constant Field Values

ByKeyboard

public static final int ByKeyboard
An option for requestFocus(), gotFocus() and lostFocus().

See Also:
Constant Field Values

ByPen

public static final int ByPen
An option for requestFocus(), gotFocus() and lostFocus().

See Also:
Constant Field Values

ByMouse

public static final int ByMouse
An option for requestFocus(), gotFocus() and lostFocus().

See Also:
Constant Field Values

Left

public static final int Left
See Also:
Constant Field Values

Right

public static final int Right
See Also:
Constant Field Values

Up

public static final int Up
See Also:
Constant Field Values

Down

public static final int Down
See Also:
Constant Field Values

All

public static final int All
See Also:
Constant Field Values