|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.LegendSymbol
lt.monarch.chart.legend.symbols.LegendMarkerSymbol
public class LegendMarkerSymbol extends LegendSymbol
Legend symbol to refer to the scatter series. Draws just the marker.
| Modifier and Type | Field and Description |
|---|---|
protected AbstractMarker |
marker
Marker to paint |
| Fields inherited from class lt.monarch.chart.engine.LegendSymbol |
|---|
paintStyle |
| Constructor and Description |
|---|
LegendMarkerSymbol()
Constructs a new symbol. |
LegendMarkerSymbol(AbstractMarker marker)
Constructs a new symbol with the given marker. |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(AbstractGraphics g,
Style legendStyle,
Rectangle2D bounds,
PaintMode paintMode)
Renders the symbol. |
int |
getPreferredHeight(AbstractGraphics g)
Gets the preferred height of this legend symbol. |
int |
getPreferredWidth(AbstractGraphics g)
Gets the preferred width of this legend symbol. |
| Methods inherited from class lt.monarch.chart.engine.LegendSymbol |
|---|
getReferencedEntity, setReferencedEntity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AbstractMarker marker
| Constructor Detail |
|---|
public LegendMarkerSymbol()
public LegendMarkerSymbol(AbstractMarker marker)
| Method Detail |
|---|
public int getPreferredHeight(AbstractGraphics g)
getPreferredHeight in class LegendSymbolg - graphics context for which the preferred height is to be calculatedpublic int getPreferredWidth(AbstractGraphics g)
getPreferredWidth in class LegendSymbolg - graphics context for which the preferred width is to be calculated
public void draw(AbstractGraphics g,
Style legendStyle,
Rectangle2D bounds,
PaintMode paintMode)
LegendSymbol
draw in class LegendSymbolg - graphics contextlegendStyle - 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 | ||||||||