| java.lang.Object net.suberic.util.gui.propedit.PropertyEditorManager
PropertyEditorManager | public class PropertyEditorManager (Code) | | This manages a set of PropertyEditors. Basically, this acts as a
Transaction for the PropertyEditors.
|
writeChanges | protected boolean writeChanges(Code) | | |
PropertyEditorManager | protected PropertyEditorManager()(Code) | | Creates a new PropertyEditorManager.
|
addPropertyEditorListener | public void addPropertyEditorListener(String property, PropertyEditorListener listener)(Code) | | Adds the given PropertyEditorListener as a listener to the editor
for the given property. If no editor exists yet, then the listener
is saved until a PropertyEditorUI is registered.
|
commit | public void commit()(Code) | | Commits the changes to the underlying VariableBundle.
|
createEditor | public PropertyEditorUI createEditor(String property, String editorTemplate)(Code) | | Creates an appropriate PropertyEditorUI for the given property and
editorTemplate, using this PropertyEditorManager.
|
createEditor | public PropertyEditorUI createEditor(List properties, List editorTemplates)(Code) | | Creates an appropriate PropertyEditorUI for the given properties and
editorTemplates, using this PropertyEditorManager.
|
getPropertyAsList | public List getPropertyAsList(String property, String defaultValue)(Code) | | Gets the value of the given property.
|
registerPropertyEditor | public void registerPropertyEditor(String property, PropertyEditorUI editor)(Code) | | Registers the given PropertyEditorUI as the editor for the given
Property.
|
removeProperty | public void removeProperty(String property)(Code) | | Removes the given property.
|
setProperty | public void setProperty(String property, String value)(Code) | | Sets the given property to the given value.
|
setWriteChanges | public void setWriteChanges(boolean newValue)(Code) | | Sets whether or not this PEM should write its changes to the source
VariableBundle.
|
|
|