|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.nexttext.property.Property net.nexttext.property.DateTimeProperty
public class DateTimeProperty
A datetime property of a TextObject or Behaviour.
Constructor Summary | |
---|---|
DateTimeProperty()
|
|
DateTimeProperty(java.util.Date date)
|
Method Summary | |
---|---|
DateTimeProperty |
clone()
Get a new property with the same values as this one. |
java.util.Date |
get()
Do not modify the returned value, use set() to make changes instead. |
java.util.Date |
getOriginal()
|
void |
reset()
Reset this property to its original value. |
void |
set(java.util.Date date)
|
Methods inherited from class net.nexttext.property.Property |
---|
addChangeListener, getName, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateTimeProperty()
public DateTimeProperty(java.util.Date date)
Method Detail |
---|
public java.util.Date get()
public java.util.Date getOriginal()
public void set(java.util.Date date)
public void reset()
reset
in class Property
public DateTimeProperty clone()
Property
The name is copied because that's what makes it a Property and not just a value.
PropertyChangeListeners are not copied to the new Property.
clone
in class Property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |