org.argouml.application.api
Interface SettingsTabPanel

All Known Implementing Classes:
SettingsTabAppearance, SettingsTabEnvironment, SettingsTabHelper, 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
 String getTabKey()
          Gets the unlocalized settings tab name.
 JPanel getTabPanel()
          Gets the JPanel which implements the tab.
 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 String getTabKey()
Gets the unlocalized settings tab name.

Returns:
the unlocalized settings tab name

getTabPanel

public JPanel getTabPanel()
Gets the JPanel which implements the tab.

Returns:
the JPanel which implements the tab


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook