|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scopemvc.view.awt.AWTUtilities
Utilities dependent on Java AWT and Scope core packages only.
Method Summary | |
static void |
centreOnScreen(java.awt.Window inWindow)
Center a window on the screen |
static void |
centreOnWindow(java.awt.Window inParent,
java.awt.Window inWindow)
Center a window on a parent Window if showing, or if not assume position of parent is (0, 0) |
static View |
findControlIssuer(java.awt.Component inComponent)
Find the next View from a Component upwards in the java.awt.Component containment hierarchy that has a parent Controller that it can issue Controls to. |
static void |
fitOnScreen(java.awt.Window inWindow)
Make sure window fits on the screeen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static View findControlIssuer(java.awt.Component inComponent)
inComponent
- The Component to find a Controller for
public static void centreOnScreen(java.awt.Window inWindow)
inWindow
- The Window to centerpublic static void centreOnWindow(java.awt.Window inParent, java.awt.Window inWindow)
inParent
- The parent Window used as reference if it's visibleinWindow
- The Window to centerpublic static void fitOnScreen(java.awt.Window inWindow)
inWindow
- The Window to fit on the screen
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |