org.freehep.application
Class Application.ApplicationCommandProcessor
java.lang.Object
java.util.Observable
org.freehep.util.commanddispatcher.CommandProcessor
org.freehep.application.Application.ApplicationCommandProcessor
- All Implemented Interfaces:
- org.freehep.util.commanddispatcher.CommandGroup
- Enclosing class:
- Application
public class Application.ApplicationCommandProcessor
- extends org.freehep.util.commanddispatcher.CommandProcessor
Extends CommandProcessor to handle some standard Application commands.
Also allows the onXXX() enableXXX() methods to be declared on the
application itself, as well as the command processor, as a convenience
for simple applications.
Methods inherited from class org.freehep.util.commanddispatcher.CommandProcessor |
setChanged, setManager |
Methods inherited from interface org.freehep.util.commanddispatcher.CommandGroup |
addObserver, deleteObserver |
Application.ApplicationCommandProcessor
public Application.ApplicationCommandProcessor()
onExit
public void onExit()
onAbout
public void onAbout()
onHelpContents
public void onHelpContents()
onHelpSearch
public void onHelpSearch()
onHelpIndex
public void onHelpIndex()
onShowStatusBar
public void onShowStatusBar(boolean show)
enableShowStatusBar
public void enableShowStatusBar(org.freehep.util.commanddispatcher.BooleanCommandState state)
onShowToolBar
public void onShowToolBar(boolean show)
enableShowToolBar
public void enableShowToolBar(org.freehep.util.commanddispatcher.BooleanCommandState state)
acceptCommand
public org.freehep.util.commanddispatcher.CommandTarget acceptCommand(String command)
- Specified by:
acceptCommand
in interface org.freehep.util.commanddispatcher.CommandGroup
- Overrides:
acceptCommand
in class org.freehep.util.commanddispatcher.CommandProcessor
Copyright © 2000-2013 FreeHEP. All Rights Reserved.