jrworkspace by
jTEM

de.jtem.jrworkspace.plugin.flavor
Interface PreferencesFlavor

All Known Implementing Classes:
LookAndFeelSwitch, PluginManager

public interface PreferencesFlavor

A flavor which adds a preferences page to the host application

Author:
Stefan Sechelmann

Method Summary
 Icon getMainIcon()
          An icon for the main page
 String getMainName()
          Returns a name which will be the name of the main page
 JPanel getMainPage()
          The main preferences page
 int getNumSubPages()
          The number of sub-pages of this preference page
 JPanel getSubPage(int i)
          The JPanel of the sub-page with index i
 Icon getSubPageIcon(int i)
          The icon of sub-page i
 String getSubPageName(int i)
          The name of sub-page number i
 

Method Detail

getMainIcon

Icon getMainIcon()
An icon for the main page

Returns:
an icon

getMainName

String getMainName()
Returns a name which will be the name of the main page

Returns:
a name

getMainPage

JPanel getMainPage()
The main preferences page

Returns:
a JPanel

getNumSubPages

int getNumSubPages()
The number of sub-pages of this preference page

Returns:
a Integer number

getSubPage

JPanel getSubPage(int i)
The JPanel of the sub-page with index i

Parameters:
i - the index of the sub-page
Returns:

getSubPageIcon

Icon getSubPageIcon(int i)
The icon of sub-page i

Parameters:
i - the index of the sub-page
Returns:

getSubPageName

String getSubPageName(int i)
The name of sub-page number i

Parameters:
i - the index of the sub-page
Returns:
a name

jrworkspace by
jTEM

jTEM