jimm.datavision.field
Class DefaultFormat

java.lang.Object
  extended by java.util.Observable
      extended by jimm.datavision.field.Format
          extended by jimm.datavision.field.DefaultFormat
All Implemented Interfaces:
java.lang.Cloneable, Writeable

 class DefaultFormat
extends Format

Only used by the report.


Field Summary
 
Fields inherited from class jimm.datavision.field.Format
align, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, bold, color, DEFAULT_COLOR, DEFAULT_FONT_FAMILY_NAME, DEFAULT_SIZE, field, font, fontFamilyName, format, italic, size, underline, wrap
 
Constructor Summary
DefaultFormat()
          Creates a format with all default values filled in.
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this format.
 java.lang.String getFormat()
          Returns the format string for this field.
 void writeXML(XMLWriter out)
          Writes this format as an XML tag.
 
Methods inherited from class jimm.datavision.field.Format
alignFromString, alignToString, clearFontCache, createDefaultFormat, createEmptyFormat, equals, fillClonedField, getAlign, getColor, getDefaultFormat, getFont, getFontFamilyName, getSize, hashCode, isBold, isItalic, isUnderline, isWrap, setAlign, setBold, setColor, setField, setFontFamilyName, setFormat, setItalic, setSize, setUnderline, setWrap, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultFormat

DefaultFormat()
Creates a format with all default values filled in.

Method Detail

getFormat

public java.lang.String getFormat()
Description copied from class: Format
Returns the format string for this field. May return null.

Overrides:
getFormat in class Format
Returns:
the format string, possibly null

clone

public java.lang.Object clone()
Returns a clone of this format.

Overrides:
clone in class Format

writeXML

public void writeXML(XMLWriter out)
Writes this format as an XML tag.

Specified by:
writeXML in interface Writeable
Overrides:
writeXML in class Format
Parameters:
out - a writer that knows how to write XML