Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.docking
Class Site

java.lang.Object
  extended by oracle.ide.docking.Site

public final class Site
extends java.lang.Object

This class is used to store the sizes of a dockable window. The geometry is the size and position of the window when it is floated, the size is the preferred size of the window when it is docked.


Field Summary
 java.awt.Rectangle geometry
          Specifies the position and dimension of the floating panel
 java.awt.Dimension size
          Specifies the position and dimension of the docked panel.
 
Constructor Summary
Site()
          Constructs Site with default values The geometry is positon is set to (0,0) and the Dimension to DEFAULT_FLOAT_WIDTH x DEFAULT_FLOAT_HEIGHT.
Site(int nWidth, int nHeight)
          Constructs a Site with the specified size.
Site(java.awt.Rectangle geometry)
          Constructs a Site with the specified geometry
Site(Site site)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

geometry

public java.awt.Rectangle geometry
Specifies the position and dimension of the floating panel


size

public java.awt.Dimension size
Specifies the position and dimension of the docked panel. NOTE: Currently using geometry for both floating and docked panels.

Constructor Detail

Site

public Site()
Constructs Site with default values The geometry is positon is set to (0,0) and the Dimension to DEFAULT_FLOAT_WIDTH x DEFAULT_FLOAT_HEIGHT.


Site

public Site(int nWidth,
            int nHeight)
Constructs a Site with the specified size.

Parameters:
nWidth - the requested width.
nHeight - the requested height.

Site

public Site(java.awt.Rectangle geometry)
Constructs a Site with the specified geometry

Parameters:
geometry - the requested geometry.

Site

public Site(Site site)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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