uka.graph.dlf
Class DLFColorMessage

java.lang.Object
  extended byuka.graph.Message
      extended byuka.graph.dlf.DLFColorMessage
All Implemented Interfaces:
Anonymous, Immutable, Printable, java.io.Serializable

public class DLFColorMessage
extends uka.graph.Message

This messages acknowledges a proposed color.

Author:
Björn-Oliver Hartmann
See Also:
Serialized Form

Field Summary
protected  int color
          The color wich is acknowledged.
 
Fields inherited from class uka.graph.Message
fromRank
 
Constructor Summary
DLFColorMessage(int fromRank, int color)
           
 
Method Summary
 void appendTo(ToString s)
          This method should append the contents of each instance variable of the current object to the given ToString object.
 int getColor()
          Returns the acknowledged color.
 
Methods inherited from class uka.graph.Message
getFromRank
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

protected final int color
The color wich is acknowledged.

Constructor Detail

DLFColorMessage

public DLFColorMessage(int fromRank,
                       int color)
Method Detail

getColor

public int getColor()
Returns the acknowledged color.

Returns:
The acknowledged color.

appendTo

public void appendTo(ToString s)
Description copied from interface: Printable
This method should append the contents of each instance variable of the current object to the given ToString object. The appended data should be labeled with the name of the corresponding instance variable.