anecho.JamochaMUD.PrefPanels
Interface PrefInterface

All Known Implementing Classes:
CommandHistory, CustomColour, SpellCheck

public interface PrefInterface

This interface defines methods to be used by other "PrefPanel" classes. These classes appear as separate items in the JamochaMUD preferences dialogue allowing the user to customise how JamochaMUD operates.


Method Summary
 void applySettings()
           
 boolean checkVersion()
          This interface allows preference panels to tell JamochaMUD whether the system meets all requirements to run it (Java version, etc).
 java.lang.String getModuleName()
          The human-readable name for our module
 javax.swing.JPanel loadPanel()
           
 void versionWarning()
          This method allows the preference panel to supply the user with feedback in the event that the checkVersion fails.
 

Method Detail

getModuleName

java.lang.String getModuleName()
The human-readable name for our module

Returns:
This string represents the human-readable name of the given module.

loadPanel

javax.swing.JPanel loadPanel()
Returns:

applySettings

void applySettings()

checkVersion

boolean checkVersion()
This interface allows preference panels to tell JamochaMUD whether the system meets all requirements to run it (Java version, etc).

Returns:

versionWarning

void versionWarning()
This method allows the preference panel to supply the user with feedback in the event that the checkVersion fails. This is called when the panel is shown.