public class ScreenSizeUtils extends Object
| Constructor and Description |
|---|
ScreenSizeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<Point> |
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 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.
|
public static List<Point> computeDialogPositions(int dialogWidth, int dialogHeight)
dialogWidth - the dialog widthdialogHeight - the dialog heightpublic static Point getPoint()
public static int getScreenHeight()
public static int getScreenWidth()
Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.