public final class MonocleApplication extends Application
Application.EventHandlername| Modifier and Type | Method and Description |
|---|---|
protected Object |
_enterNestedEventLoop() |
protected int |
_getKeyCodeForChar(char c) |
protected void |
_invokeAndWait(Runnable runnable) |
protected void |
_invokeLater(Runnable runnable) |
protected void |
_leaveNestedEventLoop(Object retValue) |
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 |
hasPointer() |
boolean |
hasTouch() |
boolean |
hasTwoLevelFocus() |
boolean |
hasVirtualKeyboard() |
boolean |
hasWindowManager() |
void |
notifyRenderingFinished()
Notifies the Application that rendering has completed for current pulse.
|
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, installDefaultMenus, invokeAndWait, invokeLater, isEventThread, isNestedLoopRunning, loadNativeLibrary, loadNativeLibrary, menuAboutAction, reportException, run, setDeviceDetails, setEventHandler, setEventThread, setName, setTerminateWhenLastWindowClosed, shouldTerminateWhenLastWindowClosed, shouldUpdateWindow, supportsInputMethods, supportsSystemMenu, supportsTransparentWindows, supportsUnifiedWindows, terminateprotected void runLoop(Runnable launchable)
runLoop in class Applicationprotected void _invokeAndWait(Runnable runnable)
_invokeAndWait in class Applicationprotected void _invokeLater(Runnable runnable)
_invokeLater in class Applicationprotected Object _enterNestedEventLoop()
_enterNestedEventLoop in class Applicationprotected void _leaveNestedEventLoop(Object retValue)
_leaveNestedEventLoop in class Applicationpublic Window createWindow(Window owner, Screen screen, int styleMask)
ApplicationcreateWindow in class Applicationpublic Window createWindow(long parent)
createWindow in class Applicationpublic View createView()
createView in class Applicationpublic Cursor createCursor(int type)
createCursor in class Applicationpublic Cursor createCursor(int x, int y, Pixels pixels)
createCursor in class Applicationprotected void staticCursor_setVisible(boolean visible)
staticCursor_setVisible in class Applicationprotected Size staticCursor_getBestSize(int width, int height)
staticCursor_getBestSize in class Applicationpublic Pixels createPixels(int width, int height, ByteBuffer data)
createPixels in class Applicationpublic Pixels createPixels(int width, int height, IntBuffer data)
createPixels in class Applicationpublic Pixels createPixels(int width, int height, IntBuffer data, float scale)
createPixels in class Applicationprotected int staticPixels_getNativeFormat()
staticPixels_getNativeFormat in class Applicationpublic Robot createRobot()
createRobot in class Applicationprotected double staticScreen_getVideoRefreshPeriod()
staticScreen_getVideoRefreshPeriod in class Applicationprotected Screen[] staticScreen_getScreens()
staticScreen_getScreens in class Applicationpublic Timer createTimer(Runnable runnable)
createTimer in class Applicationprotected int staticTimer_getMinPeriod()
staticTimer_getMinPeriod in class Applicationprotected int staticTimer_getMaxPeriod()
staticTimer_getMaxPeriod in class Applicationpublic boolean hasWindowManager()
hasWindowManager in class Applicationprotected 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 Applicationprotected File staticCommonDialogs_showFolderChooser(Window owner, String folder, String title)
staticCommonDialogs_showFolderChooser in class Applicationprotected long staticView_getMultiClickTime()
staticView_getMultiClickTime in class Applicationprotected int staticView_getMultiClickMaxX()
staticView_getMultiClickMaxX in class Applicationprotected int staticView_getMultiClickMaxY()
staticView_getMultiClickMaxY in class Applicationprotected boolean _supportsTransparentWindows()
_supportsTransparentWindows in class Applicationprotected boolean _supportsUnifiedWindows()
_supportsUnifiedWindows in class Applicationpublic boolean hasTwoLevelFocus()
hasTwoLevelFocus in class Applicationpublic boolean hasVirtualKeyboard()
hasVirtualKeyboard in class Applicationpublic boolean hasTouch()
hasTouch in class Applicationpublic boolean hasMultiTouch()
hasMultiTouch in class Applicationpublic boolean hasPointer()
hasPointer in class Applicationpublic void notifyRenderingFinished()
ApplicationnotifyRenderingFinished in class Applicationprotected void finishTerminating()
finishTerminating in class Applicationprotected int _getKeyCodeForChar(char c)
_getKeyCodeForChar in class ApplicationCopyright © 2025. All rights reserved.