com.bbn.openmap.dataAccess.cgm
Class ColorCommand

java.lang.Object
  extended by com.bbn.openmap.dataAccess.cgm.Command
      extended by com.bbn.openmap.dataAccess.cgm.ColorCommand
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
EdgeColor, FillColor, LineColor, TextColor

public class ColorCommand
extends Command


Field Summary
 
Fields inherited from class com.bbn.openmap.dataAccess.cgm.Command
logger
 
Constructor Summary
ColorCommand(int ec, int eid, int l, java.io.DataInputStream in)
           
 
Method Summary
 void paint(CGMDisplay d)
           
 void setColorFromColorTable(ColorTable ct)
           
 java.lang.String toString()
           
 
Methods inherited from class com.bbn.openmap.dataAccess.cgm.Command
clone, makeInt, makeString, makeString, read, read16, scale
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColorCommand

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

toString

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

paint

public void paint(CGMDisplay d)
Overrides:
paint in class Command

setColorFromColorTable

public void setColorFromColorTable(ColorTable ct)
Parameters:
ct -


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details