Located in compilation unit of org.
TargetPosition that instructs its TargetPositionVisitor to use the cell at itemIndex
as the anchor cell, showing it at the "bottom" of the viewport and to offset it by offsetFromEnd.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final double |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(TargetPositionVisitor visitor)
Implements org. Visitor Pattern: prevents type-checking the implementation |
| public TargetPosition | clamp(int size)
Implements org. Insures this position's item index is between 0 and |
| public TargetPosition | |
| public TargetPosition | transformByChange(int pos, int removedSize, int addedSize)
Implements org. When the list of items, those displayed in the viewport, and those that are not, are modified, transforms this change to account for those modifications. |
| itemIndex | back to summary |
|---|---|
| pack-priv final int itemIndex | |
| offsetFromEnd | back to summary |
|---|---|
| pack-priv final double offsetFromEnd | |
| EndOffEnd | back to summary |
|---|---|
| pack-priv EndOffEnd(int itemIndex, double offsetFromEnd) | |
| accept | back to summary |
|---|---|
| public void accept(TargetPositionVisitor visitor) Implements org. Doc from org. Visitor Pattern: prevents type-checking the implementation
| |
| clamp | back to summary |
|---|---|
| public TargetPosition clamp(int size) Implements org. Doc from org. Insures this position's item index is between 0 and
| |
| scrollBy | back to summary |
|---|---|
| public TargetPosition scrollBy(double delta) Implements org.
| |
| transformByChange | back to summary |
|---|---|
| public TargetPosition transformByChange(int pos, int removedSize, int addedSize) Implements org. Doc from org. When the list of items, those displayed in the viewport, and those that are not, are modified, transforms this change to account for those modifications.
| |