Library | Package Java Toolkit

Class StdColor

package com.ptc.pfc.pfcBase;

public class StdColor
  implements jxenum



Description

This enumerated type lists the supported color types.
See Also:
BaseSession.SetTextColor(StdColor), BaseSession.GetRGBFromStdColor(StdColor), BaseSession.SetStdColorFromRGB(StdColor, ColorRGB), Display



Field Summary
static final int_COLOR_LETTER
    Integer value of enum value "COLOR_LETTER"
    The color used for text.
static final StdColorCOLOR_LETTER
    Object value of enum value "COLOR_LETTER"
    The color used for text.
static final int_COLOR_HIGHLIGHT
    Integer value of enum value "COLOR_HIGHLIGHT"
    The color used for highlighting entities.
static final StdColorCOLOR_HIGHLIGHT
    Object value of enum value "COLOR_HIGHLIGHT"
    The color used for highlighting entities.
static final int_COLOR_DRAWING
    Integer value of enum value "COLOR_DRAWING"
    The color used for drawings and geometry.
static final StdColorCOLOR_DRAWING
    Object value of enum value "COLOR_DRAWING"
    The color used for drawings and geometry.
static final int_COLOR_BACKGROUND
    Integer value of enum value "COLOR_BACKGROUND"
    The background color, if the blended background is not enabled.
static final StdColorCOLOR_BACKGROUND
    Object value of enum value "COLOR_BACKGROUND"
    The background color, if the blended background is not enabled.
static final int_COLOR_HALF_TONE
    Integer value of enum value "COLOR_HALF_TONE"
    The half-tone color.
static final StdColorCOLOR_HALF_TONE
    Object value of enum value "COLOR_HALF_TONE"
    The half-tone color.
static final int_COLOR_EDGE_HIGHLIGHT
    Integer value of enum value "COLOR_EDGE_HIGHLIGHT"
    The color used for highlighting edges.
static final StdColorCOLOR_EDGE_HIGHLIGHT
    Object value of enum value "COLOR_EDGE_HIGHLIGHT"
    The color used for highlighting edges.
static final int_COLOR_DIMMED
    Integer value of enum value "COLOR_DIMMED"
    The color used for dimmed (unavailable) buttons.
static final StdColorCOLOR_DIMMED
    Object value of enum value "COLOR_DIMMED"
    The color used for dimmed (unavailable) buttons.
static final int_COLOR_ERROR
    Integer value of enum value "COLOR_ERROR"
    The color used for errors, such as underdimensioned sections.
static final StdColorCOLOR_ERROR
    Object value of enum value "COLOR_ERROR"
    The color used for errors, such as underdimensioned sections.
static final int_COLOR_WARNING
    Integer value of enum value "COLOR_WARNING"
    The color used for warnings.
static final StdColorCOLOR_WARNING
    Object value of enum value "COLOR_WARNING"
    The color used for warnings.
static final int_COLOR_SHEETMETAL
    Integer value of enum value "COLOR_SHEETMETAL"
    The color used for sheetmetal surfaces.
static final StdColorCOLOR_SHEETMETAL
    Object value of enum value "COLOR_SHEETMETAL"
    The color used for sheetmetal surfaces.
static final int_COLOR_CURVE
    Integer value of enum value "COLOR_CURVE"
    The color used for curves.
static final StdColorCOLOR_CURVE
    Object value of enum value "COLOR_CURVE"
    The color used for curves.
static final int_COLOR_PRESEL_HIGHLIGHT
    Integer value of enum value "COLOR_PRESEL_HIGHLIGHT"
    The color used to highlight items before they are selected.
static final StdColorCOLOR_PRESEL_HIGHLIGHT
    Object value of enum value "COLOR_PRESEL_HIGHLIGHT"
    The color used to highlight items before they are selected.
static final int_COLOR_SELECTED
    Integer value of enum value "COLOR_SELECTED"
    The color used for an already selected item.
static final StdColorCOLOR_SELECTED
    Object value of enum value "COLOR_SELECTED"
    The color used for an already selected item.
static final int_COLOR_SECONDARY_SELECTED
    Integer value of enum value "COLOR_SECONDARY_SELECTED"
    The color used for a secondary set of selected items.
static final StdColorCOLOR_SECONDARY_SELECTED
    Object value of enum value "COLOR_SECONDARY_SELECTED"
    The color used for a secondary set of selected items.
static final int_COLOR_PREVIEW
    Integer value of enum value "COLOR_PREVIEW"
    The color used for preview highlighting in the session.
static final StdColorCOLOR_PREVIEW
    Object value of enum value "COLOR_PREVIEW"
    The color used for preview highlighting in the session.
static final int_COLOR_SECONDARY_PREVIEW
    Integer value of enum value "COLOR_SECONDARY_PREVIEW"
    The color used for secondary preview highlighting in the session.
static final StdColorCOLOR_SECONDARY_PREVIEW
    Object value of enum value "COLOR_SECONDARY_PREVIEW"
    The color used for secondary preview highlighting in the session.
static final int_COLOR_DATUM
    Integer value of enum value "COLOR_DATUM"
    The color used for datum objects (planes, axes, points and coordinate systems).
static final StdColorCOLOR_DATUM
    Object value of enum value "COLOR_DATUM"
    The color used for datum objects (planes, axes, points and coordinate systems).
static final int_COLOR_QUILT
    Integer value of enum value "COLOR_QUILT"
    The color used for datum quilts.
static final StdColorCOLOR_QUILT
    Object value of enum value "COLOR_QUILT"
    The color used for datum quilts.
static final int_COLOR_LWW
    Integer value of enum value "COLOR_LWW"
     
static final StdColorCOLOR_LWW
    Object value of enum value "COLOR_LWW"
     
static final int_COLOR_MAX
    Integer value of enum value "COLOR_MAX"
     
static final StdColorCOLOR_MAX
    Object value of enum value "COLOR_MAX"
     
static final int_COLOR_SHADED_EDGE
    Integer value of enum value "COLOR_SHADED_EDGE"
     
static final StdColorCOLOR_SHADED_EDGE
    Object value of enum value "COLOR_SHADED_EDGE"
     
static final int_COLOR_SS_HAS_FROZEN_FEAT
    Integer value of enum value "COLOR_SS_HAS_FROZEN_FEAT"
     
static final StdColorCOLOR_SS_HAS_FROZEN_FEAT
    Object value of enum value "COLOR_SS_HAS_FROZEN_FEAT"
     
static final int_COLOR_SS_FROZEN_COMPONENT
    Integer value of enum value "COLOR_SS_FROZEN_COMPONENT"
     
static final StdColorCOLOR_SS_FROZEN_COMPONENT
    Object value of enum value "COLOR_SS_FROZEN_COMPONENT"
     
static final int_COLOR_SS_FAILED_ITEMS
    Integer value of enum value "COLOR_SS_FAILED_ITEMS"
     
static final StdColorCOLOR_SS_FAILED_ITEMS
    Object value of enum value "COLOR_SS_FAILED_ITEMS"
     
static final int_COLOR_SS_PACKAGED
    Integer value of enum value "COLOR_SS_PACKAGED"
     
static final StdColorCOLOR_SS_PACKAGED
    Object value of enum value "COLOR_SS_PACKAGED"
     
static final int_COLOR_SS_RECENT_SEARCH
    Integer value of enum value "COLOR_SS_RECENT_SEARCH"
     
static final StdColorCOLOR_SS_RECENT_SEARCH
    Object value of enum value "COLOR_SS_RECENT_SEARCH"
     
static final int_COLOR_SS_INTCH_GROUP_MEMBERS
    Integer value of enum value "COLOR_SS_INTCH_GROUP_MEMBERS"
     
static final StdColorCOLOR_SS_INTCH_GROUP_MEMBERS
    Object value of enum value "COLOR_SS_INTCH_GROUP_MEMBERS"
     
static final int_COLOR_SS_REPLACED_COMPS
    Integer value of enum value "COLOR_SS_REPLACED_COMPS"
     
static final StdColorCOLOR_SS_REPLACED_COMPS
    Object value of enum value "COLOR_SS_REPLACED_COMPS"
     
static final int_COLOR_SS_FT_INSTANCES
    Integer value of enum value "COLOR_SS_FT_INSTANCES"
     
static final StdColorCOLOR_SS_FT_INSTANCES
    Object value of enum value "COLOR_SS_FT_INSTANCES"
     
static final int_COLOR_SS_FT_GENERICS
    Integer value of enum value "COLOR_SS_FT_GENERICS"
     
static final StdColorCOLOR_SS_FT_GENERICS
    Object value of enum value "COLOR_SS_FT_GENERICS"
     
static final int_COLOR_SS_HAS_PROPROGRAM
    Integer value of enum value "COLOR_SS_HAS_PROPROGRAM"
     
static final StdColorCOLOR_SS_HAS_PROPROGRAM
    Object value of enum value "COLOR_SS_HAS_PROPROGRAM"
     
static final int_COLOR_SS_HAS_PROPROGRAM_INPUT
    Integer value of enum value "COLOR_SS_HAS_PROPROGRAM_INPUT"
     
static final StdColorCOLOR_SS_HAS_PROPROGRAM_INPUT
    Object value of enum value "COLOR_SS_HAS_PROPROGRAM_INPUT"
     
static final int_COLOR_SS_DRIVEN_BY_PROPROGRAM
    Integer value of enum value "COLOR_SS_DRIVEN_BY_PROPROGRAM"
     
static final StdColorCOLOR_SS_DRIVEN_BY_PROPROGRAM
    Object value of enum value "COLOR_SS_DRIVEN_BY_PROPROGRAM"
     
static final int_COLOR_SS_MODULE_NODES
    Integer value of enum value "COLOR_SS_MODULE_NODES"
     
static final StdColorCOLOR_SS_MODULE_NODES
    Object value of enum value "COLOR_SS_MODULE_NODES"
     
static final int_COLOR_SS_CURRENT_DESIGN_SOL
    Integer value of enum value "COLOR_SS_CURRENT_DESIGN_SOL"
     
static final StdColorCOLOR_SS_CURRENT_DESIGN_SOL
    Object value of enum value "COLOR_SS_CURRENT_DESIGN_SOL"
     
static final int_COLOR_SS_NONCURRENT_DESIGN_SOL
    Integer value of enum value "COLOR_SS_NONCURRENT_DESIGN_SOL"
     
static final StdColorCOLOR_SS_NONCURRENT_DESIGN_SOL
    Object value of enum value "COLOR_SS_NONCURRENT_DESIGN_SOL"
     
static final int_COLOR_SS_REPRESENTATIVE_DESIGN_SOL
    Integer value of enum value "COLOR_SS_REPRESENTATIVE_DESIGN_SOL"
     
static final StdColorCOLOR_SS_REPRESENTATIVE_DESIGN_SOL
    Object value of enum value "COLOR_SS_REPRESENTATIVE_DESIGN_SOL"
     
static final int_COLOR_SS_CONF_ASM_NODES
    Integer value of enum value "COLOR_SS_CONF_ASM_NODES"
     
static final StdColorCOLOR_SS_CONF_ASM_NODES
    Object value of enum value "COLOR_SS_CONF_ASM_NODES"
     
static final int_COLOR_SS_CHILD_OF_MODIFIED_IN_DMA
    Integer value of enum value "COLOR_SS_CHILD_OF_MODIFIED_IN_DMA"
     
static final StdColorCOLOR_SS_CHILD_OF_MODIFIED_IN_DMA
    Object value of enum value "COLOR_SS_CHILD_OF_MODIFIED_IN_DMA"
     
static final int_StdColor_null
    Enum null value.

Method Summary
static StdColorFromInt (int value)
    Creates enum object from an integer.
static StdColorFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static StdColorFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static StdColorFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.