|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectar.com.da.swing.UIUtils
public class UIUtils
Miscelaneous UI utils.
| Constructor Summary | |
|---|---|
UIUtils()
|
|
| Method Summary | |
|---|---|
static void |
centerWindow(java.awt.Window window)
Centers a window on the screen |
static void |
resizeRelativelyToScreen(java.awt.Window window,
float percentage)
Sets to a window to a size relative to the screen |
static void |
resizeRelativelyToScreen(java.awt.Window window,
float width,
float height)
Sets to a window to a size relative to the screen |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIUtils()
| Method Detail |
|---|
public static void centerWindow(java.awt.Window window)
window - the window to be centered
public static void resizeRelativelyToScreen(java.awt.Window window,
float width,
float height)
window - width - percentage in xheight - percentage in y
public static void resizeRelativelyToScreen(java.awt.Window window,
float percentage)
window - percentage -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||