All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.jigadm.editors.AttributeEditorInterface

public interface AttributeEditorInterface

Method Index

 o addAttributeListener(AttributeListener)
Add a Listener to this editor.
 o clearChanged()
set the current value to be the original value, ie: changed must return false after a reset.
 o getValue()
Get the current value of the edited value
 o hasChanged()
Tells if the edited value has changed
 o initialize(RemoteResourceWrapper, Attribute, Object, Properties)
Initialize the editor
 o removeAttributeListener(AttributeListener)
Remove the listener from this editor.
 o resetChanges()
reset the changes (if any)
 o setValue(Object)
Set the value of the edited value

Methods

 o hasChanged
 public abstract boolean hasChanged()
Tells if the edited value has changed

Returns:
true if the value changed.
 o clearChanged
 public abstract void clearChanged()
set the current value to be the original value, ie: changed must return false after a reset.

 o resetChanges
 public abstract void resetChanges()
reset the changes (if any)

 o getValue
 public abstract Object getValue()
Get the current value of the edited value

Returns:
an object or null if the object was not initialized
 o setValue
 public abstract void setValue(Object o)
Set the value of the edited value

Parameters:
o - the new value.
 o addAttributeListener
 public abstract void addAttributeListener(AttributeListener el)
Add a Listener to this editor.

Parameters:
el - a listener
 o removeAttributeListener
 public abstract void removeAttributeListener(AttributeListener el)
Remove the listener from this editor.

Parameters:
el - the listener to be removed.
 o initialize
 public abstract void initialize(RemoteResourceWrapper w,
                                 Attribute a,
                                 Object o,
                                 Properties p) throws RemoteAccessException
Initialize the editor

Parameters:
w - the ResourceWrapper father of the attribute
a - the Attribute we are editing
o - the value of the above attribute
p - some Properties, used to fine-tune the editor

All Packages  Class Hierarchy  This Package  Previous  Next  Index