|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.chart.AbstractNode
com.zfqjava.chart.LegendNode
public class LegendNode
LegendNode provides a legend node.
| Constructor Summary | |
|---|---|
LegendNode()
|
|
| Method Summary | |
|---|---|
void |
addLegend(String name)
|
void |
addLegend(String name,
int index)
|
protected Node |
createIconNode()
|
protected Shape |
createPaintShape()
Creates the paint shape. |
protected TextNode |
createTextNode()
|
void |
doLayout()
Layout the children nodes. |
Node |
getIconNode(int index)
|
int |
getLegendCount()
|
Dimension |
getPreferredSize()
Returns the preferred size of this node. |
TextNode |
getTextNode(int index)
|
int |
indexOfLegend(String name)
|
void |
removeLegend(int index)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LegendNode()
| Method Detail |
|---|
protected Shape createPaintShape()
AbstractNode
createPaintShape in class AbstractNodepublic void addLegend(String name)
public void addLegend(String name,
int index)
protected TextNode createTextNode()
protected Node createIconNode()
public void removeLegend(int index)
public int indexOfLegend(String name)
public int getLegendCount()
public TextNode getTextNode(int index)
public Node getIconNode(int index)
public Dimension getPreferredSize()
Node
getPreferredSize in interface NodegetPreferredSize in class AbstractNodepublic void doLayout()
Node
doLayout in interface NodedoLayout in class AbstractNode
|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||