|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.w3c.jigadm.editors.AttributeEditor
|
+--org.w3c.jigadm.editors.DateAttributeEditor
| Field Summary |
| Fields inherited from class org.w3c.jigadm.editors.AttributeEditor |
als |
| Constructor Summary | |
DateAttributeEditor()
|
|
| Method Summary | |
void |
clearChanged()
set the current value to be the original value, ie: changed must return false after a reset. |
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) |
void |
setValue(java.lang.Object o)
Add a Listener to this editor. |
protected void |
updateValue(int field,
boolean plus)
update the new date value, according to the field defined in the Calendar |
| 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 |
| Constructor Detail |
public DateAttributeEditor()
| Method Detail |
protected void updateValue(int field,
boolean plus)
field - the field of the Calendar to be modifiedplus - a boolean which determine the change signCalendarpublic boolean hasChanged()
public void clearChanged()
public void resetChanges()
public java.lang.Object getValue()
public void setValue(java.lang.Object o)
o - the new value.public java.awt.Component getComponent()
getComponent in class AttributeEditor
public void initialize(RemoteResourceWrapper w,
Attribute a,
java.lang.Object o,
java.util.Properties p)
throws RemoteAccessException
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
RemoteAccessException - if a remote access error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||