    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface org.w3c.jigadm.editors.ResourceEditorInterface

public interface ResourceEditorInterface

##

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

##

hasChanged

     public abstract boolean hasChanged()

  Tells if the edited value has changed

  Returns:
    true if the value changed.

clearChanged

     public abstract void clearChanged()

  set the current value to be the original value, ie: changed must return false after a reset.

commitChanges

     public abstract void commitChanges() throws RemoteAccessException

  commit the changes (if any)

getValue

     public abstract RemoteResource getValue()

  Get the current value of the edited value

  Returns:
    a RemoteResource or null if the object was not initialized

addResourceListener

     public abstract void addResourceListener(ResourceListener el)

  Add a Listener to this helper.

  Parameters:
    el - a listener

removeResourceListener

     public abstract void removeResourceListener(ResourceListener el)

  Remove the listener from this helper.

  Parameters:
    el - the listener to be removed.

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