public final class IosApplication extends Application
Application.EventHandler
name
Constructor and Description |
---|
IosApplication() |
Modifier and Type | Method and Description |
---|---|
protected Object |
_enterNestedEventLoop() |
protected int |
_getKeyCodeForChar(char c) |
static boolean |
_getStatusBarHidden()
Status bar visibility getter.
|
static int |
_getStatusBarOrientation()
See iOS developers documentation.
|
static int |
_getStatusBarStyle()
See iOS developers documentation.
|
protected void |
_invokeAndWait(Runnable runnable) |
protected void |
_invokeLater(Runnable runnable) |
protected void |
_leaveNestedEventLoop(Object retValue) |
static void |
_setStatusBarHidden(boolean hidden)
Hides / Shows iOS status bar.
|
static void |
_setStatusBarHiddenWithAnimation(boolean hidden,
int animation)
Hides / Shows iOS status bar, possibly animating transition.
|
static void |
_setStatusBarOrientationAnimated(int interfaceOrientation,
boolean animated)
Adjust status bar orientation with animation.
|
static void |
_setStatusBarStyleAnimated(int statusBarStyle,
boolean animated)
See iOS developers documentation.
|
protected boolean |
_supportsTransparentWindows() |
protected boolean |
_supportsUnifiedWindows() |
Cursor |
createCursor(int type) |
Cursor |
createCursor(int x,
int y,
Pixels pixels) |
Pixels |
createPixels(int width,
int height,
ByteBuffer data) |
Pixels |
createPixels(int width,
int height,
IntBuffer data) |
Pixels |
createPixels(int width,
int height,
IntBuffer data,
float scale) |
Robot |
createRobot() |
Timer |
createTimer(Runnable runnable) |
View |
createView() |
Window |
createWindow(long parent) |
Window |
createWindow(Window owner,
Screen screen,
int styleMask)
Create a window.
|
protected void |
finishTerminating() |
boolean |
hasMultiTouch() |
boolean |
hasTouch() |
protected void |
runLoop(Runnable launchable) |
protected CommonDialogs.FileChooserResult |
staticCommonDialogs_showFileChooser(Window owner,
String folder,
String filename,
String title,
int type,
boolean multipleMode,
CommonDialogs.ExtensionFilter[] extensionFilters,
int defaultFilterIndex) |
protected File |
staticCommonDialogs_showFolderChooser(Window owner,
String folder,
String title) |
protected Size |
staticCursor_getBestSize(int width,
int height) |
protected void |
staticCursor_setVisible(boolean visible) |
protected int |
staticPixels_getNativeFormat() |
protected Screen[] |
staticScreen_getScreens() |
protected double |
staticScreen_getVideoRefreshPeriod() |
protected int |
staticTimer_getMaxPeriod() |
protected int |
staticTimer_getMinPeriod() |
protected int |
staticView_getMultiClickMaxX() |
protected int |
staticView_getMultiClickMaxY() |
protected long |
staticView_getMultiClickTime() |
_supportsInputMethods, _supportsSystemMenu, checkEventThread, createAccessible, createEventLoop, createMenu, createMenu, createMenuBar, createMenuItem, createMenuItem, createMenuItem, createMenuItem, createWindow, GetApplication, getDataDirectory, getDeviceDetails, getEventHandler, getEventThread, getHighContrastTheme, getKeyCodeForChar, getName, hasPointer, hasTwoLevelFocus, hasVirtualKeyboard, hasWindowManager, installDefaultMenus, invokeAndWait, invokeLater, isEventThread, isNestedLoopRunning, loadNativeLibrary, loadNativeLibrary, menuAboutAction, notifyRenderingFinished, reportException, run, setDeviceDetails, setEventHandler, setEventThread, setName, setTerminateWhenLastWindowClosed, shouldTerminateWhenLastWindowClosed, shouldUpdateWindow, supportsInputMethods, supportsSystemMenu, supportsTransparentWindows, supportsUnifiedWindows, terminate
protected void runLoop(Runnable launchable)
runLoop
in class Application
protected void finishTerminating()
finishTerminating
in class Application
public Window createWindow(Window owner, Screen screen, int styleMask)
Application
createWindow
in class Application
public Window createWindow(long parent)
createWindow
in class Application
public View createView()
createView
in class Application
public Cursor createCursor(int type)
createCursor
in class Application
public Cursor createCursor(int x, int y, Pixels pixels)
createCursor
in class Application
protected void staticCursor_setVisible(boolean visible)
staticCursor_setVisible
in class Application
protected Size staticCursor_getBestSize(int width, int height)
staticCursor_getBestSize
in class Application
public Pixels createPixels(int width, int height, ByteBuffer data)
createPixels
in class Application
public Pixels createPixels(int width, int height, IntBuffer data)
createPixels
in class Application
public Pixels createPixels(int width, int height, IntBuffer data, float scale)
createPixels
in class Application
protected int staticPixels_getNativeFormat()
staticPixels_getNativeFormat
in class Application
public Robot createRobot()
createRobot
in class Application
protected double staticScreen_getVideoRefreshPeriod()
staticScreen_getVideoRefreshPeriod
in class Application
protected Screen[] staticScreen_getScreens()
staticScreen_getScreens
in class Application
public Timer createTimer(Runnable runnable)
createTimer
in class Application
protected int staticTimer_getMinPeriod()
staticTimer_getMinPeriod
in class Application
protected int staticTimer_getMaxPeriod()
staticTimer_getMaxPeriod
in class Application
protected CommonDialogs.FileChooserResult staticCommonDialogs_showFileChooser(Window owner, String folder, String filename, String title, int type, boolean multipleMode, CommonDialogs.ExtensionFilter[] extensionFilters, int defaultFilterIndex)
staticCommonDialogs_showFileChooser
in class Application
protected File staticCommonDialogs_showFolderChooser(Window owner, String folder, String title)
staticCommonDialogs_showFolderChooser
in class Application
protected Object _enterNestedEventLoop()
_enterNestedEventLoop
in class Application
protected void _leaveNestedEventLoop(Object retValue)
_leaveNestedEventLoop
in class Application
protected long staticView_getMultiClickTime()
staticView_getMultiClickTime
in class Application
protected int staticView_getMultiClickMaxX()
staticView_getMultiClickMaxX
in class Application
protected int staticView_getMultiClickMaxY()
staticView_getMultiClickMaxY
in class Application
protected void _invokeAndWait(Runnable runnable)
_invokeAndWait
in class Application
protected void _invokeLater(Runnable runnable)
_invokeLater
in class Application
protected boolean _supportsTransparentWindows()
_supportsTransparentWindows
in class Application
protected boolean _supportsUnifiedWindows()
_supportsUnifiedWindows
in class Application
public static void _setStatusBarHidden(boolean hidden)
hidden
- public static void _setStatusBarHiddenWithAnimation(boolean hidden, int animation)
hidden
- animation
- - 0 none, 1 fade, 2 slidepublic static void _setStatusBarOrientationAnimated(int interfaceOrientation, boolean animated)
interfaceOrientation
- animated
- public static void _setStatusBarStyleAnimated(int statusBarStyle, boolean animated)
statusBarStyle
- animated
- public static boolean _getStatusBarHidden()
public static int _getStatusBarStyle()
public static int _getStatusBarOrientation()
public boolean hasTouch()
hasTouch
in class Application
public boolean hasMultiTouch()
hasMultiTouch
in class Application
protected int _getKeyCodeForChar(char c)
_getKeyCodeForChar
in class Application
Copyright © 2020. All rights reserved.