Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.javatools.ui.ghost
Class UIConstants

java.lang.Object
  extended by oracle.javatools.ui.ghost.UIConstants

public final class UIConstants
extends java.lang.Object

A repository for the UIConstants used in Ghost windows. There may be a few different ghost looks, use the Look enum to select the variety of ghosting.


Nested Class Summary
static class UIConstants.Look
          Enumeration for the different kinds of ghost looks.
 
Field Summary
static float ALPHA_ALMOST_CLEAR
          Alpha value of a temporarily hidden GhostPanel
static float ALPHA_NORMAL
          Usual alpha value of a fully realized GhostPanel
static java.lang.String BUTTON_BACKGROUND
           
static java.lang.String BUTTON_BORDER
           
static java.lang.String BUTTON_DISABLED_BORDER
           
static java.lang.String BUTTON_DOWN_BACKGROUND
           
static java.lang.String CARET_FOREGROUND
           
static java.lang.String GHOST_LOOK
          A client property key.
static java.lang.String ICON_BUTTON
          A string to indicate that a button with this client property set will be converted to a specific look when ghostified by ComponentConverter.
static java.lang.String INSTRUCTION_LABEL
          A string to indicate that a label with this client property set will be converted to instructional text look when ghostified by ComponentConverter.
static java.lang.String INSTRUCTION_TEXT_FOREGROUND
           
static java.lang.String PANEL_BACKGROUND
           
static java.lang.String PANEL_BORDER
           
static java.lang.String PANEL_HIGHLIGHT
           
static java.lang.String PANEL_SHADOW
           
static java.lang.String SCROLLBAR_BUTTON
           
static java.lang.String SCROLLBAR_MIN_THUMB_SIZE
           
static java.lang.String SCROLLBAR_THUMB
           
static java.lang.String SCROLLBAR_THUMB_SHADOW
           
static java.lang.String SCROLLBAR_TRACK
           
static java.lang.String SCROLLBAR_TRACK_HIGHLIGHT
           
static java.lang.String SELECTION_BACKGROUND
           
static java.lang.String SELECTION_FOREGROUND
           
static int SHADOW_OFFSET
          The offset in pixels that the shadow of the panel will be drawn below right of the panel
static java.lang.String TEXT_FOREGROUND
           
static java.lang.String TITLE_BACKGROUND
           
static java.lang.String TITLE_FONT
           
static java.lang.String TITLE_FOREGROUND
           
static java.lang.String TRANSPARENT_COLOR
           
static java.lang.String VETO_CONVERSION
          A client property key.
static java.lang.String VETO_HIERARCHY_CONVERSION
          A client property key.
 
Constructor Summary
UIConstants()
           
 
Method Summary
static java.awt.Color getColor(java.lang.String key, UIConstants.Look look)
           
static java.awt.Dimension getDimension(java.lang.String key, UIConstants.Look look)
           
static java.awt.Font getFont(java.lang.String key, UIConstants.Look look)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VETO_CONVERSION

public static java.lang.String VETO_CONVERSION
A client property key. Add VETO_CONVERSION to the component client properties with a value of Boolean.TRUE to preserve the original look of the component.


VETO_HIERARCHY_CONVERSION

public static java.lang.String VETO_HIERARCHY_CONVERSION
A client property key. Add VETO_HIERARCHY_CONVERSION to the component client properties with a value of Boolean.TRUE to preserve the original look of the component and all of its children.


GHOST_LOOK

public static java.lang.String GHOST_LOOK
A client property key. GHOST_LOOK is set on components who have been 'ghostified' and it describes the varient of the look that was used during this process.


INSTRUCTION_LABEL

public static java.lang.String INSTRUCTION_LABEL
A string to indicate that a label with this client property set will be converted to instructional text look when ghostified by ComponentConverter.


ICON_BUTTON

public static java.lang.String ICON_BUTTON
A string to indicate that a button with this client property set will be converted to a specific look when ghostified by ComponentConverter. The ComponentConverter automatically adds this value (as true) to standard buttons that have an icon but no text.


SHADOW_OFFSET

public static final int SHADOW_OFFSET
The offset in pixels that the shadow of the panel will be drawn below right of the panel

See Also:
Constant Field Values

ALPHA_NORMAL

public static final float ALPHA_NORMAL
Usual alpha value of a fully realized GhostPanel

See Also:
Constant Field Values

ALPHA_ALMOST_CLEAR

public static final float ALPHA_ALMOST_CLEAR
Alpha value of a temporarily hidden GhostPanel

See Also:
Constant Field Values

TITLE_FOREGROUND

public static final java.lang.String TITLE_FOREGROUND
See Also:
Constant Field Values

TITLE_BACKGROUND

public static final java.lang.String TITLE_BACKGROUND
See Also:
Constant Field Values

TITLE_FONT

public static final java.lang.String TITLE_FONT
See Also:
Constant Field Values

PANEL_BACKGROUND

public static final java.lang.String PANEL_BACKGROUND
See Also:
Constant Field Values

PANEL_HIGHLIGHT

public static final java.lang.String PANEL_HIGHLIGHT
See Also:
Constant Field Values

PANEL_SHADOW

public static final java.lang.String PANEL_SHADOW
See Also:
Constant Field Values

PANEL_BORDER

public static final java.lang.String PANEL_BORDER
See Also:
Constant Field Values

SELECTION_BACKGROUND

public static final java.lang.String SELECTION_BACKGROUND
See Also:
Constant Field Values

SELECTION_FOREGROUND

public static final java.lang.String SELECTION_FOREGROUND
See Also:
Constant Field Values

TRANSPARENT_COLOR

public static final java.lang.String TRANSPARENT_COLOR
See Also:
Constant Field Values

TEXT_FOREGROUND

public static final java.lang.String TEXT_FOREGROUND
See Also:
Constant Field Values

CARET_FOREGROUND

public static final java.lang.String CARET_FOREGROUND
See Also:
Constant Field Values

INSTRUCTION_TEXT_FOREGROUND

public static final java.lang.String INSTRUCTION_TEXT_FOREGROUND
See Also:
Constant Field Values

SCROLLBAR_THUMB_SHADOW

public static final java.lang.String SCROLLBAR_THUMB_SHADOW
See Also:
Constant Field Values

SCROLLBAR_THUMB

public static final java.lang.String SCROLLBAR_THUMB
See Also:
Constant Field Values

SCROLLBAR_TRACK

public static final java.lang.String SCROLLBAR_TRACK
See Also:
Constant Field Values

SCROLLBAR_TRACK_HIGHLIGHT

public static final java.lang.String SCROLLBAR_TRACK_HIGHLIGHT
See Also:
Constant Field Values

SCROLLBAR_BUTTON

public static final java.lang.String SCROLLBAR_BUTTON
See Also:
Constant Field Values

SCROLLBAR_MIN_THUMB_SIZE

public static final java.lang.String SCROLLBAR_MIN_THUMB_SIZE
See Also:
Constant Field Values

BUTTON_BORDER

public static final java.lang.String BUTTON_BORDER
See Also:
Constant Field Values

BUTTON_DISABLED_BORDER

public static final java.lang.String BUTTON_DISABLED_BORDER
See Also:
Constant Field Values

BUTTON_BACKGROUND

public static final java.lang.String BUTTON_BACKGROUND
See Also:
Constant Field Values

BUTTON_DOWN_BACKGROUND

public static final java.lang.String BUTTON_DOWN_BACKGROUND
See Also:
Constant Field Values
Constructor Detail

UIConstants

public UIConstants()
Method Detail

getColor

public static java.awt.Color getColor(java.lang.String key,
                                      UIConstants.Look look)

getFont

public static java.awt.Font getFont(java.lang.String key,
                                    UIConstants.Look look)

getDimension

public static java.awt.Dimension getDimension(java.lang.String key,
                                              UIConstants.Look look)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.