Style Intelligence v12.0

inetsoft.graph
Class BoundedVisualizable

java.lang.Object
  extended by inetsoft.graph.Visualizable
      extended by inetsoft.graph.BoundedVisualizable
All Implemented Interfaces:
inetsoft.graph.internal.ILayout, Serializable, Cloneable, Comparable
Direct Known Subclasses:
VLabel

public abstract class BoundedVisualizable
extends Visualizable

A visualizable that is at fixed position and size.

See Also:
Serialized Form

Constructor Summary
BoundedVisualizable()
           
 
Method Summary
 Rectangle2D getBounds()
          Gets the bounds of this visual in the form of a Rectangle2D object.
 Point2D getPosition()
          Gets the position of this component in the form of a point specifying the visual's bottom-left corner.
 Dimension2D getSize()
          Returns the size of this visual.
 void setBounds(double x, double y, double width, double height)
          Set the position and size.
 void setBounds(Rectangle2D bounds)
          Set the position and size.
 void setPosition(Point2D pos)
          Set the position of this visualizable in the chart's coordinate space.
 void setSize(Dimension2D size)
          Set the size of this visual.
 
Methods inherited from class inetsoft.graph.Visualizable
clone, compareTo, getGraphable, getMinHeight, getMinHeight0, getMinWidth, getMinWidth0, getPreferredHeight, getPreferredHeight0, getPreferredWidth, getPreferredWidth0, getScreenTransform, getZIndex, invalidate, paint, setScreenTransform, setZIndex
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundedVisualizable

public BoundedVisualizable()
Method Detail

getPosition

public Point2D getPosition()
Gets the position of this component in the form of a point specifying the visual's bottom-left corner. The position will be relative to the whole chart's coordinate space.


setPosition

public void setPosition(Point2D pos)
Set the position of this visualizable in the chart's coordinate space.


getSize

public Dimension2D getSize()
Returns the size of this visual.


setSize

public void setSize(Dimension2D size)
Set the size of this visual.


setBounds

public void setBounds(double x,
                      double y,
                      double width,
                      double height)
Set the position and size.


setBounds

public void setBounds(Rectangle2D bounds)
Set the position and size.


getBounds

public Rectangle2D getBounds()
Gets the bounds of this visual in the form of a Rectangle2D object. The bounds specify this visual's width, height, and location relative to the whole graph.

Specified by:
getBounds in class Visualizable

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.