|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.nebula.widgets.cdatetime.CDT
public class CDT
This class provides access to the the public constants provided by the CDateTime widget. This class is analogous to the SWT class of the Standard Widget Toolkit (SWT) and has been created separately to avoid collisions.
Note that, unlike the SWT class, these constants apply for all platforms (upon which CDateTime has been tested) because the CDateTime is a custom widget.
Field Summary | |
---|---|
static int |
BORDER
Style constant requesting a border. |
static int |
BUTTON_ALWAYS
Style constant for a DropCombo whose button is always visible (value is 1<<10). |
static int |
BUTTON_AUTO
Style constant for a DropCombo whose button is automatically set to be visible or not depending on its focus state (value is 1<<11). |
static int |
BUTTON_LEFT
Style constant for a DropCombo with its button to the Left of the text (value is 1<<14). |
static int |
BUTTON_MANUAL
Style constant for a DropCombo whose button is never visible (value is 1<<12). |
static int |
BUTTON_NEVER
Style constant for a DropCombo whose button is never visible. |
static int |
BUTTON_RIGHT
Style constant for a DropCombo with its button to the right of the text (value is 1<<15). |
static boolean |
carbon
true if the platform is carbon, false otherwise |
static int |
CLOCK_12_HOUR
|
static int |
CLOCK_24_HOUR
|
static int |
CLOCK_DISCRETE
|
static int |
COMPACT
|
static int |
DATE_LONG
Style constant for showing a long date format (value is 1<<4). |
static int |
DATE_MEDIUM
Style constant for showing a medium date format (value is 1<<3). |
static int |
DATE_SHORT
Style constant for showing a short date format (value is 1<<2). |
static int |
DROP_DOWN
Style constant for drop down combo behavior (value is 1<<1). |
static boolean |
gtk
true if the platform is gtk, false otherwise |
static int |
HORIZONTAL
|
static int |
NONE
Style constant indicating no style (value is 0). |
static int |
READ_ONLY
|
static int |
SIMPLE
Style constant for simple combo behavior (value is 1<<1). |
static int |
SPINNER
|
static int |
TAB_FIELDS
Style constant indicating that the TAB key should be used to traverse the CDateTime's fields (value is 1<<19). |
static int |
TEXT_LEAD
Style constant for left aligning the text of a DropCombo (value is 1<<16). |
static int |
TEXT_LEFT
Style constant for left aligning the text of a DropCombo (value is 1<<16). |
static int |
TEXT_RIGHT
Style constant for right aligning the text of a DropCombo (value is 1<<17). |
static int |
TEXT_TRAIL
Style constant for right aligning the text of a DropCombo (value is 1<<17). |
static int |
TIME_MEDIUM
Style constant for showing a medium time format (value is 1<<7). |
static int |
TIME_SHORT
Style constant for showing a short time format (value is 1<<6). |
static int |
VERTICAL
|
static boolean |
win32
true if the platform is win32, false otherwise |
Constructor Summary | |
---|---|
CDT()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean carbon
public static final boolean gtk
public static final boolean win32
public static final int NONE
public static final int BORDER
SWT.BORDER
,
Constant Field Valuespublic static final int DROP_DOWN
public static final int SIMPLE
public static final int BUTTON_ALWAYS
BUTTON_AUTO
,
BUTTON_MANUAL
,
BUTTON_NEVER
,
AbstractCombo.setButtonVisibility(int)
,
Constant Field Valuespublic static final int BUTTON_AUTO
BUTTON_AUTO
,
BUTTON_MANUAL
,
BUTTON_NEVER
,
AbstractCombo.setButtonVisibility(int)
,
Constant Field Valuespublic static final int BUTTON_MANUAL
BUTTON_ALWAYS
,
BUTTON_AUTO
,
BUTTON_NEVER
,
AbstractCombo.setButtonVisibility(int)
,
Constant Field Valuespublic static final int BUTTON_NEVER
BUTTON_ALWAYS
,
BUTTON_AUTO
,
BUTTON_MANUAL
,
AbstractCombo.setButtonVisibility(int)
,
Constant Field Valuespublic static final int BUTTON_LEFT
BUTTON_RIGHT
,
Constant Field Valuespublic static final int BUTTON_RIGHT
BUTTON_LEFT
,
Constant Field Valuespublic static final int TEXT_LEFT
TEXT_RIGHT
,
SWT.LEFT
,
Constant Field Valuespublic static final int TEXT_LEAD
TEXT_RIGHT
,
SWT.LEAD
,
Constant Field Valuespublic static final int TEXT_RIGHT
TEXT_LEFT
,
SWT.RIGHT
,
Constant Field Valuespublic static final int TEXT_TRAIL
TEXT_LEFT
,
SWT.TRAIL
,
Constant Field Valuespublic static final int HORIZONTAL
public static final int VERTICAL
public static final int READ_ONLY
public static final int DATE_SHORT
CDateTime.setPattern(String)
,
CDateTime.setFormat(int)
,
Constant Field Valuespublic static final int DATE_MEDIUM
CDateTime.setPattern(String)
,
CDateTime.setFormat(int)
,
Constant Field Valuespublic static final int DATE_LONG
CDateTime.setPattern(String)
,
CDateTime.setFormat(int)
,
Constant Field Valuespublic static final int TIME_SHORT
CDateTime.setPattern(String)
,
CDateTime.setFormat(int)
,
Constant Field Valuespublic static final int TIME_MEDIUM
CDateTime.setPattern(String)
,
CDateTime.setFormat(int)
,
Constant Field Valuespublic static final int COMPACT
public static final int TAB_FIELDS
public static final int SPINNER
public static final int CLOCK_DISCRETE
public static final int CLOCK_12_HOUR
public static final int CLOCK_24_HOUR
Constructor Detail |
---|
public CDT()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |