org.objectweb.jac.aspects.gui.web
Class TimestampViewer

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.web.AbstractView
        |
        +--org.objectweb.jac.aspects.gui.web.AbstractFieldView
              |
              +--org.objectweb.jac.aspects.gui.web.FormatViewer
                    |
                    +--org.objectweb.jac.aspects.gui.web.TimestampViewer
All Implemented Interfaces:
FieldUpdate, FieldView, HTMLViewer, View, ViewIdentity

public class TimestampViewer
extends FormatViewer

A Swing viewer component for date values.


Field Summary
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.FormatViewer
alignment, format
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractFieldView
autoUpdate, field, substance
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
column, context, description, height, isCellViewer, label, parentView, row, table, width
 
Constructor Summary
TimestampViewer()
           
TimestampViewer(Object value, Object substance, FieldItem field)
          Constructs a new date viewer.
 
Method Summary
protected  void initFormat(FieldItem field)
           
 void setValue(Object value)
          Sets the value to display
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.FormatViewer
genHTML, setField
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractFieldView
close, fieldUpdated, getField, getSubstance, setAutoUpdate, setSubstance
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
closeForm, equalsView, equalsView, eventURL, eventURL, genBody, genEventAndActionButton, genPage, genStyleSheets, getBaseURL, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, iconElement, iconElement, isClosed, isDescendantOf, isInForm, openForm, printAttributes, setAttribute, setColumn, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParameters, setParentView, setRow, setSize, setStyle, setStyleSheet, setTable, setType, setViewBorder, showButton, showFormButtons, showFormButtons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jac.aspects.gui.web.HTMLViewer
setStyleSheet
 
Methods inherited from interface org.objectweb.jac.aspects.gui.View
getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParentView, setSize, setStyle, setViewBorder
 
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity
equalsView, equalsView, getParameters, getType, setParameters, setType
 

Constructor Detail

TimestampViewer

public TimestampViewer(Object value,
                       Object substance,
                       FieldItem field)
Constructs a new date viewer.


TimestampViewer

public TimestampViewer()
Method Detail

setValue

public void setValue(Object value)
Description copied from interface: FieldView
Sets the value to display

Specified by:
setValue in interface FieldView
Overrides:
setValue in class FormatViewer
Parameters:
value - the value

initFormat

protected void initFormat(FieldItem field)
Specified by:
initFormat in class FormatViewer