ChartCat 1.2

li.netcat.chart.util.elem
Class LayoutElement

java.lang.Object
  extended byli.netcat.chart.util.elem.Element
      extended byli.netcat.chart.util.elem.LayoutElement

public class LayoutElement
extends Element

Basic element of a chart that is defined by a layout.

Author:
Arthur Marxer

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

LayoutElement

public LayoutElement(Layout layout,
                     java.lang.Object perspective)
Constructs a new layout element and initializes its fields to the given values.

Parameters:
layout - The layout that defines the bounds and the look of this element, not null.
perspective - The perspective position of this element.
See Also:
PerspectivePart
Method Detail

getLayout

public Layout getLayout()
Returns the layout that defines the bounds and the look of this element, not null.

Returns:
The layout that defines the bounds and the look of this element, not null.

getBounds

public java.awt.geom.Rectangle2D.Float getBounds(java.awt.geom.Rectangle2D.Float out)
Description copied from class: Element
Returns the bounds of this element in float precision.

Specified by:
getBounds in class Element
Parameters:
out - The return value, not null.
Returns:
The bounds of this element in float precision.

contains

public boolean contains(java.awt.Point p)
Description copied from class: Element
Returns true if this element contains the given point.

Specified by:
contains in class Element

ChartCat 1.2

Copyright © 2003 - 2005 NetCat Inc.. All rights reserved. Feedback

Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print, Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print, Chart,Charting,Charts,Java,Java Chart,Java Charting,Java Charts,Chart Java,Charts Java,3D,3D Chart,3Dchart,Graph,Graphs,Chart Graph,Java Graph,Diagram,Diagrams,Java Diagram,Java Diagrams,Curve,Curves,Bar Chart,Pie Chart,Line Chart,Area Chart,Bar Graph,Pie Graph,Line Graph,Java Diagram,Chart Diagram,Package,Library,Chart Library,Chart Engine,Chart Package,Graph Package,Paint,Support,Graphic,Graphics,Print