net.sourceforge.jsxe.options
Interface OptionPane

All Known Implementing Classes:
OptionsPanel

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 getTitle() method. Note that you should extend the net.sourceforge.jsxe.gui.OptionPanel if creating an OptionPane for use with jsXe.

Version:
$Id: OptionPane.java,v 1.3 2005/04/21 17:57:45 ian_lewis Exp $
Author:
Slava Pestov, Ian Lewis (IanLewis@member.fsf.org)
See Also:
OptionGroup, OptionsDialog.addOptionPane(OptionPane)

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.
 String getTitle()
           
 void init()
          This method is called every time the option pane is displayed.
 void save()
          Called when the options dialog's "ok" button is clicked.
 

Method Detail

getName

public String getName()
Returns the internal name of this option pane.


getTitle

public String getTitle()

getComponent

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


init

public void init()
This method is called every time the option pane is displayed.


save

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