net.sf.jcgm.core
Class ColourCommand

java.lang.Object
  extended by net.sf.jcgm.core.Command
      extended by net.sf.jcgm.core.ColourCommand
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
EdgeColour, FillColour, LineColour, MarkerColour, TextColour

public class ColourCommand
extends Command

Version:
$Id: ColourCommand.java 46 2011-12-14 08:26:44Z phica $
Author:
xphc (Philippe Cadé), BBNT Solutions

Field Summary
protected  java.awt.Color color
           
protected  int colorIndex
           
 
Fields inherited from class net.sf.jcgm.core.Command
args, currentArg
 
Constructor Summary
ColourCommand(int ec, int eid, int l, java.io.DataInput in)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jcgm.core.Command
alignOnWord, clone, getElementClass, getElementCode, info, makeByte, makeChar, makeColorIndex, makeColorIndex, makeDirectColor, makeEnum, makeFixedPoint, makeFixedString, makeFloat32, makeFloatingPoint, makeFloatingPoint32, makeIndex, makeInt, makeName, makePoint, makeReal, makeSDR, makeSignedInt16, makeSignedInt24, makeSignedInt32, makeSignedInt8, makeSizeSpecification, makeString, makeUInt, makeVc, makeVdc, paint, printShape, read, readCommand, sizeOfDirectColor, sizeOfEnum, sizeOfInt, sizeOfPoint, sizeOfVdc, unimplemented, unsupported
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

color

protected java.awt.Color color

colorIndex

protected int colorIndex
Constructor Detail

ColourCommand

public ColourCommand(int ec,
                     int eid,
                     int l,
                     java.io.DataInput in)
              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Command


Part of the jcgm library http://jcgm.sourceforge.net/