|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.internal.text.table.TextTableCellReferencesService
public class TextTableCellReferencesService
Text table cell references service implementation.
Field Summary | |
---|---|
protected TextTableFormulaExpression |
textTableFormulaExpression
|
protected TextTableFormulaModel |
textTableFormulaModel
|
Constructor Summary | |
---|---|
TextTableCellReferencesService(TextTableFormulaExpression textTableFormulaExpression)
Constructs new TextTableCellReferencesService. |
Method Summary | |
---|---|
void |
applyModifications()
Applies cell reference modifications to the text table cell formula. |
void |
extendColumnAndRowReferences(java.lang.String cellName,
int columnCount,
int rowCount)
Extends column and row references which have a reference to the submitted name of a text table cell. |
void |
extendColumnReferences(int columnIndex,
int columnCount)
Extends column references which have a reference to the submitted column index of a text table cell. |
void |
extendColumnReferences(int columnIndex,
int columnCount,
int[] exceptRows)
Extends column references which have a reference to the submitted column index of a text table cell except references with the given row indices. |
void |
extendColumnReferences(java.lang.String cellName,
int columnCount)
Extends column references which have a reference to the column index of the submitted name of a text table cell. |
void |
extendRowReferences(int rowIndex,
int rowCount)
Extends row references which have a reference to the submitted row index of a text table cell. |
void |
extendRowReferences(int rowIndex,
int[] rowIndicesTo)
Extends row references which have a reference to the submitted row index of a text table cell. |
void |
extendRowReferences(int rowIndex,
int rowCount,
int[] exceptCols)
Extends row references which have a reference to the submitted row index of a text table cell except references with the given column indices. |
void |
extendRowReferences(java.lang.String cellName,
int rowCount)
Extends row references which have a reference to the row index of the submitted name of a text table cell. |
void |
extendRowReferencesTo(int rowIndex,
int rowIndexTo)
Extends row references which have a reference to the submitted row index of a text table cell. |
boolean |
hasCellReferenceTo(java.lang.String cellName)
Returns informations whether this formula has a reference to a text table cell with the submitted name. |
boolean |
hasColumnReferenceAfter(int columnIndex)
Returns information whether this formula has a reference to a column after the submitted column index. |
boolean |
hasColumnReferenceTo(int columnIndex)
Returns information whether this formula has a reference to a column with the submitted index. |
boolean |
hasRowReferenceAfter(int rowIndex)
Returns information whether this formula has a reference to a row after the submitted row index. |
boolean |
hasRowReferenceTo(int rowIndex)
Returns information whether this formula has a reference to the submitted row index. |
void |
modifyCellReferences(int newColumnsStartIndex,
int newColumnsCount,
int newRowsStartIndex,
int newRowsCount)
Modifies all cell references on the basis of the submitted table expansion informations. |
void |
moveColumnReferences(int columnCount)
Moves column references. |
void |
moveColumnReferences(int columnIndex,
int columnCount)
Moves column references which have a reference to the column with the submitted index. |
void |
moveColumnReferences(int columnIndex,
int columnCount,
int[] exceptRows)
Moves column references which have a reference to the column with the submitted index except references with the given row indices. |
void |
moveColumnReferences(java.lang.String cellName,
int columnCount)
Moves column references which have a reference to the column of the submitted name of a text table cell. |
void |
moveColumnReferencesAfter(int columnIndex,
int columnCount)
Moves column references which have a reference to a column after the submitted index. |
void |
moveRowReferences(int rowCount)
Moves row references. |
void |
moveRowReferences(int rowIndex,
int rowCount)
Moves row references which have a reference to the submitted row index. |
void |
moveRowReferences(int rowIndex,
int rowCount,
int[] exceptCols)
Moves row references which have a reference to the submitted row index except references with the given column indices. |
void |
moveRowReferences(java.lang.String cellName,
int rowCount)
Moves row references which have a reference to the row index of the submitted name of a text table cell. |
void |
moveRowReferencesAfter(int rowIndex,
int rowCount)
Moves row references which have a reference to a row after the submitted index. |
void |
revertModelToOriginal()
Reverts the model to the state before replacing cell references with method extendRowReferences(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TextTableFormulaExpression textTableFormulaExpression
protected TextTableFormulaModel textTableFormulaModel
Constructor Detail |
---|
public TextTableCellReferencesService(TextTableFormulaExpression textTableFormulaExpression) throws java.lang.IllegalArgumentException
textTableFormulaExpression
- text table formua expression to be used
java.lang.IllegalArgumentException
- if the submitted text table formula expression is not validMethod Detail |
---|
public boolean hasCellReferenceTo(java.lang.String cellName)
hasCellReferenceTo
in interface ITextTableCellReferencesService
cellName
- name of a text table cell
public boolean hasColumnReferenceTo(int columnIndex)
hasColumnReferenceTo
in interface ITextTableCellReferencesService
columnIndex
- index of a column
public boolean hasColumnReferenceAfter(int columnIndex)
hasColumnReferenceAfter
in interface ITextTableCellReferencesService
columnIndex
- column index to be used
public boolean hasRowReferenceTo(int rowIndex)
hasRowReferenceTo
in interface ITextTableCellReferencesService
rowIndex
- index of row
public boolean hasRowReferenceAfter(int rowIndex)
hasRowReferenceAfter
in interface ITextTableCellReferencesService
rowIndex
- row index to be used
public void moveColumnReferences(int columnCount) throws TextException
moveColumnReferences
in interface ITextTableCellReferencesService
columnCount
- column index difference to be moved
TextException
- if the text table cell references can not be movedpublic void moveColumnReferences(java.lang.String cellName, int columnCount) throws TextException
moveColumnReferences
in interface ITextTableCellReferencesService
cellName
- name of a text table cellcolumnCount
- column index difference to be moved
TextException
- if the text table cell references can not be movedpublic void moveColumnReferences(int columnIndex, int columnCount) throws TextException
moveColumnReferences
in interface ITextTableCellReferencesService
columnIndex
- index of a columncolumnCount
- column index difference to be moved
TextException
- if the text table cell references can not be movedpublic void moveColumnReferences(int columnIndex, int columnCount, int[] exceptRows) throws TextException
moveColumnReferences
in interface ITextTableCellReferencesService
columnIndex
- index of a columncolumnCount
- column index difference to be movedexceptRows
- references to rows that are ignored
TextException
- if the text table cell references can not be movedpublic void moveRowReferences(int rowCount) throws TextException
moveRowReferences
in interface ITextTableCellReferencesService
rowCount
- row index difference to be moved
TextException
- if the text table cell references can not be movedpublic void moveRowReferences(java.lang.String cellName, int rowCount) throws TextException
moveRowReferences
in interface ITextTableCellReferencesService
cellName
- name of a text table cellrowCount
- row index difference to be moved
TextException
- if the text table cell references can not be movedpublic void moveRowReferences(int rowIndex, int rowCount) throws TextException
moveRowReferences
in interface ITextTableCellReferencesService
rowIndex
- row index to be usedrowCount
- row index difference to be moved
TextException
- if the text table cell references can not be movedpublic void moveRowReferences(int rowIndex, int rowCount, int[] exceptCols) throws TextException
moveRowReferences
in interface ITextTableCellReferencesService
rowIndex
- row index to be usedrowCount
- row index difference to be movedexceptCols
- references to columns that are ignored
TextException
- if the text table cell references can not be movedpublic void moveColumnReferencesAfter(int columnIndex, int columnCount) throws TextException
moveColumnReferencesAfter
in interface ITextTableCellReferencesService
columnIndex
- column index to be usedcolumnCount
- column index difference to be moved
TextException
- if the text table cell references can not be movedpublic void moveRowReferencesAfter(int rowIndex, int rowCount) throws TextException
moveRowReferencesAfter
in interface ITextTableCellReferencesService
rowIndex
- row index to be usedrowCount
- row index difference to be moved
TextException
- if the text table cell references can not be movedpublic void extendColumnReferences(java.lang.String cellName, int columnCount) throws TextException
extendColumnReferences
in interface ITextTableCellReferencesService
cellName
- name of a text table cellcolumnCount
- column index difference to be used
TextException
- if the text table cell references can not be extendedpublic void extendColumnReferences(int columnIndex, int columnCount) throws TextException
extendColumnReferences
in interface ITextTableCellReferencesService
columnIndex
- column index of a text table cellcolumnCount
- column index difference to be used
TextException
- if the text table cell references can not be extendedpublic void extendColumnReferences(int columnIndex, int columnCount, int[] exceptRows) throws TextException
extendColumnReferences
in interface ITextTableCellReferencesService
columnIndex
- column index of a text table cellcolumnCount
- column index difference to be usedexceptRows
- references to rows that are ignored
TextException
- if the text table cell references can not be extendedpublic void extendRowReferences(java.lang.String cellName, int rowCount) throws TextException
extendRowReferences
in interface ITextTableCellReferencesService
cellName
- name of a text table cellrowCount
- row index difference to be used
TextException
- if the text table cell references can not be extendedpublic void extendRowReferences(int rowIndex, int rowCount) throws TextException
extendRowReferences
in interface ITextTableCellReferencesService
rowIndex
- row index of a text table cellrowCount
- row index difference to be used
TextException
- if the text table cell references can not be extendedpublic void extendRowReferences(int rowIndex, int rowCount, int[] exceptCols) throws TextException
extendRowReferences
in interface ITextTableCellReferencesService
rowIndex
- row index of a text table cellrowCount
- row index difference to be usedexceptCols
- references to columns that are ignored
TextException
- if the text table cell references can not be extendedpublic void extendRowReferencesTo(int rowIndex, int rowIndexTo) throws TextException
extendRowReferencesTo
in interface ITextTableCellReferencesService
rowIndex
- row index of a text table cellrowIndexTo
- the index of the row where the extension has to end
TextException
- if the text table cell references can not be extendedpublic void extendRowReferences(int rowIndex, int[] rowIndicesTo) throws TextException
extendRowReferences
in interface ITextTableCellReferencesService
rowIndex
- row index of a text table cellrowIndicesTo
- the indices of the rows that the extension has to contain
TextException
- if the text table cell references can not be extendedpublic void revertModelToOriginal()
revertModelToOriginal
in interface ITextTableCellReferencesService
public void extendColumnAndRowReferences(java.lang.String cellName, int columnCount, int rowCount) throws TextException
extendColumnAndRowReferences
in interface ITextTableCellReferencesService
cellName
- name of a text table cellcolumnCount
- column index difference to be usedrowCount
- row index difference to be used
TextException
- if the text table cell references can not be extendedpublic void modifyCellReferences(int newColumnsStartIndex, int newColumnsCount, int newRowsStartIndex, int newRowsCount) throws TextException
modifyCellReferences
in interface ITextTableCellReferencesService
newColumnsStartIndex
- start index of the new columnsnewColumnsCount
- number of new columnsnewRowsStartIndex
- start index of the new rowsnewRowsCount
- number of new rows
TextException
- if the text table cell references can not be modifiedpublic void applyModifications() throws TextException
applyModifications
in interface ITextTableCellReferencesService
TextException
- if any error occurs.
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |