| java.lang.Object java.util.Observable jimm.datavision.Element
All known Subclasses: jimm.datavision.field.Field, jimm.datavision.Line,
Element | abstract public class Element extends Observable implements Writeable,Observer(Code) | | Element is the abstract superclass of Field
and Line . These are the visual elements of a report section.
author: Jim Menard, jimm@io.com |
visible | protected boolean visible(Code) | | |
Element | public Element(Report report, Section section, boolean visible)(Code) | | Constructor. (Though a section knows about it's report, too, often we
create elements with a null section and then add them to
some section later on).
Parameters: report - the report containing this element Parameters: section - the report section containing this element |
getReport | public Report getReport()(Code) | | Returns the report that containts this field.
the report |
getSection | public Section getSection()(Code) | | Returns the section that containts this field.
the section |
isVisible | public boolean isVisible()(Code) | | Returns the visible state of this element.
the visible state |
setSection | public void setSection(Section s)(Code) | | Modifies the section to which this field belongs. Only called by
section itself.
Parameters: s - the section |
setVisible | public void setVisible(boolean newVisible)(Code) | | Sets the visibility of this element.
Parameters: newVisible - the new visible state |
writeXML | abstract public void writeXML(XMLWriter out)(Code) | | Writes this element as an XML tag. This abstract method is overridden
by the Field and Line subclasses.
Parameters: out - a writer that knows how to write XML |
|
|