|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jSyncManager.Client.PluginSettings
Plugin Settings Panel. Encapsulates all of the settings information for a plugin.
| Field Summary | |
protected java.lang.Object |
associatedObject
|
| Constructor Summary | |
PluginSettings()
Create a new plug-in settings instance. |
|
| Method Summary | |
void |
addField(javax.swing.JComponent field)
Adds the specified field to this plug-ins panel. |
void |
addField(javax.swing.JComponent field,
javax.swing.JLabel label)
Adds the specified field to the JPanel. |
void |
addField(javax.swing.JComponent field,
java.lang.String labelText)
Adds the specified field with the specified label to this plug-ins panel. |
java.lang.Object |
getAssociation()
Retreives the object associated with this plugin settings. |
java.lang.String |
getDescription()
Returns a description of the plugin which may optionally be in HTML format. |
protected javax.swing.JPanel |
getFieldsAndDescriptionJPanel()
Returns the combined fields and description panel. |
javax.swing.JPanel |
getFieldsJPanel()
Retreives the JPanel containing this plug-ins fields. |
java.lang.String |
getName()
Returns the name of the plugin. |
void |
saveChanges()
Notifies that plugin that settings have been changed and accepted. |
void |
setAssociation(java.lang.Object obj)
Sets the object associated with this plugin settings. |
void |
setDescription(java.lang.String value)
Sets a description of the plugin which may optionally be in HTML format. |
void |
setFieldsJPanel(javax.swing.JPanel panel)
Optional method intended for developers who wish to handle the layout of individual fields themselves. |
void |
setName(java.lang.String value)
Sets the name of the plugin. |
void |
undoChanges()
Called when a user edits fields and decides to cancel their changes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Object associatedObject
| Constructor Detail |
public PluginSettings()
| Method Detail |
public void setFieldsJPanel(javax.swing.JPanel panel)
public javax.swing.JPanel getFieldsJPanel()
protected javax.swing.JPanel getFieldsAndDescriptionJPanel()
public java.lang.String getName()
public void setName(java.lang.String value)
value - the name of the plugin.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value - a description of the plugin which may optionally be in HTML format.public void addField(javax.swing.JComponent field)
field - the field to this plug-ins panel.
public void addField(javax.swing.JComponent field,
java.lang.String labelText)
field - the field to this plug-ins panel.labelText - the label to associate with this field.
public void addField(javax.swing.JComponent field,
javax.swing.JLabel label)
field - the field to this plug-ins panel.label - the label to associate with this field.public void saveChanges()
public void undoChanges()
public void setAssociation(java.lang.Object obj)
obj - the object to assciate with this PluginSettings object.public java.lang.Object getAssociation()
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||