|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.LegendSymbol
public abstract class LegendSymbol extends java.lang.Object implements java.io.Serializable
Legend symbol renderer.
| Modifier and Type | Field and Description |
|---|---|
protected PaintStyle<SeriesPaintTags> |
paintStyle
Color style object |
| Constructor and Description |
|---|
LegendSymbol()
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
draw(AbstractGraphics g,
Style style,
Rectangle2D bounds,
PaintMode paintMode)
Renders the symbol. |
abstract int |
getPreferredHeight(AbstractGraphics g)
Calculates the preferred height of the symbol. |
abstract int |
getPreferredWidth(AbstractGraphics g)
Calculates the preferred width of the symbol. |
ChartEntity |
getReferencedEntity()
Deprecated. use LegendEntry.getReferencedEntity |
void |
setReferencedEntity(ChartEntity referencedEntity)
Deprecated. use LegendEntry.setReferencedEntity (ChartEntity) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PaintStyle<SeriesPaintTags> paintStyle
| Constructor Detail |
|---|
public LegendSymbol()
| Method Detail |
|---|
@Deprecated public void setReferencedEntity(ChartEntity referencedEntity)
referencedEntity - the referenced chart entity@Deprecated public ChartEntity getReferencedEntity()
public abstract int getPreferredHeight(AbstractGraphics g)
g - graphics context for which the preferred height is to be calculatedpublic abstract int getPreferredWidth(AbstractGraphics g)
g - graphics context for which the preferred width is to be calculated
public abstract void draw(AbstractGraphics g,
Style style,
Rectangle2D bounds,
PaintMode paintMode)
g - graphics contextstyle - legend stylesheet for common attributes, such a box symbol borderbounds - symbol boundspaintMode - paint mode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||