public interface EJPPreferencePanel
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon()
Return a Java Icon object to be displayed in the Preferences dialog in the list of EJaPs
|
java.lang.String |
getName()
Return a user-readable name for this EJaP to be displayed in the Preferences dialog.
|
javax.swing.JPanel |
getPanel(Pack prefsPack)
Return a JPanel that is added to the Preferences dialog.
|
void |
savePreferences()
Save the contents of the JPanel to the Pack object passed to the
getPanel(com.canto.cumulus.Pack) method. |
javax.swing.Icon getIcon()
null
if you want to use the default icon.java.lang.String getName()
javax.swing.JPanel getPanel(Pack prefsPack)
prefsPack
- The preference data to be displayed by the panel.void savePreferences()
getPanel(com.canto.cumulus.Pack)
method.
This method gets called when the user clicks the "Apply" or "OK" button in the Preferences dialog.www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.