org.alchemy.core
Interface AlcConstants

All Known Implementing Classes:
AlcAbstractSpinner, AlcAbstractToolBar, AlcCanvas, AlcColorSelector, Alchemy, AlcMath, AlcModule, AlcShape, AlcSimpleToolBar, AlcSpinnerCustom, AlcSubButton, AlcSubComboBox, AlcSubLabel, AlcSubSlider, AlcSubSpinner, AlcSubToggleButton, AlcToolBar, AlcUtil

public interface AlcConstants

Constant values used in Alchemy


Field Summary
static java.awt.Color COLOR_UI_BG
          UI background color
static java.awt.Color COLOR_UI_BOX
          UI box color - used for the CheckBox Boxes
static java.awt.Color COLOR_UI_END
          UI gradient background end color
static java.awt.Color COLOR_UI_HIGHLIGHT
          UI highlight color
static java.awt.Color COLOR_UI_LINE
          UI line color
static java.awt.Color COLOR_UI_LINE_ALPHA
          UI line alpha color - 50% Alpha for soft corners
static java.awt.Color COLOR_UI_START
          UI gradient background start color
static java.awt.Cursor CURSOR_ARROW
          Cursor - Default Cursor
static java.awt.Cursor CURSOR_BLANK
          Cursor - Blank Cursor
static java.awt.Cursor CURSOR_CIRCLE
          Cursor - Circle Cursor used with the color picker
static java.awt.Cursor CURSOR_CROSS
          Cursor - Cross Cursor
static java.awt.Cursor CURSOR_EYEDROPPER
          Cursor - Eyedropper Cursor
static java.awt.Cursor CURSOR_HAND
          Cursor - Hand Cursor
static java.awt.Cursor CURSOR_MOVE
          Cursor - Move Cursor
static java.awt.Cursor CURSOR_TEXT
          Cursor - Text Cursor
static java.awt.Cursor CURSOR_WAIT
          Cursor - Wait Cursor
static java.lang.String DIR_DESKTOP
          The users destop directory
static java.lang.String DIR_HOME
          The users home directory
static java.lang.String DIR_SEPARATOR
          The file separator used on this OS
static java.lang.String DIR_TEMP
          The default temp directory
static java.awt.Font FONT_LARGE
          Font - Sanserif plain 12pt
static java.awt.Font FONT_LARGE_BOLD
          Font - Sanserif bold 12pt
static java.awt.Font FONT_MEDIUM
          Font - Sanserif plain 11pt
static java.awt.Font FONT_MEDIUM_BOLD
          Font - Sanserif bold 11pt
static java.awt.Font FONT_SMALL
          Font - Sanserif plain 10pt
static java.awt.Font FONT_SMALL_BOLD
          Font - Sanserif bold 10pt
static java.awt.Font FONT_SMALLER
          Font - Sanserif plain 9pt
static float JAVA_VERSION
          Version of Java that's in use, whether 1.1 or 1.3 or whatever stored as a float
static java.lang.String JAVA_VERSION_NAME
          Full name of the Java version eg 1.5.0_11
static int KEY_MODIFIER
          Modifier flags for the shortcut key used to trigger menus.
static java.util.Locale LOCALE
          Default Locale
static float MATH_DEG_TO_RAD
           
static float MATH_HALF_PI
           
static float MATH_PI
           
static float MATH_QUARTER_PI
           
static float MATH_RAD_TO_DEG
           
static float MATH_THIRD_PI
           
static float MATH_TWO_PI
           
static int MODULE_AFFECT
          Module Type: AFFECT (2)
static int MODULE_CREATE
          Module Type: CREATE (1)
static int OS_LINUX
          OS: Linux (3)
static int OS_MAC
          OS: Mac (2)
static java.lang.String OS_NAME
          Name of the OS
static int OS_OTHER
          OS: Other (0)
static int OS_WINDOWS
          OS: Windows (1)
static int PEN_CURSOR
          Pen Type: CURSOR (3)
static int PEN_ERASER
          Pen Type: ERASER (2)
static int PEN_STYLUS
          Pen Type: STYLUS (1)
static int STYLE_BOTH
          Shape Style: Both (3) - Only used with the PDF Renderer
static int STYLE_CLIP
          Shape Style: Clip (4) - Only used with the PDF Renderer
static int STYLE_FILL
          Shape Style: Fill (2)
static int STYLE_STROKE
          Shape Style: Stroke (1)
static java.awt.Toolkit TOOLKIT
          Convenience access to the Toolkit
static java.lang.String USER_NAME
          The users name
 

Field Detail

OS_WINDOWS

static final int OS_WINDOWS
OS: Windows (1)

See Also:
Constant Field Values

OS_MAC

static final int OS_MAC
OS: Mac (2)

See Also:
Constant Field Values

OS_LINUX

static final int OS_LINUX
OS: Linux (3)

See Also:
Constant Field Values

OS_OTHER

static final int OS_OTHER
OS: Other (0)

See Also:
Constant Field Values

TOOLKIT

static final java.awt.Toolkit TOOLKIT
Convenience access to the Toolkit


KEY_MODIFIER

static final int KEY_MODIFIER
Modifier flags for the shortcut key used to trigger menus. (Cmd on Mac OS X, Ctrl on Linux and Windows)


JAVA_VERSION_NAME

static final java.lang.String JAVA_VERSION_NAME
Full name of the Java version eg 1.5.0_11


JAVA_VERSION

static final float JAVA_VERSION
Version of Java that's in use, whether 1.1 or 1.3 or whatever stored as a float


OS_NAME

static final java.lang.String OS_NAME
Name of the OS


USER_NAME

static final java.lang.String USER_NAME
The users name


DIR_SEPARATOR

static final java.lang.String DIR_SEPARATOR
The file separator used on this OS


DIR_HOME

static final java.lang.String DIR_HOME
The users home directory


DIR_DESKTOP

static final java.lang.String DIR_DESKTOP
The users destop directory


DIR_TEMP

static final java.lang.String DIR_TEMP
The default temp directory


LOCALE

static final java.util.Locale LOCALE
Default Locale


MATH_PI

static final float MATH_PI
See Also:
Constant Field Values

MATH_HALF_PI

static final float MATH_HALF_PI
See Also:
Constant Field Values

MATH_THIRD_PI

static final float MATH_THIRD_PI
See Also:
Constant Field Values

MATH_QUARTER_PI

static final float MATH_QUARTER_PI
See Also:
Constant Field Values

MATH_TWO_PI

static final float MATH_TWO_PI
See Also:
Constant Field Values

MATH_DEG_TO_RAD

static final float MATH_DEG_TO_RAD
See Also:
Constant Field Values

MATH_RAD_TO_DEG

static final float MATH_RAD_TO_DEG
See Also:
Constant Field Values

STYLE_STROKE

static final int STYLE_STROKE
Shape Style: Stroke (1)

See Also:
Constant Field Values

STYLE_FILL

static final int STYLE_FILL
Shape Style: Fill (2)

See Also:
Constant Field Values

STYLE_BOTH

static final int STYLE_BOTH
Shape Style: Both (3) - Only used with the PDF Renderer

See Also:
Constant Field Values

STYLE_CLIP

static final int STYLE_CLIP
Shape Style: Clip (4) - Only used with the PDF Renderer

See Also:
Constant Field Values

MODULE_CREATE

static final int MODULE_CREATE
Module Type: CREATE (1)

See Also:
Constant Field Values

MODULE_AFFECT

static final int MODULE_AFFECT
Module Type: AFFECT (2)

See Also:
Constant Field Values

CURSOR_ARROW

static final java.awt.Cursor CURSOR_ARROW
Cursor - Default Cursor


CURSOR_CROSS

static final java.awt.Cursor CURSOR_CROSS
Cursor - Cross Cursor


CURSOR_HAND

static final java.awt.Cursor CURSOR_HAND
Cursor - Hand Cursor


CURSOR_MOVE

static final java.awt.Cursor CURSOR_MOVE
Cursor - Move Cursor


CURSOR_TEXT

static final java.awt.Cursor CURSOR_TEXT
Cursor - Text Cursor


CURSOR_WAIT

static final java.awt.Cursor CURSOR_WAIT
Cursor - Wait Cursor


CURSOR_BLANK

static final java.awt.Cursor CURSOR_BLANK
Cursor - Blank Cursor


CURSOR_CIRCLE

static final java.awt.Cursor CURSOR_CIRCLE
Cursor - Circle Cursor used with the color picker


CURSOR_EYEDROPPER

static final java.awt.Cursor CURSOR_EYEDROPPER
Cursor - Eyedropper Cursor


PEN_STYLUS

static final int PEN_STYLUS
Pen Type: STYLUS (1)

See Also:
Constant Field Values

PEN_ERASER

static final int PEN_ERASER
Pen Type: ERASER (2)

See Also:
Constant Field Values

PEN_CURSOR

static final int PEN_CURSOR
Pen Type: CURSOR (3)

See Also:
Constant Field Values

FONT_SMALLER

static final java.awt.Font FONT_SMALLER
Font - Sanserif plain 9pt


FONT_SMALL

static final java.awt.Font FONT_SMALL
Font - Sanserif plain 10pt


FONT_MEDIUM

static final java.awt.Font FONT_MEDIUM
Font - Sanserif plain 11pt


FONT_LARGE

static final java.awt.Font FONT_LARGE
Font - Sanserif plain 12pt


FONT_SMALL_BOLD

static final java.awt.Font FONT_SMALL_BOLD
Font - Sanserif bold 10pt


FONT_MEDIUM_BOLD

static final java.awt.Font FONT_MEDIUM_BOLD
Font - Sanserif bold 11pt


FONT_LARGE_BOLD

static final java.awt.Font FONT_LARGE_BOLD
Font - Sanserif bold 12pt


COLOR_UI_BG

static final java.awt.Color COLOR_UI_BG
UI background color


COLOR_UI_START

static final java.awt.Color COLOR_UI_START
UI gradient background start color


COLOR_UI_END

static final java.awt.Color COLOR_UI_END
UI gradient background end color


COLOR_UI_LINE

static final java.awt.Color COLOR_UI_LINE
UI line color


COLOR_UI_LINE_ALPHA

static final java.awt.Color COLOR_UI_LINE_ALPHA
UI line alpha color - 50% Alpha for soft corners


COLOR_UI_HIGHLIGHT

static final java.awt.Color COLOR_UI_HIGHLIGHT
UI highlight color


COLOR_UI_BOX

static final java.awt.Color COLOR_UI_BOX
UI box color - used for the CheckBox Boxes