|
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.Plugin
de.jtem.jrworkspace.plugin.lnfswitch.LookAndFeelSwitch
public class LookAndFeelSwitch
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface de.jtem.jrworkspace.plugin.flavor.FrontendFlavor |
---|
FrontendFlavor.FrontendListener |
Constructor Summary | |
---|---|
LookAndFeelSwitch()
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
|
void |
addLookAndFeel(LookAndFeelPlugin lnf)
|
Icon |
getMainIcon()
An icon for the main page |
String |
getMainName()
Returns a name which will be the name of the main page |
JPanel |
getMainPage()
The main preferences page |
int |
getNumSubPages()
The number of sub-pages of this preference page |
de.jtem.jrworkspace.plugin.lnfswitch.LookAndFeelSwitch.OptionsPanel |
getOptionsPanel()
|
PluginInfo |
getPluginInfo()
Returns an instance of PluginInfo |
JPanel |
getSubPage(int i)
The JPanel of the sub-page with index i |
Icon |
getSubPageIcon(int i)
The icon of sub-page i |
String |
getSubPageName(int i)
The name of sub-page number i |
void |
install(Controller c)
Is called when the plug-in is installed |
void |
removeLookAndFeel(LookAndFeelPlugin lnf)
|
void |
restoreStates(Controller c)
Is called before the installation of this plug-in. |
void |
setFrontendListener(FrontendFlavor.FrontendListener l)
Sets the FrontendFlavor.FrontendListener of the plug-in |
void |
storeStates(Controller c)
Is called after this plug-in has been uninstalled. |
void |
uninstall(Controller c)
Id called when this plug-in is about to be uninstalled |
void |
updateLookAndFeel()
|
Methods inherited from class de.jtem.jrworkspace.plugin.Plugin |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LookAndFeelSwitch()
Method Detail |
---|
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void addLookAndFeel(LookAndFeelPlugin lnf)
public Icon getMainIcon()
PreferencesFlavor
getMainIcon
in interface PreferencesFlavor
public String getMainName()
PreferencesFlavor
getMainName
in interface PreferencesFlavor
public JPanel getMainPage()
PreferencesFlavor
getMainPage
in interface PreferencesFlavor
JPanel
public int getNumSubPages()
PreferencesFlavor
getNumSubPages
in interface PreferencesFlavor
public de.jtem.jrworkspace.plugin.lnfswitch.LookAndFeelSwitch.OptionsPanel getOptionsPanel()
public PluginInfo getPluginInfo()
Plugin
PluginInfo
getPluginInfo
in class Plugin
PluginInfo}
public JPanel getSubPage(int i)
PreferencesFlavor
getSubPage
in interface PreferencesFlavor
i
- the index of the sub-page
public Icon getSubPageIcon(int i)
PreferencesFlavor
getSubPageIcon
in interface PreferencesFlavor
i
- the index of the sub-page
public String getSubPageName(int i)
PreferencesFlavor
getSubPageName
in interface PreferencesFlavor
i
- the index of the sub-page
public void install(Controller c) throws Exception
Plugin
install
in class Plugin
c
- the applications Controller
Exception
Controller}
public void removeLookAndFeel(LookAndFeelPlugin lnf)
public void restoreStates(Controller c) throws Exception
Plugin
Controller.getProperty(Class, String, Object)
on the controller provided
as argument.
restoreStates
in class Plugin
c
- this applications Controller
Exception
Controller}
public void setFrontendListener(FrontendFlavor.FrontendListener l)
FrontendFlavor
FrontendFlavor.FrontendListener
of the plug-in
setFrontendListener
in interface FrontendFlavor
l
- the listenerpublic void storeStates(Controller c) throws Exception
Plugin
Controller.storeProperty(Class, String, Object)
on the controller provided
as argument.
storeStates
in class Plugin
Exception
Controller}
public void uninstall(Controller c) throws Exception
Plugin
uninstall
in class Plugin
c
- this applications Controller
Exception
Controller}
public void updateLookAndFeel()
|
jrworkspace by jTEM |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |