|
Oxygen XML Editor 14.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectro.sync.ecss.extensions.api.table.operations.AuthorTableOperationsHandler
ro.sync.ecss.extensions.xhtml.XHTMLAuthorTableOperationsHandler
public class XHTMLAuthorTableOperationsHandler
Author table operations handler for XHTML framework.
| Constructor Summary | |
|---|---|
XHTMLAuthorTableOperationsHandler()
|
|
| Method Summary | |
|---|---|
AuthorElement |
getTableElementContainingOffset(AuthorAccess access,
int offset)
Returns the element representing the table that contains the given offset. |
boolean |
handleDeleteColumn(AuthorTableDeleteColumnArguments arguments)
Handles delete column operation. |
boolean |
handleDeleteRow(AuthorTableDeleteRowArguments arguments)
Handles delete row operation. |
boolean |
handleInsertColumn(AuthorTableInsertColumnArguments tablePasteColumnArgs)
Handles insert column operation. |
| Methods inherited from class ro.sync.ecss.extensions.api.table.operations.AuthorTableOperationsHandler |
|---|
getColumnSpecification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XHTMLAuthorTableOperationsHandler()
| Method Detail |
|---|
public boolean handleInsertColumn(AuthorTableInsertColumnArguments tablePasteColumnArgs)
throws AuthorOperationException
AuthorTableOperationsHandlerSelectionInterpretationMode.TABLE_COLUMN interpretation mode was imposed.
SelectionInterpretationMode.TABLE_COLUMN interpretation mode is
already set by default by the application when a table column is selected.
It can be also imposed from the AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method, for any selection content.
SelectionInterpretationMode.TABLE_COLUMN,
when pasting the fragments this method is called. The fragments array are included in the
argument object.
handleInsertColumn in class AuthorTableOperationsHandlertablePasteColumnArgs - The arguments for insert column operation like:
the offset where the column is inserted, the array containing the cells fragments
that compose an Author table column, information about column width specification,
the Author access.
true if the insert column operation succeeds.
AuthorOperationException - An insert column operation exception.
If the AuthorOperationException.isOperationRejectedOnPurpose() method
of this exception returns true, the exception is presented to the user.AuthorTableOperationsHandler.handleInsertColumn(ro.sync.ecss.extensions.api.table.operations.AuthorTableInsertColumnArguments)
public boolean handleDeleteColumn(AuthorTableDeleteColumnArguments arguments)
throws AuthorOperationException
AuthorTableOperationsHandlerSelectionInterpretationMode.TABLE_COLUMN interpretation mode was imposed.
SelectionInterpretationMode.TABLE_COLUMN interpretation mode is
already set by default by the application when a table column is selected.
It can be also imposed from the AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method, for any selection content.
SelectionInterpretationMode.TABLE_COLUMN,
when deleting the fragments this method is called. The fragments array are included in the
argument object.
handleDeleteColumn in class AuthorTableOperationsHandlerarguments - The arguments for delete column operation (like the Author access
and the column cells start and end offsets).
true if the delete column operation succeeds.
AuthorOperationException - A delete column operation exception.
If the AuthorOperationException.isOperationRejectedOnPurpose() method
of this exception returns true, the exception is presented to the user.AuthorTableOperationsHandler.handleDeleteColumn(AuthorTableDeleteColumnArguments)
public boolean handleDeleteRow(AuthorTableDeleteRowArguments arguments)
throws AuthorOperationException
AuthorTableOperationsHandlerSelectionInterpretationMode.TABLE_ROW interpretation mode was imposed.
SelectionInterpretationMode.TABLE_ROW interpretation mode is
already set by default by the application when a table row is selected.
It can be also imposed from the AuthorSelectionModel.setSelectionInterpretationMode(SelectionInterpretationMode)
method, for any selection content.
SelectionInterpretationMode.TABLE_ROW,
when deleting the fragments this method is called. The fragments array are included in the
argument object.
handleDeleteRow in class AuthorTableOperationsHandlerarguments - The arguments for delete row operation (like the Author access and
the content interval of the row element that must be deleted).
true if the delete row operation succeeds.
AuthorOperationException - A delete row operation exception.
If the AuthorOperationException.isOperationRejectedOnPurpose() method
of this exception returns true, the exception is presented to the user.AuthorTableOperationsHandler.handleDeleteRow(ro.sync.ecss.extensions.api.table.operations.AuthorTableDeleteRowArguments)
public AuthorElement getTableElementContainingOffset(AuthorAccess access,
int offset)
AuthorTableOperationsHandler
getTableElementContainingOffset in class AuthorTableOperationsHandleraccess - Access to Author operations.offset - The offset to search the parent table element for.
AuthorTableOperationsHandler.getTableElementContainingOffset(ro.sync.ecss.extensions.api.AuthorAccess, int)
|
Oxygen XML Editor 14.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||