public class DesktopDemoApplication extends TApplication
TApplication.BackendType
Constructor and Description |
---|
DesktopDemoApplication(TApplication.BackendType backendType)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
onMenu(TMenuEvent menu)
Handle menu events.
|
activateWindow, addEditMenu, addFileMenu, addHelpMenu, addMenu, addMenu, addMenuItem, addSubMenu, addTableMenu, addTimer, addToolMenu, addWindow, addWindow, addWindow, addWindow, addWindowMenu, closeMenu, closeSubMenu, closeWindow, disableMenuItem, disableMenuItems, doRepaint, doSmartPlacement, enableMenuItem, enableMenuItems, enableSecondaryEventReceiver, exit, fileOpenBox, fileOpenBox, fileOpenBox, fileOpenBox, getActiveWindow, getAllMenus, getAllWindows, getBackend, getDesktop, getDesktopBottom, getDesktopTop, getFocusFollowsMouse, getMenuItem, getScreen, getTheme, hasWindow, hiddenWindowCount, hideWindow, inputBox, inputBox, inputBox, invokeLater, isRunning, messageBox, messageBox, onCommand, onExit, onKeypress, openTerminal, openTerminal, openTerminal, openTerminal, openTerminal, openTerminal, openTerminal, openTerminal, openTerminal, openTerminal, postEvent, postMenuEvent, recomputeMenuX, removeMenu, removeTimer, restoreConsole, run, setDesktop, setFocusFollowsMouse, showAboutDialog, shownWindowCount, showWindow, switchMenu, switchWindow, windowCount, yield
public DesktopDemoApplication(TApplication.BackendType backendType) throws java.lang.Exception
backendType
- one of the TApplication.BackendType valuesjava.lang.Exception
- if TApplication can't instantiate the Backend.public boolean onMenu(TMenuEvent menu)
onMenu
in class TApplication
menu
- menu eventCopyright © 2019 Kevin Lamonte. Licensed MIT.