All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.jigadm.editors.ResourceEditorInterface

public interface ResourceEditorInterface

Method Index

 o addResourceListener(ResourceListener)
Add a Listener to this helper.
 o clearChanged()
set the current value to be the original value, ie: changed must return false after a reset.
 o commitChanges()
commit the changes (if any)
 o getValue()
Get the current value of the edited value
 o hasChanged()
Tells if the edited value has changed
 o initialize(RemoteResourceWrapper, Properties)
initialize the helper
 o removeResourceListener(ResourceListener)
Remove the listener from this helper.

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 commitChanges
 public abstract void commitChanges() throws RemoteAccessException
commit the changes (if any)

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

Returns:
a RemoteResource or null if the object was not initialized
 o addResourceListener
 public abstract void addResourceListener(ResourceListener el)
Add a Listener to this helper.

Parameters:
el - a listener
 o removeResourceListener
 public abstract void removeResourceListener(ResourceListener el)
Remove the listener from this helper.

Parameters:
el - the listener to be removed.
 o initialize
 public abstract void initialize(RemoteResourceWrapper rw,
                                 Properties p) throws RemoteAccessException
initialize the helper

Parameters:
rw - the ResourceWrapper of the Resource edited with this helper
p - some Properties, used to fine-tune the helper

All Packages  Class Hierarchy  This Package  Previous  Next  Index