Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.rico.engine.resolution
Class ScreenResSelector

    java.lang.Object
      de.rico.engine.resolution.ScreenResSelector

    public class ScreenResSelector

extends java.lang.Object

This class can be used to get the query display mode from the user by a dialog winow.

Author:
  Some Sun engineers (Changes and adaptions by Frank Bruns)

Constructor Summary
`ScreenResSelector()`

Method Summary
`static java.util.List<EngineDisplayMode>` | `getAvailableDisplayModes()` Returns the available display modes of the computer
`static EngineDisplayMode` | `showSelectionDialog()` Shows a modal dialog containing the available screen resolutions and requests selection of one of them.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ScreenResSelector

    public ScreenResSelector()

Method Detail

### getAvailableDisplayModes

    public static java.util.List<EngineDisplayMode> getAvailableDisplayModes()

  Returns the available display modes of the computer

  Returns:
    availabe display modes

### showSelectionDialog

    public static EngineDisplayMode showSelectionDialog()

  Shows a modal dialog containing the available screen resolutions and requests selection of one of them. Returns the selected one.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD