org.w3c.jigadm.editors
Class IPTemplateArrayEditor
java.lang.Object
|
+--org.w3c.jigadm.editors.AttributeEditor
|
+--org.w3c.jigadm.editors.StringArrayEditor
|
+--org.w3c.jigadm.editors.IPTemplateArrayEditor
- public class IPTemplateArrayEditor
- extends StringArrayEditor
IPTemplateArrayEditor :
Method Summary |
protected java.awt.Dimension |
getPopupSize()
|
protected TextEditable |
getTextEditor()
|
java.lang.Object |
getValue()
Get the current value of the edited value |
void |
initialize(org.w3c.jigadm.RemoteResourceWrapper w,
org.w3c.tools.resources.Attribute a,
java.lang.Object o,
java.util.Properties p)
Initialize the editor |
void |
resetChanges()
reset the changes (if any) |
protected void |
setSelectedItems(short[][] selectedItems)
|
void |
setValue(java.lang.Object o)
Set the value of the edited value |
protected java.lang.String[] |
toStringArray(short[][] selectedItems)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
oldshortarray
protected short[][] oldshortarray
IPTemplateArrayEditor
public IPTemplateArrayEditor()
toStringArray
protected java.lang.String[] toStringArray(short[][] selectedItems)
setSelectedItems
protected void setSelectedItems(short[][] selectedItems)
resetChanges
public void resetChanges()
- reset the changes (if any)
- Overrides:
- resetChanges in class StringArrayEditor
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
- Overrides:
- getValue in class StringArrayEditor
setValue
public void setValue(java.lang.Object o)
- Set the value of the edited value
- Parameters:
o
- the new value.- Overrides:
- setValue in class StringArrayEditor
getTextEditor
protected TextEditable getTextEditor()
- Overrides:
- getTextEditor in class StringArrayEditor
getPopupSize
protected java.awt.Dimension getPopupSize()
- Overrides:
- getPopupSize in class StringArrayEditor
initialize
public void initialize(org.w3c.jigadm.RemoteResourceWrapper w,
org.w3c.tools.resources.Attribute a,
java.lang.Object o,
java.util.Properties p)
throws RemoteAccessException
- Initialize the editor
- Parameters:
w
- the ResourceWrapper father of the attributea
- the Attribute we are editingo
- the value of the above attributep
- some Properties, used to fine-tune the editor- Throws:
- RemoteAccessException - if a remote access error occurs.
- Overrides:
- initialize in class StringArrayEditor