Klasse CrossTabBodyCell

java.lang.Object
com.inet.report.CrossTabBodyCell
Alle implementierten Schnittstellen:
NodeParser, Serializable

public class CrossTabBodyCell extends Object implements NodeParser, Serializable
Described a cell in the body of the crosstab.
Seit:
12.0
Siehe auch:
  • Methodendetails

    • getFieldElement

      public @Nonnull FieldElement getFieldElement(int index)
      Get the FieldElement at the given index.
      Parameter:
      index - index of the element to return
      Gibt zurück:
      the FieldElement
      Seit:
      12.0
    • getFieldElementCount

      public int getFieldElementCount()
      Get the count of the FieldElements in this cell. This should be identical in all cells and in CrossTabBody.getSummaryFieldsCount().
      Gibt zurück:
      the count
      Seit:
      12.0
    • getX

      public int getX()
      The X position of this cell in the parent section in the design view.
      Gibt zurück:
      the position in twips
      Seit:
      12.0
    • getY

      public int getY()
      The Y position of this cell in the parent section in the design view.
      Gibt zurück:
      the position in twips
      Seit:
      12.0
    • getWidth

      public int getWidth()
      The width of this cell in the design view.
      Gibt zurück:
      the width in twips
      Seit:
      12.0
    • getHeight

      public int getHeight()
      the height of this cell in the design view.
      Gibt zurück:
      the height in twips.
      Seit:
      12.0
    • getRow

      public @Nonnull CrossTabHeader getRow()
      Get the row header of the cell.
      Gibt zurück:
      the row header
      Seit:
      12.0
    • getColumn

      public @Nonnull CrossTabHeader getColumn()
      Get the column header of this cell.
      Gibt zurück:
      the column header
      Seit:
      12.0
    • isDOMParser

      public boolean isDOMParser()
      FOR INTERNAL USE ONLY Internal method for reading report XML

      Returns whether this node is to be read via a DOM parser.

      Angegeben von:
      isDOMParser in Schnittstelle NodeParser
      Gibt zurück:
      true if this node is to be read via a DOM parser, false otherwise.
      Seit:
      12.0
    • parseDOM

      public void parseDOM(Node node, Map<String,Object> parserMap) throws FatalParserException
      FOR INTERNAL USE ONLY Internal method for reading report XML

      Parses the node.

      Angegeben von:
      parseDOM in Schnittstelle NodeParser
      Parameter:
      node - the node
      parserMap - The map of current Parser.
      Löst aus:
      FatalParserException - if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.
      Seit:
      12.0
    • parseElement

      public NodeParser parseElement(com.inet.report.parser.XMLTag group, String tag, Attributes atts, Map<String,Object> parserMap) throws FatalParserException
      FOR INTERNAL USE ONLY Internal method for reading report XML

      Parses an XML node with the given information, and returns either a sub-element which was created as a result, or null if no sub-element was created, i.e. the information was applied to the ReportComponent itself. Note that the parsing is highly tolerant, i.e. exceptions are intercepted and suppressed if at all possible.

      Angegeben von:
      parseElement in Schnittstelle NodeParser
      Parameter:
      group - XMLTag of the current node to be parsed, or null if there is no such current group. An XMLTag is a group of nodes bundled together, usually it is a Properties node such as CommonProperties, BorderProperties, etc.
      tag - The XMLTag to be parsed
      atts - The set of attributes in the current XMLTag
      parserMap - The map of current Parser.
      Gibt zurück:
      The NodeParser sub-element if one needed to be created, or null if none was created.
      Löst aus:
      FatalParserException - if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.
      Seit:
      12.0
    • parseEndElement

      public void parseEndElement(com.inet.report.parser.XMLTag group, String tag, Map<String,Object> parserMap) throws FatalParserException
      FOR INTERNAL USE ONLY Internal method for reading report XML

      Receive notification of the end of an XML tag.

      Angegeben von:
      parseEndElement in Schnittstelle NodeParser
      Parameter:
      group - XMLTag of the current node to be parsed, or null if there is no such current group.
      tag - The XMLTag to be parsed
      parserMap - The map of current Parser.
      Löst aus:
      FatalParserException - if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.
      Seit:
      12.0
    • parseText

      public void parseText(String text, Map<String,Object> parserMap)
      FOR INTERNAL USE ONLY Internal method for reading report XML

      This method is called if text was encountered in the context of this node. (Examples would be a formula's text or a text element's text)

      Angegeben von:
      parseText in Schnittstelle NodeParser
      Parameter:
      text - text encountered and to be stored
      parserMap - The map of current Parser.
      Seit:
      12.0