Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.graph
Interface Rect

All Known Implementing Classes:
BaseFrame, BaseGraphTitle, LegendArea

public interface Rect

Defines methods used to access a rectangle attribute. A rectangle defines the size and location of an object in virtual coordinates. Virtual coordinates indicate the size and location of the object relative to the size and location of the graph.


Method Summary
 java.awt.Rectangle getRect()
          Retrieves the the rectangle for this object.
 void setRect(java.awt.Rectangle rect)
          Specifies the the rectangle for this object.

 

Method Detail

setRect

public void setRect(java.awt.Rectangle rect)
Specifies the the rectangle for this object. The rectangle defines the size and location of the object in virtual coordinates. The virtual-coordinate system keeps components in proportion to the graph when the graph changes size.

In the virtual-coordinate system, the center of the graph is 0,0. The upper left corner is -16000, +16000. The lower right corner is +16000, -16000. A component that is the full size of the graph has a width of 32000 and a height of 32000.

Parameters:
rect - The rectangle for this object.

getRect

public java.awt.Rectangle getRect()
Retrieves the the rectangle for this object. The rectangle defines the size and location of the object in virtual coordinates. The virtual-coordinate system keeps components in proportion to the graph when the graph changes size.

In the virtual-coordinate system, the center of the graph is 0,0. The upper left corner is -16000, +16000. The lower right corner is +16000, -16000. A component that is the full size of the graph has a width of 32000 and a height of 32000.

Returns:
The rectangle for this object.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.