|
|||||||||
| Home >> All >> org >> scopemvc >> view >> [ awt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.scopemvc.view.awt
Class AWTUtilities

java.lang.Objectorg.scopemvc.view.awt.AWTUtilities
- public final class AWTUtilities
- extends java.lang.Object
Utilities dependent on Java AWT and Scope core packages only.
- Version:
- $Revision: 1.4 $ $Date: 2002/01/26 09:46:20 $
| Field Summary | |
private static org.apache.commons.logging.Log |
LOG
|
| Constructor Summary | |
private |
AWTUtilities()
|
| 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 org.scopemvc.core.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 |
private static java.awt.Rectangle |
getCenteredBounds(java.awt.Dimension inWindowSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
LOG
private static final org.apache.commons.logging.Log LOG
| Constructor Detail |
AWTUtilities
private AWTUtilities()
| Method Detail |
findControlIssuer
public static org.scopemvc.core.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.
centreOnScreen
public static void centreOnScreen(java.awt.Window inWindow)
- Center a window on the screen
getCenteredBounds
private static java.awt.Rectangle getCenteredBounds(java.awt.Dimension inWindowSize)
centreOnWindow
public 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)
fitOnScreen
public static void fitOnScreen(java.awt.Window inWindow)
- Make sure window fits on the screeen
|
|||||||||
| Home >> All >> org >> scopemvc >> view >> [ awt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.scopemvc.view.awt.AWTUtilities