com.partnersoft.preferences.gui
Class SubsystemPreferencesPanel

java.lang.Object
  extended by com.partnersoft.preferences.gui.SubsystemPreferencesPanel

public class SubsystemPreferencesPanel
extends java.lang.Object


Constructor Summary
SubsystemPreferencesPanel(PreferencesApp app, java.lang.String subsystem)
          Create a subsystem preferences panel to edit the given subsystem name.
 
Method Summary
 Form getCustomForm()
           
 javax.swing.JComponent getGui()
           
 java.lang.String getPresetFieldValue()
           
 Form getPresetForm()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void setPresetFieldValue(java.lang.String newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubsystemPreferencesPanel

public SubsystemPreferencesPanel(PreferencesApp app,
                                 java.lang.String subsystem)
Create a subsystem preferences panel to edit the given subsystem name. It will build a form based on the Cog type with a "Preferences" suffix to this name, e.g. "Sound" gets you "SoundPreferences" cogType.

Method Detail

getGui

public javax.swing.JComponent getGui()

getCustomForm

public Form getCustomForm()

getPresetForm

public Form getPresetForm()

getPresetFieldValue

public java.lang.String getPresetFieldValue()

setPresetFieldValue

public void setPresetFieldValue(java.lang.String newValue)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)