|
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.elem.Element
li.netcat.chart.util.elem.LinesElement
Immutable, basic element of a chart that defines a set of lines. It contains the shape that defines the lines and a pen that is used to stroke the outline of the shape and fill the arisen lateral areas in a 3D view.
| Constructor Summary | |
LinesElement(java.awt.Shape lines,
Pen pen,
java.lang.Object perspective)
Constructs a new area element and initializes its fields to the given values. |
|
LinesElement(java.awt.Shape lines,
Pen pen,
java.lang.Object perspective,
LogicalPoint point)
Constructs a new area element and initializes its fields to the given values. |
|
| Method Summary | |
boolean |
contains(java.awt.Point p)
Returns true if this element contains the given point. |
java.awt.geom.Rectangle2D.Float |
getBounds(java.awt.geom.Rectangle2D.Float out)
Returns the bounds of this element in float precision. |
java.awt.Shape |
getLines()
Returns the shape that defines the set of lines, not null. |
Pen |
getPen()
Returns the pen used to paint the lines, not null. |
| Methods inherited from class li.netcat.chart.util.elem.Element |
getLogicalPoint, getPerspective |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LinesElement(java.awt.Shape lines,
Pen pen,
java.lang.Object perspective)
lines - The shape that defines the set of lines, not null.pen - The pen used to stroke the outline of the shape and fill the arisen
lateral areas in a 3D view. Not null.perspective - The perspective position of this element.PerspectivePart
public LinesElement(java.awt.Shape lines,
Pen pen,
java.lang.Object perspective,
LogicalPoint point)
lines - The shape that defines the set of lines, not null.pen - The pen used to stroke the outline of the shape and fill the arisen
lateral areas in a 3D view. Not null.perspective - The perspective position of this element.point - The logical point to which this element points to.PerspectivePart| Method Detail |
public java.awt.Shape getLines()
null.
null.public Pen getPen()
null.
null.public java.awt.geom.Rectangle2D.Float getBounds(java.awt.geom.Rectangle2D.Float out)
Element
getBounds in class Elementout - The return value, not null.
public boolean contains(java.awt.Point p)
Element
contains in class Element
|
ChartCat 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||