net.sourceforge.agora.simulator.model
Class BlotterText

java.lang.Object
  extended by net.sourceforge.agora.simulator.model.BlotterText

public class BlotterText
extends java.lang.Object

The Class BlotterText.


Constructor Summary
BlotterText(java.lang.String text)
          Instantiates a new blotter text.
BlotterText(java.lang.String text, java.awt.Color color)
          Instantiates a new blotter text.
 
Method Summary
 java.awt.Color getColor()
          Gets the color.
 java.lang.String getText()
          Gets the text.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlotterText

public BlotterText(java.lang.String text,
                   java.awt.Color color)
Instantiates a new blotter text.

Parameters:
text - the text
color - the color

BlotterText

public BlotterText(java.lang.String text)
Instantiates a new blotter text.

Parameters:
text - the text
Method Detail

getText

public java.lang.String getText()
Gets the text.

Returns:
the text

getColor

public java.awt.Color getColor()
Gets the color.

Returns:
the color