oracle.ide.docking
Class Site
java.lang.Object
|
+--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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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:
size
- the requested geometry.
Site
public Site(java.awt.Rectangle geometry)
- Constructs a Site with the specified geometry
- Parameters:
geometry
- the requested geometry.
Site
public Site(Site site)