|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jaulp.layout.ScreenSizeUtils
public class ScreenSizeUtils
Utility class for handle with screensize.
| Constructor Summary | |
|---|---|
ScreenSizeUtils()
|
|
| Method Summary | |
|---|---|
static java.util.List |
computeDialogPositions(int dialogWidth,
int dialogHeight)
Compute how much dialog can be put into the screen and returns a list with the coordinates from the dialog positions as Point objects. |
static java.awt.Point |
getPoint()
Gets the Screensize and returns it as a Point object. |
static int |
getScreenHeight()
Gets the height from the current screen. |
static int |
getScreenWidth()
Gets the width from the current screen. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScreenSizeUtils()
| Method Detail |
|---|
public static java.awt.Point getPoint()
public static int getScreenWidth()
public static int getScreenHeight()
public static java.util.List computeDialogPositions(int dialogWidth,
int dialogHeight)
dialogWidth - the dialog widthdialogHeight - the dialog height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||