|
jrworkspace by jTEM |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jtem.jrworkspace.plugin.simplecontroller.SimpleController.FlavorListener
protected class SimpleController.FlavorListener
The methods in this class are intended to be invoked when the respective controller is started. The behavior is undefined if the controller is not started.
Constructor Summary | |
---|---|
protected |
SimpleController.FlavorListener()
|
Method Summary | |
---|---|
String |
getUserPropertyFile()
|
void |
installLookAndFeel(String lnfClassName)
Installs a new look and feel on this controllers gui |
boolean |
isAskBeforeSaveOnExit()
|
boolean |
isFullscreen()
Check whether the window of the controller is in full-screen mode |
boolean |
isLoadFromUserPropertyFile()
|
boolean |
isSaveOnExit()
|
void |
loadDefaultProperties()
|
void |
readProperties(Reader r)
|
void |
setAskBeforeSaveOnExit(boolean askBeforeSaveOnExit)
|
void |
setFullscreen(boolean fs)
Activates the full-screen mode of this controller |
void |
setLoadFromUserPropertyFile(boolean loadFromUserPropertyFile)
|
void |
setSaveOnExit(boolean saveOnExit)
|
void |
setShowMenuBar(boolean show)
Set the menu bars visibility |
void |
setShowStatusBar(boolean show)
Sets the status bars visibility |
void |
setShowToolBar(boolean show)
Sets the tool bars visibility |
void |
setUserPropertyFile(String userPropertyFile)
|
void |
showHelpPage(HelpFlavor hf)
Displays the help page of the given plug-in |
void |
shutdown()
The call of this method triggers final housekeeping (properties saving) and System.exit . |
void |
statusChanged(String status)
Notifies this controller that the status string should be changed |
void |
updateContent()
Updates the content gui of this controller |
void |
updateFrontend()
Completely rebuilds the gui of this controller |
void |
updateFrontendUI()
Updates the frontends UI |
void |
updateMenuBar()
Updates the menu bar of this controller |
void |
writeProperties(Writer w)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SimpleController.FlavorListener()
Method Detail |
---|
public String getUserPropertyFile()
getUserPropertyFile
in interface PropertiesFlavor.PropertiesListener
public void installLookAndFeel(String lnfClassName)
installLookAndFeel
in interface FrontendFlavor.FrontendListener
lnfClassName
- the class name of the lnf classpublic boolean isAskBeforeSaveOnExit()
isAskBeforeSaveOnExit
in interface PropertiesFlavor.PropertiesListener
public boolean isFullscreen()
isFullscreen
in interface FrontendFlavor.FrontendListener
public boolean isLoadFromUserPropertyFile()
isLoadFromUserPropertyFile
in interface PropertiesFlavor.PropertiesListener
public boolean isSaveOnExit()
isSaveOnExit
in interface PropertiesFlavor.PropertiesListener
public void loadDefaultProperties()
loadDefaultProperties
in interface PropertiesFlavor.PropertiesListener
public void readProperties(Reader r)
readProperties
in interface PropertiesFlavor.PropertiesListener
public void setAskBeforeSaveOnExit(boolean askBeforeSaveOnExit)
setAskBeforeSaveOnExit
in interface PropertiesFlavor.PropertiesListener
public void setFullscreen(boolean fs)
setFullscreen
in interface FrontendFlavor.FrontendListener
fs
- public void setLoadFromUserPropertyFile(boolean loadFromUserPropertyFile)
setLoadFromUserPropertyFile
in interface PropertiesFlavor.PropertiesListener
public void setSaveOnExit(boolean saveOnExit)
setSaveOnExit
in interface PropertiesFlavor.PropertiesListener
public void setShowMenuBar(boolean show)
setShowMenuBar
in interface FrontendFlavor.FrontendListener
show
- public void setShowStatusBar(boolean show)
setShowStatusBar
in interface FrontendFlavor.FrontendListener
show
- public void setShowToolBar(boolean show)
setShowToolBar
in interface FrontendFlavor.FrontendListener
show
- public void setUserPropertyFile(String userPropertyFile)
setUserPropertyFile
in interface PropertiesFlavor.PropertiesListener
public void showHelpPage(HelpFlavor hf)
showHelpPage
in interface HelpFlavor.HelpListener
hf
- the help flavor plug-in to showpublic void shutdown()
ShutdownFlavor.ShutdownListener
System.exit
.
shutdown
in interface ShutdownFlavor.ShutdownListener
public void statusChanged(String status)
statusChanged
in interface StatusFlavor.StatusChangedListener
status
- the new status stringpublic void updateContent()
updateContent
in interface FrontendFlavor.FrontendListener
public void updateFrontend()
updateFrontend
in interface FrontendFlavor.FrontendListener
public void updateFrontendUI()
updateFrontendUI
in interface FrontendFlavor.FrontendListener
public void updateMenuBar()
updateMenuBar
in interface FrontendFlavor.FrontendListener
public void writeProperties(Writer w)
writeProperties
in interface PropertiesFlavor.PropertiesListener
|
jrworkspace by jTEM |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |