Top Description Fields Constructors Methods
org.fxmisc.flowless

pack-priv final Class EndOffEnd

Located in compilation unit of org.fxmisc.flowless.TargetPosition.

extends Object
implements TargetPosition
Class Inheritance
All Implemented Interfaces
org.fxmisc.flowless.TargetPosition

A 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.

Field Summary

Modifier and TypeField and Description
pack-priv final int
pack-priv final double

Constructor Summary

AccessConstructor and Description
pack-priv
EndOffEnd(int itemIndex, double offsetFromEnd)

Method Summary

Modifier and TypeMethod and Description
public void
accept(TargetPositionVisitor visitor)

Implements org.fxmisc.flowless.TargetPosition.accept.

Visitor Pattern: prevents type-checking the implementation

public TargetPosition
clamp(int size)

Implements org.fxmisc.flowless.TargetPosition.clamp.

Insures this position's item index is between 0 and size

public TargetPosition
public TargetPosition
transformByChange(int pos, int removedSize, int addedSize)

Implements org.fxmisc.flowless.TargetPosition.transformByChange.

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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

itemIndexback to summary
pack-priv final int itemIndex
offsetFromEndback to summary
pack-priv final double offsetFromEnd

Constructor Detail

EndOffEndback to summary
pack-priv EndOffEnd(int itemIndex, double offsetFromEnd)

Method Detail

acceptback to summary
public void accept(TargetPositionVisitor visitor)

Implements org.fxmisc.flowless.TargetPosition.accept.

Doc from org.fxmisc.flowless.TargetPosition.accept.

Visitor Pattern: prevents type-checking the implementation

Annotations
@Override
clampback to summary
public TargetPosition clamp(int size)

Implements org.fxmisc.flowless.TargetPosition.clamp.

Doc from org.fxmisc.flowless.TargetPosition.clamp.

Insures this position's item index is between 0 and size

Annotations
@Override
scrollByback to summary
public TargetPosition scrollBy(double delta)

Implements org.fxmisc.flowless.TargetPosition.scrollBy.

Annotations
@Override
transformByChangeback to summary
public TargetPosition transformByChange(int pos, int removedSize, int addedSize)

Implements org.fxmisc.flowless.TargetPosition.transformByChange.

Doc from org.fxmisc.flowless.TargetPosition.transformByChange.

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.

Annotations
@Override