org.graffiti.options
Interface OptionPane

All Known Implementing Classes:
AbstractOptionPane, OverviewOptionPane

public interface OptionPane

The interface all option panes must implement. The name of an option pane is returned by the getName() method. the label displayed in the option pane's tab is obtained from the options.name.label property.

Note that in most cases, it is easier to extend AbstractOptionPane.

Version:
$Revision: 5767 $
Author:
flierl

Method Summary
 Component getComponent()
          Returns the component, that should be displayed for this option pane.
 String getName()
          Returns the internal name of this option pane.
 void init()
          This method is called every time this option pane is displayed.
 void save()
          Called when the options dialog's "ok" button is clicked.
 

Method Detail

getComponent

Component getComponent()
Returns the component, that should be displayed for this option pane.

Returns:
DOCUMENT ME!

getName

String getName()
Returns the internal name of this option pane. The option pane's label is set to the value of the property options.name.label.

Returns:
DOCUMENT ME!

init

void init()
This method is called every time this option pane is displayed. The AbstractOptionPane class uses this to create the option pane's GUI only when needed.


save

void save()
Called when the options dialog's "ok" button is clicked. This should save any properties being edited in this option pane.



Generated at 2012-05-30 11:00:36 PM CEST