simulations.gui.curves
Class ColorElement

java.lang.Object
  extended by simulations.gui.curves.ColorElement

public class ColorElement
extends java.lang.Object

This class describes an element to associate a color to an object to draw curves.


Constructor Summary
ColorElement(java.lang.Object object, java.awt.Color color)
          Creates a new instance of ColorVector
 
Method Summary
 java.awt.Color getColor()
          Getter for property color.
 java.lang.Object getObject()
          Getter for property object.
 void setColor(java.awt.Color color)
          Setter for property color.
 void setObject(java.lang.Object object)
          Setter for property player.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorElement

public ColorElement(java.lang.Object object,
                    java.awt.Color color)
Creates a new instance of ColorVector

Parameters:
object - The object
color - The color to associate
Method Detail

getColor

public java.awt.Color getColor()
Getter for property color.

Returns:
Value of property color.

setColor

public void setColor(java.awt.Color color)
Setter for property color.

Parameters:
color - New value of property color.

getObject

public java.lang.Object getObject()
Getter for property object.

Returns:
Value of property object.

setObject

public void setObject(java.lang.Object object)
Setter for property player.

Parameters:
object - New value of property object.