Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.w3c.jigadm.editors
Class HashtableAttributeEditor

    java.lang.Object
      |
      +--org.w3c.jigadm.editors.AttributeEditor
            |
            +--org.w3c.jigadm.editors.HashtableAttributeEditor

All Implemented Interfaces:
  AttributeEditorInterface

public class HashtableAttributeEditor
extends AttributeEditor

HashtableAttributeEditor :

Field Summary
`protected org.w3c.jigadm.editors.HashtableAttributeEditor.HashtableAttributeComponent` | `comp`
`protected boolean` | `hasChanged`
`protected ArrayDictionary` | `oldValue`

Fields inherited from class org.w3c.jigadm.editors.AttributeEditor
`als`

Constructor Summary
`HashtableAttributeEditor()`

Method Summary
`void` | `clearChanged()` set the current value to be the original value, ie: changed must return false after a reset.
`protected void` | `createComponent(ArrayDictionary table)`
`java.awt.Component` | `getComponent()` get the Component created by the editor.
`java.lang.Object` | `getValue()` Get the current value of the edited value
`boolean` | `hasChanged()` Tells if the edited value has changed
`void` | `initialize(RemoteResourceWrapper w, Attribute a, java.lang.Object o, java.util.Properties p)` Initialize the editor
`void` | `resetChanges()` reset the changes (if any)
`protected void` | `setModified()`
`void` | `setValue(java.lang.Object o)` Set the value of the edited value

Methods inherited from class org.w3c.jigadm.editors.AttributeEditor
`addAttributeListener, processEvent, removeAttributeListener`

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

Field Detail

### hasChanged

    protected boolean hasChanged

### comp

    protected org.w3c.jigadm.editors.HashtableAttributeEditor.HashtableAttributeComponent comp

### oldValue

    protected ArrayDictionary oldValue

Constructor Detail

### HashtableAttributeEditor

    public HashtableAttributeEditor()

Method Detail

### getComponent

    public java.awt.Component getComponent()

  get the Component created by the editor.

  Specified by:
    `getComponent` in class `AttributeEditor`
  Returns:
    a Component

### createComponent

    protected void createComponent(ArrayDictionary table)

### setModified

    protected void setModified()

### hasChanged

    public boolean hasChanged()

  Tells if the edited value has changed

  Returns:
    true if the value changed.

### clearChanged

    public void clearChanged()

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

### resetChanges

    public void resetChanges()

  reset the changes (if any)

### getValue

    public java.lang.Object getValue()

  Get the current value of the edited value

  Returns:
    an object or null if the object was not initialized

### setValue

    public void setValue(java.lang.Object o)

  Set the value of the edited value

  Parameters:
    `o` - the new value.

### initialize

    public void initialize(RemoteResourceWrapper w,
                           Attribute a,
                           java.lang.Object o,
                           java.util.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
  Throws:
    `RemoteAccessException` - if a remote access error occurs.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD