Library | Package Java Toolkit

Class GraphicsMode

package com.ptc.pfc.pfcDisplay;

public class GraphicsMode
  implements jxenum



Description

Enumertated type representing the type of graphics that will be drawn on the screen using the methods on Display



Field Summary
static final int_DRAW_GRAPHICS_NORMAL
    Integer value of enum value "DRAW_GRAPHICS_NORMAL"
    Graphics are drawn in normal mode. Entities will be created using the current graphicscolor.
static final GraphicsModeDRAW_GRAPHICS_NORMAL
    Object value of enum value "DRAW_GRAPHICS_NORMAL"
    Graphics are drawn in normal mode. Entities will be created using the current graphicscolor.
static final int_DRAW_GRAPHICS_COMPLEMENT
    Integer value of enum value "DRAW_GRAPHICS_COMPLEMENT"
    Graphics are drawn in complement mode. Entities drawn over existing graphics entitieswill erase the existing entities. Entities drawn where graphics are not present have noeffect.
static final GraphicsModeDRAW_GRAPHICS_COMPLEMENT
    Object value of enum value "DRAW_GRAPHICS_COMPLEMENT"
    Graphics are drawn in complement mode. Entities drawn over existing graphics entitieswill erase the existing entities. Entities drawn where graphics are not present have noeffect.
static final int_GraphicsMode_null
    Enum null value.

Method Summary
static GraphicsModeFromInt (int value)
    Creates enum object from an integer.
static GraphicsModeFromInt (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 GraphicsModeFromInt (int value)


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


FromInt

static GraphicsModeFromInt (Integer value)


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