Uses Vflow.content coordinates.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private double | |
| private final ArrayList | |
| private final double | |
| private final double | |
| private final double | |
| private final double | |
| private Node[] | |
| private final int | |
| private final Origin | |
| private Node[] | |
| private double | |
| private double | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public double | |
| private int | binarySearch(double localY, int low, int high)
finds a model index of a cell that contains the given localY. |
| public int | |
| public double | |
| public int | |
| public int | |
| private int | |
| public double | |
| public CaretInfo | Returns: the new CaretInfothe target region (vflow.content) target, TextPos the text position p)Creates a CaretInfo. |
| public TextCell | |
| public TextCell | |
| public Node | |
| public Node | |
| public TextPos | getTextPos(double cellX, double cellY)
finds text position inside the sliding window, in cell coordinates |
| public double | |
| public TextCell | |
| public int | |
| public boolean | |
| private TextCell | |
| public Origin | moveOrigin(double delta)
returns the new origin after scrolling for delta pixels within the arrangement |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public int | |
| public double | |
| public int | |
| public String |
| bottomCount | back to summary |
|---|---|
| private int bottomCount | |
| bottomHeight | back to summary |
|---|---|
| private double bottomHeight | |
| cells | back to summary |
|---|---|
| private final ArrayList<TextCell> cells | |
| contentPaddingBottom | back to summary |
|---|---|
| private final double contentPaddingBottom | |
| contentPaddingTop | back to summary |
|---|---|
| private final double contentPaddingTop | |
| flowHeight | back to summary |
|---|---|
| private final double flowHeight | |
| flowWidth | back to summary |
|---|---|
| private final double flowWidth | |
| left | back to summary |
|---|---|
| private Node[] left | |
| lineCount | back to summary |
|---|---|
| private final int lineCount | |
| origin | back to summary |
|---|---|
| private final Origin origin | |
| right | back to summary |
|---|---|
| private Node[] right | |
| topHeight | back to summary |
|---|---|
| private double topHeight | |
| unwrappedWidth | back to summary |
|---|---|
| private double unwrappedWidth | |
| visibleCount | back to summary |
|---|---|
| private int visibleCount | |
| CellArrangement | back to summary |
|---|---|
| public CellArrangement(VFlow f, double contentPaddingTop, double contentPaddingBottom) | |
| addCell | back to summary |
|---|---|
| public void addCell(TextCell cell) | |
| addLeftNode | back to summary |
|---|---|
| public void addLeftNode(int index, Node n) | |
| addRightNode | back to summary |
|---|---|
| public void addRightNode(int index, Node n) | |
| averageHeight | back to summary |
|---|---|
| public double averageHeight() | |
| binarySearch | back to summary |
|---|---|
| private int binarySearch(double localY, int low, int high) finds a model index of a cell that contains the given localY. (in vflow frame of reference). Should not be called with localY outside of this layout sliding window. | |
| bottomCount | back to summary |
|---|---|
| public int bottomCount() visible + bottom margin cells | |
| bottomHeight | back to summary |
|---|---|
| public double bottomHeight() in pixels from the first visible cell to the last cell in the arrangement | |
| bottomIndex | back to summary |
|---|---|
| public int bottomIndex() returns a model index of the last cell in the sliding window bottom margin + 1 | |
| cellCount | back to summary |
|---|---|
| public int cellCount() | |
| compare | back to summary |
|---|---|
| private int compare(TextCell cell, double localY) | |
| estimatedMax | back to summary |
|---|---|
| public double estimatedMax() | |
| getCaretInfo | back to summary |
|---|---|
| public CaretInfo getCaretInfo(Region target, TextPos p) Creates a CaretInfo. | |
| getCell | back to summary |
|---|---|
| public TextCell getCell(int modelIndex) returns the cell contained in this layout, or null | |
| getCellAt | back to summary |
|---|---|
| public TextCell getCellAt(int ix) returns a TextCell from the visible or bottom margin parts, or null | |
| getLeftNodeAt | back to summary |
|---|---|
| public Node getLeftNodeAt(int index) | |
| getRightNodeAt | back to summary |
|---|---|
| public Node getRightNodeAt(int index) | |
| getTextPos | back to summary |
|---|---|
| public TextPos getTextPos(double cellX, double cellY) finds text position inside the sliding window, in cell coordinates | |
| getUnwrappedWidth | back to summary |
|---|---|
| public double getUnwrappedWidth() returns snapped(ceil) size | |
| getVisibleCell | back to summary |
|---|---|
| public TextCell getVisibleCell(int modelIndex) returns a visible cell, or null | |
| getVisibleCellCount | back to summary |
|---|---|
| public int getVisibleCellCount() | |
| isValid | back to summary |
|---|---|
| public boolean isValid(VFlow f, double padLeft, double padTop) | |
| lastBottomCell | back to summary |
|---|---|
| private TextCell lastBottomCell() last cell at the bottom of the arrangement | |
| moveOrigin | back to summary |
|---|---|
| public Origin moveOrigin(double delta) returns the new origin after scrolling for delta pixels within the arrangement | |
| removeNodesFrom | back to summary |
|---|---|
| public void removeNodesFrom(Pane p) | |
| setBottomCount | back to summary |
|---|---|
| public void setBottomCount(int ix) | |
| setBottomHeight | back to summary |
|---|---|
| public void setBottomHeight(double h) | |
| setTopHeight | back to summary |
|---|---|
| public void setTopHeight(double h) | |
| setUnwrappedWidth | back to summary |
|---|---|
| public void setUnwrappedWidth(double w) | |
| setVisibleCellCount | back to summary |
|---|---|
| public void setVisibleCellCount(int n) | |
| topCount | back to summary |
|---|---|
| public int topCount() | |
| topHeight | back to summary |
|---|---|
| public double topHeight() | |
| topIndex | back to summary |
|---|---|
| public int topIndex() returns a model index of the first cell in the sliding window top margin | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |