com.sun.electric.tool.user
Enum User.ColorPrefType

java.lang.Object
  extended by java.lang.Enum<User.ColorPrefType>
      extended by com.sun.electric.tool.user.User.ColorPrefType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<User.ColorPrefType>
Enclosing class:
User

public static enum User.ColorPrefType
extends java.lang.Enum<User.ColorPrefType>

COLOR PREFERENCES


Enum Constant Summary
AMBIENT_3D
          the ambiental color on the 3D display.
AXIS_X_3D
          color of the axis X on the 3D display.
AXIS_Y_3D
          color of the axis X on the 3D display.
AXIS_Z_3D
          color of the axis X on the 3D display.
BACKGROUND
          color of the background on the display.
DIRECTIONAL_LIGHT_3D
          color of directional light on the 3D display.
DOWNINPLACEBORDER
          color of the border around cells drawn "down in place".
GRID
          color of the grid on the display.
HIGHLIGHT
          color of the highlight on the display.
HIGHLIGHT_3D
          color of the highlighted instance on the 3D display.
INSTANCE
          color of the instance outlines on the display.
INSTANCE_3D
          color of the cell instance on the 3D display.
MOUSEOVER_HIGHLIGHT
          color of the highlight on the display.
NODE_HIGHLIGHT
           
PORT_HIGHLIGHT
          color of the port highlight on the display.
TEXT
          color of the text on the display.
WAVE_BACKGROUND
          color of the waveform window background.
WAVE_CROSS_FLOAT
          color of cross-probe traces from the waveform window that are "floating".
WAVE_CROSS_HIGH
          color of cross-probe traces from the waveform window that are "high".
WAVE_CROSS_LOW
          color of cross-probe traces from the waveform window that are "low".
WAVE_CROSS_UNDEF
          color of cross-probe traces from the waveform window that are "undefined".
WAVE_FOREGROUND
          color of the waveform window foreground.
WAVE_GATE_STRENGTH
          color of waveform window traces that have "gate" strength.
WAVE_NODE_STRENGTH
          color of waveform window traces that have "node" strength.
WAVE_OFF_STRENGTH
          color of waveform window traces that have "off" strength.
WAVE_POWER_STRENGTH
          color of waveform window traces that have "power" strength.
WAVE_STIMULI
          color of the traces in waveform windows.
 
Method Summary
 java.awt.Color getFactoryDefaultColor()
           
 java.lang.String getPrefKey()
           
static User.ColorPrefType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static User.ColorPrefType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BACKGROUND

public static final User.ColorPrefType BACKGROUND
color of the background on the display. The default is "light gray".


GRID

public static final User.ColorPrefType GRID
color of the grid on the display. The default is "black".


HIGHLIGHT

public static final User.ColorPrefType HIGHLIGHT
color of the highlight on the display. The default is "white".


NODE_HIGHLIGHT

public static final User.ColorPrefType NODE_HIGHLIGHT

MOUSEOVER_HIGHLIGHT

public static final User.ColorPrefType MOUSEOVER_HIGHLIGHT
color of the highlight on the display. The default is "white".


PORT_HIGHLIGHT

public static final User.ColorPrefType PORT_HIGHLIGHT
color of the port highlight on the display. The default is "yellow".


TEXT

public static final User.ColorPrefType TEXT
color of the text on the display. The default is "black".


INSTANCE

public static final User.ColorPrefType INSTANCE
color of the instance outlines on the display. The default is "black".


DOWNINPLACEBORDER

public static final User.ColorPrefType DOWNINPLACEBORDER
color of the border around cells drawn "down in place". The default is "red".


WAVE_BACKGROUND

public static final User.ColorPrefType WAVE_BACKGROUND
color of the waveform window background. The default is "black".


WAVE_FOREGROUND

public static final User.ColorPrefType WAVE_FOREGROUND
color of the waveform window foreground. This includes lines and text. The default is "white".


WAVE_STIMULI

public static final User.ColorPrefType WAVE_STIMULI
color of the traces in waveform windows. Applies only when not a "multistate" display, which uses many colors. The default is "red".


WAVE_OFF_STRENGTH

public static final User.ColorPrefType WAVE_OFF_STRENGTH
color of waveform window traces that have "off" strength. The default is "blue".


WAVE_NODE_STRENGTH

public static final User.ColorPrefType WAVE_NODE_STRENGTH
color of waveform window traces that have "node" strength. The default is "green".


WAVE_GATE_STRENGTH

public static final User.ColorPrefType WAVE_GATE_STRENGTH
color of waveform window traces that have "gate" strength. The default is "magenta".


WAVE_POWER_STRENGTH

public static final User.ColorPrefType WAVE_POWER_STRENGTH
color of waveform window traces that have "power" strength. The default is "light gray".


WAVE_CROSS_LOW

public static final User.ColorPrefType WAVE_CROSS_LOW
color of cross-probe traces from the waveform window that are "low". These are lines drawn on the schematic or layout to correspond with the value in the waveform window. The default is "blue".


WAVE_CROSS_HIGH

public static final User.ColorPrefType WAVE_CROSS_HIGH
color of cross-probe traces from the waveform window that are "high". These are lines drawn on the schematic or layout to correspond with the value in the waveform window. The default is "green".


WAVE_CROSS_UNDEF

public static final User.ColorPrefType WAVE_CROSS_UNDEF
color of cross-probe traces from the waveform window that are "undefined". These are lines drawn on the schematic or layout to correspond with the value in the waveform window. The default is "black".


WAVE_CROSS_FLOAT

public static final User.ColorPrefType WAVE_CROSS_FLOAT
color of cross-probe traces from the waveform window that are "floating". These are lines drawn on the schematic or layout to correspond with the value in the waveform window. The default is "light_grey".


INSTANCE_3D

public static final User.ColorPrefType INSTANCE_3D
color of the cell instance on the 3D display. The default is "gray".


HIGHLIGHT_3D

public static final User.ColorPrefType HIGHLIGHT_3D
color of the highlighted instance on the 3D display. The default is "gray".


AMBIENT_3D

public static final User.ColorPrefType AMBIENT_3D
the ambiental color on the 3D display. The default is "gray".


AXIS_X_3D

public static final User.ColorPrefType AXIS_X_3D
color of the axis X on the 3D display. The default is "red".


AXIS_Y_3D

public static final User.ColorPrefType AXIS_Y_3D
color of the axis X on the 3D display. The default is "blue".


AXIS_Z_3D

public static final User.ColorPrefType AXIS_Z_3D
color of the axis X on the 3D display. The default is "green".


DIRECTIONAL_LIGHT_3D

public static final User.ColorPrefType DIRECTIONAL_LIGHT_3D
color of directional light on the 3D display. The default is "gray".

Method Detail

values

public static User.ColorPrefType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (User.ColorPrefType c : User.ColorPrefType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static User.ColorPrefType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPrefKey

public java.lang.String getPrefKey()

getFactoryDefaultColor

public java.awt.Color getFactoryDefaultColor()