org.argouml.application.api
Interface SettingsTabPanel

All Known Implementing Classes:
SettingsTabEnvironment, SettingsTabFonts, SettingsTabHelper, SettingsTabLayout, SettingsTabNotation, SettingsTabPreferences, SettingsTabUser

public interface SettingsTabPanel

An interface which must be implemented as the UI for tabs used on the settings panel. Tabs will only need to load data during handleSettingsTabRefresh() and should only save data during handleSettingsTabSave(). Changes can be made during editing of the tabs, but the tab must be able to undo any change if requested through handleSettingsTabCancel().

Since:
0.9.4

Method Summary
 java.lang.String getTabKey()
          Returns the unlocalized settings tab name.
 javax.swing.JPanel getTabPanel()
          Returns the JPanel which implements the tab.
 java.lang.String getTabResourceBundleKey()
          Returns the name of the resource bundle to use.
 void handleSettingsTabCancel()
          Cancel any changes.
 void handleSettingsTabRefresh()
          Load or reload field settings.
 void handleSettingsTabSave()
          Save any fields changed.
 

Method Detail

handleSettingsTabSave

public void handleSettingsTabSave()
Save any fields changed.


handleSettingsTabCancel

public void handleSettingsTabCancel()
Cancel any changes.


handleSettingsTabRefresh

public void handleSettingsTabRefresh()
Load or reload field settings.


getTabKey

public java.lang.String getTabKey()
Returns the unlocalized settings tab name.


getTabResourceBundleKey

public java.lang.String getTabResourceBundleKey()
Returns the name of the resource bundle to use.


getTabPanel

public javax.swing.JPanel getTabPanel()
Returns the JPanel which implements the tab.



ArgoUML © 1996-2003 (20030829)ArgoUML Project HomeArgoUML Cookbook