| Modifier and Type | Class and Description |
|---|---|
class |
EditTraversalStrategy
Wrapper for basic
ITraversalStrategy implementations that add target
checks. |
| Modifier and Type | Field and Description |
|---|---|
static ITraversalStrategy |
ITraversalStrategy.AXIS_CYCLE_TRAVERSAL_STRATEGY
ITraversalStrategy that specifies the following:traversal scope = axis cycle = true step count = 1 valid = true This means for example, on moving a selection to the right, the selection will move one cell at a time and jump to the first column when moving over the right border. |
static ITraversalStrategy |
ITraversalStrategy.AXIS_TRAVERSAL_STRATEGY
ITraversalStrategy that specifies the following:traversal scope = axis cycle = false step count = 1 valid = true This means for example, on moving a selection to the right, the selection will move one cell at a time and stop at the right border. |
protected ITraversalStrategy |
EditTraversalStrategy.baseStrategy
The
ITraversalStrategy that is wrapped by this
EditTraversalStrategy. |
protected ITraversalStrategy |
MoveSelectionCommandHandler.horizontalTraversalStrategy
The strategy to use on horizontal traversal.
|
static ITraversalStrategy |
ITraversalStrategy.TABLE_CYCLE_TRAVERSAL_STRATEGY
ITraversalStrategy that specifies the following:traversal scope = table cycle = true step count = 1 valid = true This means for example, on moving a selection to the right, the selection will move one cell at a time and jump to the first column and move one row down when moving over the right border. |
static ITraversalStrategy |
ITraversalStrategy.TABLE_TRAVERSAL_STRATEGY
ITraversalStrategy that specifies the following:traversal scope = table cycle = false step count = 1 valid = true This means for example, on moving a selection to the right, the selection will move one cell at a time and jump to the first column and move one row down when moving over the right border. |
protected ITraversalStrategy |
MoveSelectionCommandHandler.verticalTraversalStrategy
The strategy to use on vertical traversal.
|
| Modifier and Type | Method and Description |
|---|---|
protected ITraversalStrategy |
MoveCellSelectionCommandHandler.createIncrementalStrategy(ITraversalStrategy baseStrategy)
Creates a
ITraversalStrategy that wraps the given base strategy
but returning the step count + 1. |
protected ITraversalStrategy |
MoveSelectionCommandHandler.getTraversalStrategy(T command)
Determines the
ITraversalStrategy that should be used to move the
selection on handling the given command. |
| Modifier and Type | Method and Description |
|---|---|
protected ITraversalStrategy |
MoveCellSelectionCommandHandler.createIncrementalStrategy(ITraversalStrategy baseStrategy)
Creates a
ITraversalStrategy that wraps the given base strategy
but returning the step count + 1. |
protected abstract void |
MoveSelectionCommandHandler.moveLastSelectedDown(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask)
Moves the selection from the current position down.
|
protected void |
MoveRowSelectionCommandHandler.moveLastSelectedDown(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected void |
MoveCellSelectionCommandHandler.moveLastSelectedDown(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected abstract void |
MoveSelectionCommandHandler.moveLastSelectedLeft(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask)
Moves the selection from the current position to the left.
|
protected void |
MoveRowSelectionCommandHandler.moveLastSelectedLeft(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected void |
MoveCellSelectionCommandHandler.moveLastSelectedLeft(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected abstract void |
MoveSelectionCommandHandler.moveLastSelectedRight(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask)
Moves the selection from the current position to the right.
|
protected void |
MoveRowSelectionCommandHandler.moveLastSelectedRight(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected void |
MoveCellSelectionCommandHandler.moveLastSelectedRight(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected abstract void |
MoveSelectionCommandHandler.moveLastSelectedUp(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask)
Moves the selection from the current position up.
|
protected void |
MoveRowSelectionCommandHandler.moveLastSelectedUp(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected void |
MoveCellSelectionCommandHandler.moveLastSelectedUp(ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask) |
protected void |
MoveSelectionCommandHandler.moveSelection(SelectionLayer.MoveDirectionEnum moveDirection,
ITraversalStrategy traversalStrategy,
boolean withShiftMask,
boolean withControlMask)
Moves the selection from the current position into the given move
direction.
|
| Constructor and Description |
|---|
EditTraversalStrategy(ITraversalStrategy baseStrategy,
NatTable natTable) |
MoveCellSelectionCommandHandler(SelectionLayer selectionLayer,
ITraversalStrategy traversalStrategy)
Create a MoveCellSelectionCommandHandler for the given
SelectionLayer. |
MoveCellSelectionCommandHandler(SelectionLayer selectionLayer,
ITraversalStrategy horizontalTraversalStrategy,
ITraversalStrategy verticalTraversalStrategy)
Create a MoveCellSelectionCommandHandler for the given
SelectionLayer . |
MoveRowSelectionCommandHandler(SelectionLayer selectionLayer,
ITraversalStrategy traversalStrategy)
Create a MoveRowSelectionCommandHandler for the given
SelectionLayer. |
MoveRowSelectionCommandHandler(SelectionLayer selectionLayer,
ITraversalStrategy horizontalTraversalStrategy,
ITraversalStrategy verticalTraversalStrategy)
Create a MoveRowSelectionCommandHandler for the given
SelectionLayer . |
MoveSelectionCommandHandler(SelectionLayer selectionLayer,
ITraversalStrategy traversalStrategy)
Create a MoveSelectionCommandHandler for the given
SelectionLayer
. |
MoveSelectionCommandHandler(SelectionLayer selectionLayer,
ITraversalStrategy horizontalTraversalStrategy,
ITraversalStrategy verticalTraversalStrategy)
Create a MoveSelectionCommandHandler for the given
SelectionLayer
. |
| Constructor and Description |
|---|
MoveSelectionAction(SelectionLayer.MoveDirectionEnum direction,
ITraversalStrategy traversalStrategy)
Create a MoveSelectionAction that executes a
MoveSelectionCommand
to move the selection into the given direction by using the given
ITraversalStrategy. |
MoveSelectionAction(SelectionLayer.MoveDirectionEnum direction,
ITraversalStrategy traversalStrategy,
boolean shiftMask,
boolean ctrlMask)
Create a MoveSelectionAction that executes a
MoveSelectionCommand
to move the selection into the given direction by using the given
ITraversalStrategy. |
| Modifier and Type | Method and Description |
|---|---|
ITraversalStrategy |
MoveSelectionCommand.getTraversalStrategy() |
| Constructor and Description |
|---|
MoveSelectionCommand(SelectionLayer.MoveDirectionEnum direction,
ITraversalStrategy traversalStrategy,
boolean shiftMask,
boolean controlMask) |
Copyright © 2016. All rights reserved.