public abstract class

AbstractTableDocument

extends EventSource
implements ITableDocument
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.events.EventSource
     ↳ com.pnfsoftware.jeb.core.output.table.impl.AbstractTableDocument
Known Direct Subclasses

Class Overview

An adapter class for table documents. This class defines a very simple addressing system: the address of a cell is a "row_index,column_index" string representation of the cell coordinates.

Clients may also override dispose().

Summary

[Expand]
Inherited Fields
From class com.pnfsoftware.jeb.util.events.EventSource
Public Constructors
AbstractTableDocument()
Public Methods
ICellCoordinates addressToCoordinates(String address)
Convert a cell address to cell coordinates.
String coordinatesToAddress(ICellCoordinates coordinates)
Convert cell coordinates to the cell address.
void dispose()
The default implementation does nothing.
IPropertyManager getPropertyManager()
The default implementation returns null.
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.util.events.EventSource
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.output.IGenericDocument
From interface com.pnfsoftware.jeb.core.output.table.ITableDocument
From interface com.pnfsoftware.jeb.util.events.IEventSource

Public Constructors

public AbstractTableDocument ()

Public Methods

public ICellCoordinates addressToCoordinates (String address)

Convert a cell address to cell coordinates.

Note: The addressing scheme is unit specific, and defined by the plugin developer. Addresses should not start with the reserved '@' prefix.

Parameters
address address of a cell
Returns
  • coordinates of the cell, null on error

public String coordinatesToAddress (ICellCoordinates coordinates)

Convert cell coordinates to the cell address.

Note: The addressing scheme is unit specific, and defined by the plugin developer. Addresses should not start with the reserved '@' prefix.

Parameters
coordinates coordinates of a cell
Returns
  • the address of the cell, null on error

public void dispose ()

The default implementation does nothing.

public IPropertyManager getPropertyManager ()

The default implementation returns null.

Returns
  • a PM, null if none