Class InsertColumnOperation
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
-
- ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
-
- ro.sync.ecss.extensions.tei.table.InsertColumnOperation
-
- All Implemented Interfaces:
AuthorOperation
,Extension
,TEIConstants
- Direct Known Subclasses:
InsertSingleColumnOperation
@API(type=INTERNAL, src=PUBLIC) public class InsertColumnOperation extends InsertColumnOperationBase implements TEIConstants
Operation used to insert a TEI table column.
-
-
Field Summary
-
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
INSERT_MULTIPLE_COLUMNS_ARGUMENT_DESCRIPTOR, POSITION_ARGUMENT, POSITION_ARGUMENT_DESCRIPTOR
-
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
CHANGE_TRACKING_BEHAVIOR_ARGUMENT, TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelper
-
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
-
Fields inherited from interface ro.sync.ecss.extensions.tei.table.TEIConstants
ATTRIBUTE_NAME_COLS, ATTRIBUTE_NAME_ID, ATTRIBUTE_NAME_ROWS, ATTRIBUTE_NAME_XML_ID, ELEMENT_NAME_CELL, ELEMENT_NAME_ROW, ELEMENT_NAME_TABLE
-
-
Constructor Summary
Constructors Constructor Description InsertColumnOperation()
Constructor.InsertColumnOperation(AuthorTableHelper tableHelper)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getCellElementName(AuthorElement rowElement, int newColumnIndex)
Get the name of the element that will be inserted as a cell into the table.-
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
doOperationInternal, getArguments, getDefaultContentForEmptyCells, getDescription, insertColumns, insertColumns, performInsertColumn, removeMultipleInsertionDescriptor, updateColumnCellsSpan
-
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
-
-
-
-
Constructor Detail
-
InsertColumnOperation
public InsertColumnOperation()
Constructor.
-
InsertColumnOperation
public InsertColumnOperation(AuthorTableHelper tableHelper)
Constructor.- Parameters:
tableHelper
- The table helper.
-
-
Method Detail
-
getCellElementName
protected java.lang.String getCellElementName(AuthorElement rowElement, int newColumnIndex)
Description copied from class:InsertColumnOperationBase
Get the name of the element that will be inserted as a cell into the table.- Specified by:
getCellElementName
in classInsertColumnOperationBase
- Parameters:
rowElement
- The row element where the new cell will be inserted.newColumnIndex
- The new column index. 0 based.- Returns:
- The name of cell element.
- See Also:
InsertColumnOperationBase.getCellElementName(ro.sync.ecss.extensions.api.node.AuthorElement, int)
-
-