public class RSTableManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
The log.
|
| Constructor and Description |
|---|
RSTableManager(IRSTableTableModel tModel,
XBRLTableLayout tLayout,
XBRLInstance instance,
EditorSource editorSource,
OpenAspectValueResolver externalResolver)
Instantiates a new RS table manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endTableAction()
Free resources used working with the rs table processor.
|
void |
fireTableActionEvent(java.lang.String event,
int sourceRow,
int sourceColumn,
int z,
XBRLFact fact,
XBRLValidationReport validationReport)
Process the events associated to the sourceRow and sourceColumn.
|
java.lang.String |
getCurrentTableID()
Access to the ID of the current table.
|
com.ihr.xbrl.om.rstable.RowColZ |
getTestCell()
Access the cell under evaluation from within the GetCelLValueFunction class implementing t:c(...)
|
XBRLValidationReport |
initTableAction()
Init resources to work with the rs table processor for this XBRLTable and process "init" event.
|
boolean |
isDisabled(int row,
int col,
int z)
Returns true if the target cell is disabled as the result of a disable table action.
|
boolean |
isValueTarget(int row,
int col,
int z)
Returns true if the target cell is calculated via a value table action.
|
void |
setProcessorEnabled(boolean newValue)
Allows applications (mainly GUI applications) to disable this processor.
|
public RSTableManager(IRSTableTableModel tModel, XBRLTableLayout tLayout, XBRLInstance instance, EditorSource editorSource, OpenAspectValueResolver externalResolver)
tModel - the t modeltLayout - the t layoutinstance - the instanceeditorSource - the editor sourceexternalResolver - the external resolverpublic void setProcessorEnabled(boolean newValue)
newValue - the new processor enabledpublic XBRLValidationReport initTableAction()
public java.lang.String getCurrentTableID()
<table> resource has no ID this method returns an string created and maintained locally.public com.ihr.xbrl.om.rstable.RowColZ getTestCell()
public void fireTableActionEvent(java.lang.String event,
int sourceRow,
int sourceColumn,
int z,
XBRLFact fact,
XBRLValidationReport validationReport)
event - the eventsourceRow - the row of the cell that fires the event. Use -1 to indicate no cell generated the eventsourceColumn - the column of the cell that fires the event. Use -1 to indicate no cell generated the eventz - the zfact - the fact to be used in the action valuevalidationReport - the validation reportpublic void endTableAction()
public boolean isDisabled(int row,
int col,
int z)
row - coordinate in XBRL table modelcol - coordinate in XBRL table modelz - the zpublic boolean isValueTarget(int row,
int col,
int z)
row - coordinate in XBRL table modelcol - coordinate in XBRL table modelz - the zCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa