|
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.LayoutElement
Basic element of a chart that is defined by a layout.
| Constructor Summary | |
LayoutElement(Layout layout,
java.lang.Object perspective)
Constructs a new layout 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. |
Layout |
getLayout()
Returns the layout that defines the bounds and the look of this element, 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 LayoutElement(Layout layout,
java.lang.Object perspective)
layout - The layout that defines the bounds and the look of this element, not null.perspective - The perspective position of this element.PerspectivePart| Method Detail |
public Layout getLayout()
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 | |||||||||