org.rapla.gui
Class DefaultPluginOption
java.lang.Object
org.rapla.facade.RaplaComponent
org.rapla.gui.RaplaGUIComponent
org.rapla.gui.DefaultPluginOption
- All Implemented Interfaces:
- Named, OptionPanel, RaplaWidget
public abstract class DefaultPluginOption
- extends RaplaGUIComponent
- implements OptionPanel
Methods inherited from class org.rapla.gui.RaplaGUIComponent |
createRaplaCalendar, createRaplaTime, getCalendarOptions, getDateRenderer, getEditController, getFrameList, getInfoFactory, getMainComponent, getReservationController, getSessionMap, getTimeRenderer, isInvokedOnAWTEventQueue, showException, showWarning |
Methods inherited from class org.rapla.facade.RaplaComponent |
canModify, canUserAllocateSomething, checkServiceState, findDescriptor, getAppointmentFormater, getChildBundleName, getClientFacade, getContainer, getContext, getI18n, getIcon, getLocale, getLogger, getModification, getName, getPeriodModel, getQuery, getRaplaLocale, getService, getString, getStringAsHTML, getUpdateModule, getUser, getUserModule, isAdmin, isModifyPreferencesAllowed, isRegisterer, newEditablePreferences, setChildBundleName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
activate
protected JCheckBox activate
config
protected Configuration config
preferences
protected Preferences preferences
DefaultPluginOption
public DefaultPluginOption(RaplaContext sm)
throws RaplaException
- Throws:
RaplaException
getDescriptorClassName
public abstract String getDescriptorClassName()
createPanel
protected JPanel createPanel()
throws RaplaException
- Throws:
RaplaException
setPreferences
public void setPreferences(Preferences preferences)
- Specified by:
setPreferences
in interface OptionPanel
- See Also:
OptionPanel.setPreferences(org.rapla.entities.configuration.Preferences)
commit
public void commit()
throws RaplaException
- Description copied from interface:
OptionPanel
- commits the changes in the option Dialog.
- Specified by:
commit
in interface OptionPanel
- Throws:
RaplaException
- See Also:
OptionPanel.commit()
addChildren
protected void addChildren(DefaultConfiguration newConfig)
readConfig
protected void readConfig(Configuration config)
show
public void show()
throws RaplaException
- Description copied from interface:
OptionPanel
- called when the option Panel is selected for displaying.
- Specified by:
show
in interface OptionPanel
- Throws:
RaplaException
- See Also:
OptionPanel.show()
getComponent
public JComponent getComponent()
- Specified by:
getComponent
in interface RaplaWidget
- See Also:
RaplaWidget.getComponent()
getName
public String getName(Locale locale)
- Specified by:
getName
in interface Named
- See Also:
Named.getName(java.util.Locale)
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.