jrworkspace by
jTEM

de.jtem.jrworkspace.plugin.lnfswitch
Class LookAndFeelPlugin

java.lang.Object
  extended by de.jtem.jrworkspace.plugin.Plugin
      extended by de.jtem.jrworkspace.plugin.lnfswitch.LookAndFeelPlugin
Direct Known Subclasses:
CrossPlatformLnF, NimbusLnF, SystemLookAndFeel

public abstract class LookAndFeelPlugin
extends Plugin


Field Summary
protected  LookAndFeelSwitch lookAndFeelSwitch
           
 
Constructor Summary
LookAndFeelPlugin()
           
 
Method Summary
abstract  String getLnFClassName()
           
abstract  String getLnFName()
           
 JPanel getOptionPanel()
           
 PluginInfo getPluginInfo()
          Returns an instance of PluginInfo
 void install(Controller c)
          Is called when the plug-in is installed
abstract  boolean isSupported()
           
 String toString()
          Returns this plug-ins name or "No Name" if name is null
 void uninstall(Controller c)
          Id called when this plug-in is about to be uninstalled
 
Methods inherited from class de.jtem.jrworkspace.plugin.Plugin
equals, hashCode, restoreStates, storeStates
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lookAndFeelSwitch

protected LookAndFeelSwitch lookAndFeelSwitch
Constructor Detail

LookAndFeelPlugin

public LookAndFeelPlugin()
Method Detail

getLnFClassName

public abstract String getLnFClassName()

getLnFName

public abstract String getLnFName()

getOptionPanel

public JPanel getOptionPanel()

getPluginInfo

public PluginInfo getPluginInfo()
Description copied from class: Plugin
Returns an instance of PluginInfo

Overrides:
getPluginInfo in class Plugin
Returns:
plug-in information
See Also:
PluginInfo}

install

public void install(Controller c)
             throws Exception
Description copied from class: Plugin
Is called when the plug-in is installed

Overrides:
install in class Plugin
Parameters:
c - the applications Controller
Throws:
Exception
See Also:
Controller}

isSupported

public abstract boolean isSupported()

toString

public String toString()
Description copied from class: Plugin
Returns this plug-ins name or "No Name" if name is null

Overrides:
toString in class Plugin

uninstall

public void uninstall(Controller c)
               throws Exception
Description copied from class: Plugin
Id called when this plug-in is about to be uninstalled

Overrides:
uninstall in class Plugin
Parameters:
c - this applications Controller
Throws:
Exception
See Also:
Controller}

jrworkspace by
jTEM

jTEM