lt.monarch.chart.engine
Class AbstractLegend.LegendEntryEntity

java.lang.Object
  extended by lt.monarch.chart.engine.AbstractLegend.LegendEntryEntity
All Implemented Interfaces:
ChartEntity
Enclosing class:
AbstractLegend

public class AbstractLegend.LegendEntryEntity
extends java.lang.Object
implements ChartEntity

The legend entry chart entity.


Constructor Summary
Constructor and Description
AbstractLegend.LegendEntryEntity(ChartEntity parentEntity, LegendEntry legendEntry)
          Constructs a new LegendEntryEntity with the specified parent chart entity.
 
Method Summary
Modifier and Type Method and Description
 boolean equals(java.lang.Object o)
          Indicates whether some other object is equal to this legend entry entity.
 void fillEntitySheet(java.util.Properties id)
          Fills in the property sheet of the entity.
 java.lang.String getDescription()
          Gets a description of the legend entry entity.
 LegendEntry getLegendEntry()
          Gets legend entry of the entity
 ChartEntity getParentEntity()
          Gets the parent entity.
 java.lang.String getShortDescription()
          Gets a short description of the legend entry entity.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLegend.LegendEntryEntity

public AbstractLegend.LegendEntryEntity(ChartEntity parentEntity,
                                        LegendEntry legendEntry)
Constructs a new LegendEntryEntity with the specified parent chart entity.

Parameters:
parentEntity - the parent chart entity
legendEntry - legend entry
Method Detail

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is equal to this legend entry entity.

Overrides:
equals in class java.lang.Object
Parameters:
o - the reference object with which to compare
Returns:
true if this object is the same as the o argument; false otherwise

getDescription

public java.lang.String getDescription()
Gets a description of the legend entry entity. Returns description of the parent entity.

Specified by:
getDescription in interface ChartEntity
Returns:
description of the legend entry entity

getShortDescription

public java.lang.String getShortDescription()
Gets a short description of the legend entry entity. Returns null.

Specified by:
getShortDescription in interface ChartEntity
Returns:
short description of the legend entry entity

getParentEntity

public ChartEntity getParentEntity()
Gets the parent entity.

Specified by:
getParentEntity in interface ChartEntity
Returns:
the parent entity

getLegendEntry

public LegendEntry getLegendEntry()
Gets legend entry of the entity

Returns:
legend entry

fillEntitySheet

public void fillEntitySheet(java.util.Properties id)
Fills in the property sheet of the entity.

Specified by:
fillEntitySheet in interface ChartEntity
Parameters:
id - property sheet