All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class w3c.jigadm.editors.StringArrayEditor
java.lang.Object
   |
   +----w3c.jigadm.editors.AttributeEditor
           |
           +----w3c.jigadm.editors.StringArrayEditor
  -  public class StringArrayEditor
  -  extends AttributeEditor
An editor for StringArray attributes.
   
  -   comp comp
-  
  
-   FEEDER_CLASS_P FEEDER_CLASS_P
-   Properties - The feeder's class name.
  
-   hasChanged hasChanged
-  
  
-   oldvalue oldvalue
-  
   
  -   StringArrayEditor() StringArrayEditor()
-  
   
  -   clearChanged() clearChanged()
-   set the current value to be the original value, ie: changed
 must return false after a reset.
  
-   createComponent(EditorFeeder, String[]) createComponent(EditorFeeder, String[])
-  
  
-   getComponent() getComponent()
-   get the Component created by the editor.
  
-   getPopupSize() getPopupSize()
-  
  
-   getTextEditor() getTextEditor()
-  
  
-   getValue() getValue()
-   Get the current value of the edited value
 
  
-   hasChanged() hasChanged()
-   Tells if the edited value has changed
 
  
-   initialize(RemoteResourceWrapper, Attribute, Object, Properties) initialize(RemoteResourceWrapper, Attribute, Object, Properties)
-   Initialize the editor
 
  
-   resetChanges() resetChanges()
-   reset the changes (if any)
  
-   setModified() setModified()
-  
  
-   setValue(Object) setValue(Object)
-   Set the value of the edited value
 
   
 FEEDER_CLASS_P
FEEDER_CLASS_P
 public static final String FEEDER_CLASS_P
  -  Properties - The feeder's class name.
 
 hasChanged
hasChanged
 protected boolean hasChanged
 oldvalue
oldvalue
 protected String oldvalue[]
 comp
comp
 protected StringArrayEditor. StringArrayComponent comp
   
 StringArrayEditor
StringArrayEditor
 public StringArrayEditor()
   
 getTextEditor
getTextEditor
 protected TextEditable getTextEditor()
 getPopupSize
getPopupSize
 protected Dimension getPopupSize()
 createComponent
createComponent
 protected void createComponent(EditorFeeder feeder,
                                String selected[])
 setModified
setModified
 protected void setModified()
 hasChanged
hasChanged
 public boolean hasChanged()
  -  Tells if the edited value has changed
   
- 
    -  Returns:
    
-  true if the value changed.
    
-  Overrides:
    
-  hasChanged in class AttributeEditor
  
 
 clearChanged
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
  
 
 resetChanges
resetChanges
 public void resetChanges()
  -  reset the changes (if any)
   
- 
    -  Overrides:
    
-  resetChanges in class AttributeEditor
  
 
 getValue
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
  
 
 setValue
setValue
 public void setValue(Object o)
  -  Set the value of the edited value
   
- 
    -  Parameters:
    
-  o - the new value.
    
-  Overrides:
    
-  setValue in class AttributeEditor
  
 
 getComponent
getComponent
 public Component getComponent()
  -  get the Component created by the editor.
   
- 
    -  Returns:
    
-  a Component
    
-  Overrides:
    
-  getComponent in class AttributeEditor
  
 
 initialize
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
    
-  Overrides:
    
-  initialize in class AttributeEditor
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index