Package ucar.unidata.idv.control
Class AnimationTextControl.DatedText
java.lang.Object
ucar.unidata.util.DatedObject
ucar.unidata.idv.control.AnimationTextControl.DatedText
- All Implemented Interfaces:
DatedThing
- Enclosing class:
AnimationTextControl
Class DatedText Holds text and a date
- Version:
- $Revision: 1.3 $
- Author:
- IDV Development Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the dateGet the Subject property.getText()get the textvoidsetSubject(String value) Set the Subject property.protected voidset the texttoString()to string
-
Constructor Details
-
DatedText
public DatedText()ctor -
DatedText
ctor- Parameters:
date- The date
-
-
Method Details
-
getText
get the text- Returns:
- the text
-
setText
set the text- Parameters:
text- the text
-
getDateTime
get the date- Returns:
- the date
- Throws:
VisADException- On badness
-
setSubject
Set the Subject property.- Parameters:
value- The new value for Subject
-
getSubject
Get the Subject property.- Returns:
- The Subject
-
toString
to string- Overrides:
toStringin classDatedObject- Returns:
- to string
-