## org.w3c.jigadm.editors
Class ResourceEditor

    java.lang.Object
      |
      +--org.w3c.jigadm.editors.ResourceEditor

public class ResourceEditor
extends java.lang.Object
implements ResourceEditorInterface

Field Summary
`protected java.awt.Button[]` | `b`
`protected static java.lang.String` | `DELETE_L`
`protected java.awt.Label` | `message`
`protected static java.lang.String` | `REINDEX_L`
`protected java.util.Vector` | `rls`
`static java.lang.String` | `UNREMOVABLE_P`

Constructor Summary
`ResourceEditor(java.awt.Panel p)`

Method Summary
`void` | `addResourceListener(ResourceListener rl)`
`void` | `clearChanged()`
`void` | `commitChanges()`
`protected void` | `delete()`
`RemoteResource` | `getValue()`
`boolean` | `hasChanged()`
`void` | `initialize(RemoteResourceWrapper rrw, java.util.Properties p)` initialize this editor
`protected void` | `processEvent(java.util.EventObject eo)`
`protected void` | `reindex()`
`void` | `removeResourceListener(ResourceListener rl)`
`void` | `resetChanges()`
`void` | `setMessage(java.lang.String msg)`
`protected void` | `switchHelper(java.awt.Button toggled)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### UNREMOVABLE_P

    public static final java.lang.String UNREMOVABLE_P

### rls

    protected java.util.Vector rls

### b

    protected java.awt.Button[] b

### message

    protected java.awt.Label message

### DELETE_L

    protected static final java.lang.String DELETE_L

### REINDEX_L

    protected static final java.lang.String REINDEX_L

Constructor Detail

### ResourceEditor

    public ResourceEditor(java.awt.Panel p)

Method Detail

### setMessage

    public void setMessage(java.lang.String msg)

### commitChanges

    public void commitChanges()
                       throws RemoteAccessException

  Specified by:
    commitChanges in interface ResourceEditorInterface

### resetChanges

    public void resetChanges()
                      throws RemoteAccessException

### switchHelper

    protected void switchHelper(java.awt.Button toggled)
                         throws RemoteAccessException

### reindex

    protected void reindex()

### delete

    protected void delete()

### hasChanged

    public boolean hasChanged()

  Specified by:
    hasChanged in interface ResourceEditorInterface

### clearChanged

    public void clearChanged()

  Specified by:
    clearChanged in interface ResourceEditorInterface

### getValue

    public RemoteResource getValue()

  Specified by:
    getValue in interface ResourceEditorInterface

### addResourceListener

    public void addResourceListener(ResourceListener rl)

  Specified by:
    addResourceListener in interface ResourceEditorInterface

### removeResourceListener

    public void removeResourceListener(ResourceListener rl)

  Specified by:
    removeResourceListener in interface ResourceEditorInterface

### processEvent

    protected void processEvent(java.util.EventObject eo)

### initialize

    public void initialize(RemoteResourceWrapper rrw,
                           java.util.Properties p)
                    throws RemoteAccessException

  initialize this editor
  Specified by:
    initialize in interface ResourceEditorInterface
  Parameters:
    `rrw` - The RemoteResourceWrapper
    `pr` - The properties
  Throws:
    RemoteAccessException - if a remote access error occurs.