|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.ui.WindowTiler
public final class WindowTiler
Helper class to tile two windows next to each other.
Two windows, Primary and Seconday, will be automatically positioned so that they do not overlap if they move or change size. The secondary window is attempted to be located in a preferred positions relative to the first, e.g. to its left. If there is no room on screen for the secondary window to fit in this postion then the next preferred poisition is examined, and so on.
When either window is made no longer visible the Tiler stops tiling and releases its resources
Nested Class Summary | |
---|---|
static class |
WindowTiler.Alignment |
Constructor Summary | |
---|---|
WindowTiler(java.awt.Window primary, java.awt.Window secondary) |
Method Summary | |
---|---|
java.util.List<WindowTiler.Alignment> |
getAlignment() |
int |
getGap() |
void |
setAlignment(java.util.List<WindowTiler.Alignment> alignment) The list of alignments in preferred order in which the tiler will attempt to place the secondary window in relation to the first. |
void |
setGap(int gap) Set a space to leave between the windows when tiling |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowTiler(java.awt.Window primary, java.awt.Window secondary)
Method Detail |
---|
public void setGap(int gap)
gap
-public int getGap()
public void setAlignment(java.util.List<WindowTiler.Alignment> alignment)
alignment
-public java.util.List<WindowTiler.Alignment> getAlignment()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |