|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectli.netcat.chart.util.AbstractPart
li.netcat.chart.util.TextPart
li.netcat.chart.util.TagPart
li.netcat.chart.util.InscribePart
li.netcat.chart.util.PolarInscribePart
Represents a round inscription that looks for example like this:
It can be used to tag a polar graph part.
This part uses the tag concept and is therefore very flexible in its strategy and layout.
For more details, see the super class TagPart
.
Be aware that this part might take a lot of space and use a lot of lines depending on the number of data elements.
Field Summary |
Fields inherited from class li.netcat.chart.util.AbstractPart |
BACKGROUND, FOREGROUND, PERSPECTIVE |
Constructor Summary | |
PolarInscribePart(PolarGraphPart polarGraphPart)
Constructs a new PolarInscribePart that tags the given graph part. |
Method Summary | |
PolarGraphPart |
getPolarGraphPart()
Returns the polar graph part that gets decorated by this tag part. |
TagConstraints |
getTagConstraints(java.awt.Graphics g)
Subclasses must implement this method to report the tag constraints that do the first displacements. |
void |
setGraphPart(GraphPart graphPart)
This overridden method makes sure, that only polar graph parts are set. |
void |
setPolarGraphPart(PolarGraphPart polarGraphPart)
Sets the polar graph part that gets decorated by this tag part. |
Methods inherited from class li.netcat.chart.util.InscribePart |
getCrosswisePosition, getCrosswiseShift, getGraphPart, getLengthwisePosition, getLengthwiseShift, getTags, setTargetPosition |
Methods inherited from class li.netcat.chart.util.TagPart |
createTag, createTag, createTag, getAdditionalLineLength, getBottom, getLayout, getLeft, getLinePenBox, getPen, getRight, getTagManager, getTextPenBox, getTop, setAdditionalLineLength, setInsets, setLinePenBox, setPen, setTagManager, setTextPenBox |
Methods inherited from class li.netcat.chart.util.TextPart |
getTextLook, setTextLook |
Methods inherited from class li.netcat.chart.util.AbstractPart |
getChart, getPerspective, invalidate, setChart, setPerspective |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolarInscribePart(PolarGraphPart polarGraphPart)
PolarInscribePart
that tags the given graph part.
polarGraphPart
- The part that gets tagged, might also be null
.Method Detail |
public PolarGraphPart getPolarGraphPart()
null
.public void setPolarGraphPart(PolarGraphPart polarGraphPart)
polarGraphPart
- The polar graph part or null
.public void setGraphPart(GraphPart graphPart)
setPolarGraphPart((PolarGraphPart)graphPart);
setGraphPart
in class InscribePart
graphPart
- The polar graph part or null
.public TagConstraints getTagConstraints(java.awt.Graphics g)
TagPart
getTagConstraints
in class TagPart
g
- The relevant graphics object.
|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |