|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.schwarzrot.main.app.AppMain
public class AppMain
Method Summary | |
---|---|
Map<String,String> |
getAppArgs()
provide access to the expanded arguments of main(String[] args) |
String |
getAppInfo()
print initial startup information |
SystemDefault |
getApplicationDefaults()
access the application defaults. |
String |
getApplicationName()
print the application name - may be localized. |
DesktopConfig |
getConfig()
access application starters configuration instance |
static void |
main(String[] args)
|
void |
run()
|
void |
setAppArgs(Map<String,String> appArgs)
set expanded arguments of main(String[] args) |
void |
setConfig(DesktopConfig config)
set application starters configuration instance |
protected void |
start(Desktop desktop)
|
void |
usage()
tell the user about the right usage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Map<String,String> getAppArgs()
MainEntry
getAppArgs
in interface MainEntry<DesktopConfig>
public String getAppInfo()
MainEntry
getAppInfo
in interface MainEntry<DesktopConfig>
public SystemDefault getApplicationDefaults()
MainEntry
getApplicationDefaults
in interface MainEntry<DesktopConfig>
public String getApplicationName()
MainEntry
SystemDefault.applicationID
getApplicationName
in interface MainEntry<DesktopConfig>
public DesktopConfig getConfig()
MainEntry
getConfig
in interface MainEntry<DesktopConfig>
public void run()
run
in interface Runnable
public void setAppArgs(Map<String,String> appArgs)
MainEntry
setAppArgs
in interface MainEntry<DesktopConfig>
appArgs
- arguments from main expanded to key/value pairspublic void setConfig(DesktopConfig config)
MainEntry
setConfig
in interface MainEntry<DesktopConfig>
config
- the configuration instancepublic void usage()
MainEntry
usage
in interface MainEntry<DesktopConfig>
protected void start(Desktop desktop)
public static void main(String[] args)
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |