public class JResetDateObject extends JValueObject
Subclass of JValueObject that represents a calendar reset operation
| Modifier and Type | Field and Description |
|---|---|
private java.awt.Component |
source |
private java.util.Date |
value |
| Constructor and Description |
|---|
JResetDateObject(java.awt.Component source,
java.util.Date value) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDateValue()
Returns the value of the object being affected by this message.
|
int |
getIndex()
Returns the index of an item operated on in a vector component.
|
int |
getIndex2()
Returns the index of an item operated on in a vector component.
|
java.lang.Object |
getParameter()
Returns an auxiliary value.
|
java.awt.Component |
getSource()
Returns the arlut.csd.JDataComponent GUI component that originated this message.
|
java.lang.Object |
getValue()
Returns the value of the object being affected by this message.
|
void |
setSource(java.awt.Component newSource)
This method is intended to allow re-sourcing of the component for
this object, so that a component generating a callback can be
wrapped in higher level components whose identity is known to the
ultimate client of the component.
|
void |
setTransformedDate(java.util.Date newDate)
The callback can call this method to set the date that the
calendar object should reset the date to.
|
java.lang.String |
toString()
Method to get a human-readable description of the event carried
by this object
|
public JResetDateObject(java.awt.Component source,
java.util.Date value)
public java.awt.Component getSource()
getSource in class JValueObjectpublic void setSource(java.awt.Component newSource)
public java.lang.Object getParameter()
getParameter in class JValueObjectpublic int getIndex()
getIndex in class JValueObjectpublic int getIndex2()
getIndex2 in class JValueObjectpublic java.lang.Object getValue()
getValue in class JValueObjectpublic java.util.Date getDateValue()
public void setTransformedDate(java.util.Date newDate)
public java.lang.String toString()
toString in class java.lang.Object