Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.graph
Interface Rect

All Known Implementing Classes:
BaseFrame, BaseGraphTitle, FunnelFrame, GraphFootnote, GraphSubtitle, GraphTitle, LegendArea, PieFrame, PlotArea

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

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

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 Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

Copyright © 1997, 2011, Oracle. All rights reserved.