ucar.unidata.idv.control
Class AnimationTextControl.DatedText

java.lang.Object
  extended by ucar.unidata.util.DatedObject
      extended by ucar.unidata.idv.control.AnimationTextControl.DatedText
All Implemented Interfaces:
ucar.unidata.util.DatedThing
Enclosing class:
AnimationTextControl

public static class AnimationTextControl.DatedText
extends ucar.unidata.util.DatedObject

Class DatedText Holds text and a date

Version:
$Revision: 1.3 $
Author:
IDV Development Team

Constructor Summary
AnimationTextControl.DatedText()
          ctor
AnimationTextControl.DatedText(Date date)
          ctor
 
Method Summary
 DateTime getDateTime()
          get the date
 String getSubject()
          Get the Subject property.
 String getText()
          get the text
 void setSubject(String value)
          Set the Subject property.
protected  void setText(String text)
          set the text
 String toString()
          to string
 
Methods inherited from class ucar.unidata.util.DatedObject
equals, getDate, getObject, getObjects, select, setDate, setObject, sort, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnimationTextControl.DatedText

public AnimationTextControl.DatedText()
ctor


AnimationTextControl.DatedText

public AnimationTextControl.DatedText(Date date)
ctor

Parameters:
date - The date
Method Detail

getText

public String getText()
get the text

Returns:
the text

setText

protected void setText(String text)
set the text

Parameters:
text - the text

getDateTime

public DateTime getDateTime()
                     throws VisADException
get the date

Returns:
the date
Throws:
VisADException - On badness

setSubject

public void setSubject(String value)
Set the Subject property.

Parameters:
value - The new value for Subject

getSubject

public String getSubject()
Get the Subject property.

Returns:
The Subject

toString

public String toString()
to string

Overrides:
toString in class ucar.unidata.util.DatedObject
Returns:
to string