|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.wenzlaff.allgemein.util.GuiHelper
public class GuiHelper
Einige Gui Hilfsklassen.
| Field Summary | |
|---|---|
static java.lang.String |
LAF_AQUA
Look and Feel Konstanten. |
static java.lang.String |
LAF_GTK
Look and Feel Konstanten. |
static java.lang.String |
LAF_MAC
Look and Feel Konstanten. |
static java.lang.String |
LAF_METAL
Look and Feel Konstanten. |
static java.lang.String |
LAF_MOTIF
Look and Feel Konstanten. |
static java.lang.String |
LAF_WINDOWS
Look and Feel Konstanten. |
| Method Summary | |
|---|---|
static void |
centerComponent(java.awt.Component pvComponent)
|
static boolean |
isLookAndFeelAvailable(java.lang.String pvLaf)
Testet ob das Look and Feel verfügbar ist. |
static void |
maximizeComponent(java.awt.Component pvComponent)
Maximiert die Componente. |
static void |
setLocationRelativeTo(java.awt.Component component,
java.awt.Component c)
Sets the location of the window relative to the specified component. |
static void |
setLookAndFeel()
Setzt das Look and Feel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LAF_METAL
public static final java.lang.String LAF_MOTIF
public static final java.lang.String LAF_WINDOWS
public static final java.lang.String LAF_MAC
public static final java.lang.String LAF_AQUA
public static final java.lang.String LAF_GTK
| Method Detail |
|---|
public static void centerComponent(java.awt.Component pvComponent)
pvComponent - public static void maximizeComponent(java.awt.Component pvComponent)
pvComponent - public static void setLookAndFeel()
public static boolean isLookAndFeelAvailable(java.lang.String pvLaf)
pvLaf -
true wenn Look and Feel vorhanden.
public static void setLocationRelativeTo(java.awt.Component component,
java.awt.Component c)
c is
null, the window is centered on the screen. If the bottom
of the component is offscreen, the window is placed to the side of the
Component that is closest to the center of the screen. So
if the Component is on the right part of the screen, the
Window is placed to its left, and visa versa.
c - the component in relation to which the window's location is
determined in awt.Window since 1.4 for compatibility with 1.3
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||