|
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.GridPart
li.netcat.chart.util.PolarGridPart
Represents a polar grid that looks for example like this:
It is possible to specify, what lines and marks should be painted. The tangential lines of the grid are also called "Rings" and the radial lines are also called "Spokes".
| Field Summary |
| Fields inherited from class li.netcat.chart.util.AbstractPart |
BACKGROUND, FOREGROUND, PERSPECTIVE |
| Constructor Summary | |
PolarGridPart(PolarGraphPart polarGraphPart)
Constructs a new PolarGridPart using the given PolarGraphPart. |
|
| Method Summary | |
java.lang.Object |
getInnerBorderPerspective()
Returns the perspective position of the inner border. |
Layout |
getLayout(java.awt.Graphics g)
Returns an instance of a layout that is able to report the bounds of this part and is able to paint this part. |
java.lang.Object |
getOuterBorderPerspective()
Returns the perspective position of the outer border. |
boolean |
getPaintInnerBorder()
Returns the paint inner border flag. |
boolean |
getPaintOuterBorder()
Returns the paint outer border flag. |
boolean |
getPaintSpokes()
Returns the paint spokes flag. |
boolean |
getPaintTangentialLines()
Returns the paint tangential lines flag. |
boolean |
getPaintTangentialMarks()
Returns the paint tangential marks flag. |
PolarGraphPart |
getPolarGraphPart()
Returns the graph part that defines the dimensions and orientation of this grid. |
int |
getRingInterval()
Returns the ring interval. |
Pen |
getRingPen()
Returns the pen that is used to paint the rings. |
PenBox |
getRingPenBox()
Returns the pen box that is used to paint the rings. |
int |
getSpokeInterval()
Returns the spoke interval. |
Pen |
getSpokePen()
Returns the pen that is used to paint the spokes. |
PenBox |
getSpokePenBox()
Returns the pen box that is used to paint the spokes. |
java.lang.Object |
getSpokesPerspective()
Returns the perspective position of the spokes. |
java.lang.Object |
getTangentialLinesPerspective()
Returns the perspective position of the tangential lines. |
java.lang.Object |
getTangentialMarksPerspective()
Returns the perspective position of the tangential marks. |
void |
setInnerBorderPerspective(java.lang.Object perspective)
Sets the perspective position of the inner border. |
void |
setOuterBorderPerspective(java.lang.Object perspective)
Sets the perspective position of the outer border. |
void |
setPaintInnerBorder(boolean flag)
Sets the paint inner border flag. |
void |
setPaintOuterBorder(boolean flag)
Sets the paint outer border flag. |
void |
setPaintSpokes(boolean flag)
Sets the paint spokes flag. |
void |
setPaintTangentialLines(boolean flag)
Sets the paint tangential lines flag. |
void |
setPaintTangentialMarks(boolean flag)
Sets the paint tangential marks flag. |
void |
setPolarGraphPart(PolarGraphPart part)
Sets the graph part that defines the dimensions and orientation of this grid. |
void |
setRingInterval(int interval)
Sets the ring interval. |
void |
setRingPen(Pen pen)
Sets the pen that is used to paint the rings. |
void |
setRingPenBox(PenBox penBox)
Sets the pen box that is used to paint the rings. |
void |
setSpokeInterval(int interval)
Sets the spoke interval. |
void |
setSpokePen(Pen pen)
Sets the pen that is used to paint the spoke lines. |
void |
setSpokePenBox(PenBox penBox)
Sets the pen box that is used to paint the spoke lines. |
void |
setSpokesPerspective(java.lang.Object perspective)
Sets the perspective position of the spokes. |
void |
setTangentialLinesPerspective(java.lang.Object perspective)
Sets the perspective position of the tangential lines. |
void |
setTangentialMarksPerspective(java.lang.Object perspective)
Sets the perspective position of the tangential marks. |
| 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 PolarGridPart(PolarGraphPart polarGraphPart)
PolarGridPart using the given PolarGraphPart.
polarGraphPart - The relevant PolarGraphPart or null if no part is currently available.
In that case, this grid part will not be visible.| Method Detail |
public PolarGraphPart getPolarGraphPart()
public void setPolarGraphPart(PolarGraphPart part)
part - The relevant PolarGraphPart or null if no part is currently available.
In that case, this grid part will not be visible.public boolean getPaintOuterBorder()
true if the outer border gets painted.public void setPaintOuterBorder(boolean flag)
flag - Specify true to paint the outer border.public boolean getPaintInnerBorder()
public void setPaintInnerBorder(boolean flag)
flag - Specify true to paint the inner border.public java.lang.Object getOuterBorderPerspective()
PerspectivePartpublic void setOuterBorderPerspective(java.lang.Object perspective)
perspective - The perspective position of the outer border.PerspectivePartpublic java.lang.Object getInnerBorderPerspective()
PerspectivePartpublic void setInnerBorderPerspective(java.lang.Object perspective)
perspective - The perspective position of the inner border.PerspectivePartpublic boolean getPaintSpokes()
public void setPaintSpokes(boolean flag)
flag - Specify true to paint the spokes.public Pen getSpokePen()
null.public void setSpokePen(Pen pen)
pen - The pen that paints the spoke lines, might be null.public PenBox getSpokePenBox()
null.public void setSpokePenBox(PenBox penBox)
penBox - The pen that is used to paint the spoke lines, might be null.public java.lang.Object getSpokesPerspective()
PerspectivePartpublic void setSpokesPerspective(java.lang.Object perspective)
perspective - The perspective position of the spokes.PerspectivePartpublic Pen getRingPen()
null.public void setRingPen(Pen pen)
pen - The pen that paints the ring lines, might be null.public PenBox getRingPenBox()
null.public void setRingPenBox(PenBox penBox)
penBox - The pen that is used to paint the ring lines, might be null.public boolean getPaintTangentialMarks()
public void setPaintTangentialMarks(boolean flag)
flag - Specify true to paint the tangential marks.public java.lang.Object getTangentialMarksPerspective()
PerspectivePartpublic void setTangentialMarksPerspective(java.lang.Object perspective)
perspective - The perspective position of the tangential marks.PerspectivePartpublic boolean getPaintTangentialLines()
public void setPaintTangentialLines(boolean flag)
flag - Specify true to paint the tangential lines.public java.lang.Object getTangentialLinesPerspective()
PerspectivePartpublic void setTangentialLinesPerspective(java.lang.Object perspective)
perspective - The perspective position of the tangential lines.PerspectivePartpublic int getSpokeInterval()
public void setSpokeInterval(int interval)
interval - The new interval, must be >=1.public int getRingInterval()
public void setRingInterval(int interval)
interval - The new interval, must be >=1.public Layout getLayout(java.awt.Graphics g)
Part
g - The relevant graphics object.
null.
|
ChartCat 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||