| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | |
| private static IOUtil. | |
| public static final String | |
| private static String | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Screen | |
| public static Screen | |
| public static Display | Returns: the new or reused Display instancethe display connection name which is a technical platform specific detail,
see name)AbstractGraphicsDevice#getConnection(). Use null for default.Create a Display entity. |
| public static Display | Returns: the new or reused Display instancethe display connection name which is a technical platform specific detail,
see name, final boolean AbstractGraphicsDevice#getConnection(). Use null for default.attempt to reuse an existing Display with same reuse)name if set true, otherwise create a new instance.Create a Display entity. |
| public static Display | Returns: the new or reused Display instanceexplicit NativeWindow type eg. type, final String NativeWindowFactory#TYPE_AWTthe display connection name which is a technical platform specific detail,
see name)AbstractGraphicsDevice#getConnection(). Use null for default.Create a Display entity. |
| public static Display | Returns: the new or reused Display instanceexplicit NativeWindow type eg. type, final String NativeWindowFactory#TYPE_AWTthe display connection name which is a technical platform specific detail,
see name, final boolean AbstractGraphicsDevice#getConnection(). Use null for default.attempt to reuse an existing Display with same reuse)name if set true, otherwise create a new instance.Create a Display entity. |
| public static Display | createDisplay(final String type, final long handle, final boolean reuse)
Instantiate a Display entity using the native handle. |
| public static Screen | |
| public static Window | createWindow(final CapabilitiesImmutable caps)
Create a top level Window entity on the default Display and default Screen. |
| public static Window | createWindow(final Screen screen, final CapabilitiesImmutable caps)
Create a top level Window entity. |
| public static Window | createWindow(final NativeWindow
either a NativeWindow instance parentWindow, final CapabilitiesImmutable caps)Create a child Window entity attached to the given parent. |
| public static Window | createWindow(final String
the parent window's display connection displayConnection, final int the desired screen index screenIdx, final long the native parent window handle parentWindowHandle, final CapabilitiesImmutable the desired capabilities caps)Create a child Window entity attached to the given parent, incl native creation |
| public static Window | createWindow(final Object[]
only impacts if the window is in top-level state, while attached to a parent window it's rendered undecorated always cstrArguments, final Screen screen, final CapabilitiesImmutable caps)Ability to try a Window type with a constructor argument, if supported .. |
| private static Window | |
| public static Class | |
| public static IOUtil. | |
| public static boolean | |
| public static synchronized void | |
| public static void | setWindowIcons(final IOUtil.
Allow user to set custom window icons, only applicable at application start before creating any NEWT instance. |
| public static boolean |
| DEBUG_IMPLEMENTATION | back to summary |
|---|---|
| public static final boolean DEBUG_IMPLEMENTATION | |
| defaultWindowIcons | back to summary |
|---|---|
| private static IOUtil. | |
| DRIVER_DEFAULT_ROOT_PACKAGE | back to summary |
|---|---|
| public static final String DRIVER_DEFAULT_ROOT_PACKAGE | |
| sysPaths | back to summary |
|---|---|
| private static String sysPaths | |
| useEDT | back to summary |
|---|---|
| private static boolean useEDT | |
| NewtFactory | back to summary |
|---|---|
| public NewtFactory() | |
| createCompatibleScreen | back to summary |
|---|---|
| public static Screen createCompatibleScreen(final NativeWindow parent) | |
| createCompatibleScreen | back to summary |
|---|---|
| public static Screen createCompatibleScreen(final NativeWindow parent, final Screen childScreen) | |
| createDisplay | back to summary |
|---|---|
| public static Display createDisplay(final String name) Create a Display entity.
Native creation is lazily done at usage, ie.
An already existing display connection of the same
| |
| createDisplay | back to summary |
|---|---|
| public static Display createDisplay(final String name, final boolean reuse) Create a Display entity.
Native creation is lazily done at usage, ie.
An already existing display connection of the same
| |
| createDisplay | back to summary |
|---|---|
| public static Display createDisplay(final String type, final String name) Create a Display entity.
Native creation is lazily done at usage, ie.
An already existing display connection of the same
| |
| createDisplay | back to summary |
|---|---|
| public static Display createDisplay(final String type, final String name, final boolean reuse) Create a Display entity.
Native creation is lazily done at usage, ie.
An already existing display connection of the same
| |
| createDisplay | back to summary |
|---|---|
| public static Display createDisplay(final String type, final long handle, final boolean reuse) Instantiate a Display entity using the native handle. | |
| createScreen | back to summary |
|---|---|
| public static Screen createScreen(final Display display, final int index) Create a Screen entity.
Native creation is lazily done at usage, ie.
The lifecycle of this Screen's Display is handled via | |
| createWindow | back to summary |
|---|---|
| public static Window createWindow(final CapabilitiesImmutable caps) Create a top level Window entity on the default Display and default Screen.
Native creation is lazily done at usage, ie. An already existing default Display will be reused.
The lifecycle of this Window's Screen and Display is handled via | |
| createWindow | back to summary |
|---|---|
| public static Window createWindow(final Screen screen, final CapabilitiesImmutable caps) Create a top level Window entity.
Native creation is lazily done at usage, ie.
The lifecycle of this Window's Screen and Display is handled via | |
| createWindow | back to summary |
|---|---|
| public static Window createWindow(final NativeWindow parentWindow, final CapabilitiesImmutable caps) Create a child Window entity attached to the given parent.
In case
In case
The lifecycle of this Window's Screen and Display is handled via
| |
| createWindow | back to summary |
|---|---|
| public static Window createWindow(final String displayConnection, final int screenIdx, final long parentWindowHandle, final CapabilitiesImmutable caps) Create a child Window entity attached to the given parent, incl native creation
| |
| createWindow | back to summary |
|---|---|
| public static Window createWindow(final Object[] cstrArguments, final Screen screen, final CapabilitiesImmutable caps) Ability to try a Window type with a constructor argument, if supported ..
Currently only valid is
| |
| createWindowImpl | back to summary |
|---|---|
| private static Window createWindowImpl(final String type, final CapabilitiesImmutable caps) | |
| getCustomClass | back to summary |
|---|---|
| public static Class | |
| getWindowIcons | back to summary |
|---|---|
| public static IOUtil. Returns the application window icon resources to be used.
Property
Users may also specify application window icons using | |
| isScreenCompatible | back to summary |
|---|---|
| public static boolean isScreenCompatible(final NativeWindow parent, final Screen childScreen) | |
| setUseEDT | back to summary |
|---|---|
| public static synchronized void setUseEDT(final boolean onoff) Toggles the usage of an EventDispatchThread while creating a Display. | |
| setWindowIcons | back to summary |
|---|---|
| public static void setWindowIcons(final IOUtil. Allow user to set custom window icons, only applicable at application start before creating any NEWT instance. Shall reference at least two PNG icons, from lower (16x16) to higher (>= 32x32) resolution. | |
| useEDT | back to summary |
|---|---|
public static boolean useEDT()
| |