net.sourceforge.agora.simulator.model
Class BlotterEntry

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

public class BlotterEntry
extends java.lang.Object

The Class BlotterEntry.


Nested Class Summary
static class BlotterEntry.LevelIcon
          The Enum LevelIcon.
 
Constructor Summary
BlotterEntry(java.lang.String counterparty, BlotterText blotterText)
          Instantiates a new blotter entry.
BlotterEntry(java.lang.String counterparty, BlotterText blotterText, BlotterEntry.LevelIcon levelIcon)
          Instantiates a new blotter entry.
BlotterEntry(java.lang.String counterparty, java.util.List<BlotterText> blotterTexts)
          Instantiates a new blotter entry.
BlotterEntry(java.lang.String counterparty, java.util.List<BlotterText> blotterTexts, BlotterEntry.LevelIcon levelIcon)
          Instantiates a new blotter entry.
BlotterEntry(java.lang.String counterparty, java.lang.String text)
          Instantiates a new blotter entry.
BlotterEntry(java.lang.String counterparty, java.lang.String text, BlotterEntry.LevelIcon levelIcon)
          Instantiates a new blotter entry.
 
Method Summary
 java.util.List<BlotterText> getBlotterTexts()
          Gets the blotter texts.
 java.lang.String getCounterparty()
          Gets the counterparty.
 BlotterEntry.LevelIcon getLevelIcon()
          Gets the level icon.
 int getOffset()
          Gets the offset.
 void setOffset(int offset)
          Sets the offset.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlotterEntry

public BlotterEntry(java.lang.String counterparty,
                    java.util.List<BlotterText> blotterTexts,
                    BlotterEntry.LevelIcon levelIcon)
Instantiates a new blotter entry.

Parameters:
counterparty - the counterparty
blotterTexts - the blotter texts
levelIcon - the level icon

BlotterEntry

public BlotterEntry(java.lang.String counterparty,
                    BlotterText blotterText,
                    BlotterEntry.LevelIcon levelIcon)
Instantiates a new blotter entry.

Parameters:
counterparty - the counterparty
blotterText - the blotter text
levelIcon - the level icon

BlotterEntry

public BlotterEntry(java.lang.String counterparty,
                    java.lang.String text,
                    BlotterEntry.LevelIcon levelIcon)
Instantiates a new blotter entry.

Parameters:
counterparty - the counterparty
text - the text
levelIcon - the level icon

BlotterEntry

public BlotterEntry(java.lang.String counterparty,
                    BlotterText blotterText)
Instantiates a new blotter entry.

Parameters:
counterparty - the counterparty
blotterText - the blotter text

BlotterEntry

public BlotterEntry(java.lang.String counterparty,
                    java.lang.String text)
Instantiates a new blotter entry.

Parameters:
counterparty - the counterparty
text - the text

BlotterEntry

public BlotterEntry(java.lang.String counterparty,
                    java.util.List<BlotterText> blotterTexts)
Instantiates a new blotter entry.

Parameters:
counterparty - the counterparty
blotterTexts - the blotter texts
Method Detail

getCounterparty

public java.lang.String getCounterparty()
Gets the counterparty.

Returns:
the counterparty

getBlotterTexts

public java.util.List<BlotterText> getBlotterTexts()
Gets the blotter texts.

Returns:
the blotter texts

getLevelIcon

public BlotterEntry.LevelIcon getLevelIcon()
Gets the level icon.

Returns:
the level icon

getOffset

public int getOffset()
Gets the offset.

Returns:
the offset

setOffset

public void setOffset(int offset)
Sets the offset.

Parameters:
offset - the new offset