All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigadm.editors.SelectEditor

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

public class SelectEditor
extends AttributeEditor
SelectEditor :


Variable Index

 o comp
 o FEEDER_CLASS_P
Properties - The feeder's class name.
 o hasChanged
 o MODIFIER_CLASS_P
 o oldvalue

Constructor Index

 o SelectEditor()

Method Index

 o clearChanged()
set the current value to be the original value, ie: changed must return false after a reset.
 o createComponent(EditorFeeder, EditorModifier, String)
 o getComponent()
get the Component created by the editor.
 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 resetChanges()
reset the changes (if any)
 o setModified()
 o setValue(Object)
Set the value of the edited value

Variables

 o FEEDER_CLASS_P
 public static final String FEEDER_CLASS_P
Properties - The feeder's class name.

 o MODIFIER_CLASS_P
 public static final String MODIFIER_CLASS_P
 o comp
 protected SelectEditor. SelectComponent comp
 o hasChanged
 protected boolean hasChanged
 o oldvalue
 protected String oldvalue

Constructors

 o SelectEditor
 public SelectEditor()

Methods

 o createComponent
 protected void createComponent(EditorFeeder feeder,
                                EditorModifier modifier,
                                String selected)
 o setModified
 protected void setModified()
 o hasChanged
 public boolean hasChanged()
Tells if the edited value has changed

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

Overrides:
clearChanged in class AttributeEditor
 o resetChanges
 public void resetChanges()
reset the changes (if any)

Overrides:
resetChanges in class AttributeEditor
 o getValue
 public Object getValue()
Get the current value of the edited value

Returns:
an object or null if the object was not initialized
Overrides:
getValue in class AttributeEditor
 o setValue
 public void setValue(Object o)
Set the value of the edited value

Parameters:
o - the new value.
Overrides:
setValue in class AttributeEditor
 o getComponent
 public Component getComponent()
get the Component created by the editor.

Returns:
a Component
Overrides:
getComponent in class AttributeEditor
 o initialize
 public 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
Throws: RemoteAccessException
if a remote access error occurs.
Overrides:
initialize in class AttributeEditor

All Packages  Class Hierarchy  This Package  Previous  Next  Index