| Modifier and Type | Field and Description |
|---|---|
| private ContextMenu | |
| private Rectangle | |
| private static final int | |
| private static double | |
| private int | |
| private final List | |
| private final SpreadsheetHandle | handle
************************************************************************ Private Fields * * *********************************************************************** |
| private double | |
| private final DoubleProperty | innerVerticalHeaderWidth
This represents the VerticalHeader width. |
| private int | |
| private final List | |
| private double | |
| private final InvalidationListener | layout
************************************************************************ Listeners * * *********************************************************************** |
| private static final String | |
| public static final int | |
| private final EventHandler | |
| private final Stack | |
| private final Stack | |
| private static final Image | |
| private final EventHandler | |
| private final EventHandler | |
| private final EventHandler | |
| private boolean | |
| private final BitSet | selectedRows
This BitSet keeps track of the selected rows (when clicked on their header) in order to allow multi-resize. |
| private GridViewSkin | |
| private final SpreadsheetView | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | VerticalHeader(final SpreadsheetHandle
*************************************************************** handle)**************************************************************** CONSTRUCTOR |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| pack-priv void | |
| public double | |
| private Rectangle | |
| private Label | |
| private Label | |
| private ContextMenu | |
| private String | |
| public double | |
| private void | |
| pack-priv void | |
| public static boolean | isFixedRowEmpty(SpreadsheetView spreadsheetView)
Return true if there are no fixed rows when taking hidden rows in consideration. |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| private void | |
| public ReadOnlyDoubleProperty |
| blankContextMenu | back to summary |
|---|---|
| private ContextMenu blankContextMenu | |
| clip | back to summary |
|---|---|
| private Rectangle clip | |
| DRAG_RECT_HEIGHT | back to summary |
|---|---|
| private static final int DRAG_RECT_HEIGHT | |
| dragAnchorY | back to summary |
|---|---|
| private static double dragAnchorY | |
| dragRectCount | back to summary |
|---|---|
| private int dragRectCount | |
| dragRects | back to summary |
|---|---|
| private final List<Rectangle> dragRects | |
| handle | back to summary |
|---|---|
| private final SpreadsheetHandle handle ************************************************************************ Private Fields * * *********************************************************************** | |
| horizontalHeaderHeight | back to summary |
|---|---|
| private double horizontalHeaderHeight | |
| innerVerticalHeaderWidth | back to summary |
|---|---|
| private final DoubleProperty innerVerticalHeaderWidth This represents the VerticalHeader width. It's the total amount of space
used by the VerticalHeader. It's composed of the sum of the
SpreadsheetView | |
| labelCount | back to summary |
|---|---|
| private int labelCount | |
| labelList | back to summary |
|---|---|
| private final List<Label> labelList | |
| lastY | back to summary |
|---|---|
| private double lastY | |
| layout | back to summary |
|---|---|
| private final InvalidationListener layout ************************************************************************ Listeners * * *********************************************************************** | |
| PICKER_INDEX | back to summary |
|---|---|
| private static final String PICKER_INDEX | |
| PICKER_SIZE | back to summary |
|---|---|
| public static final int PICKER_SIZE | |
| pickerMouseEvent | back to summary |
|---|---|
| private final EventHandler<MouseEvent> pickerMouseEvent | |
| pickerPile | back to summary |
|---|---|
| private final Stack<Label> pickerPile | |
| pickerUsed | back to summary |
|---|---|
| private final Stack<Label> pickerUsed | |
| pinImage | back to summary |
|---|---|
| private static final Image pinImage | |
| rectMouseDragged | back to summary |
|---|---|
| private final EventHandler<MouseEvent> rectMouseDragged | |
| rectMousePressed | back to summary |
|---|---|
| private final EventHandler<MouseEvent> rectMousePressed | |
| rectMouseReleased | back to summary |
|---|---|
| private final EventHandler<MouseEvent> rectMouseReleased | |
| resizing | back to summary |
|---|---|
| private boolean resizing | |
| selectedRows | back to summary |
|---|---|
| private final BitSet selectedRows This BitSet keeps track of the selected rows (when clicked on their header) in order to allow multi-resize. | |
| skin | back to summary |
|---|---|
| private GridViewSkin skin | |
| spreadsheetView | back to summary |
|---|---|
| private final SpreadsheetView spreadsheetView | |
| TABLE_LABEL_KEY | back to summary |
|---|---|
| private static final String TABLE_LABEL_KEY | |
| TABLE_ROW_KEY | back to summary |
|---|---|
| private static final String TABLE_ROW_KEY | |
| VerticalHeader | back to summary |
|---|---|
| public VerticalHeader(final SpreadsheetHandle handle) **************************************************************** CONSTRUCTOR
| |
| addFixedRows | back to summary |
|---|---|
| private void addFixedRows(double x, int cellSize) | |
| addVisibleRows | back to summary |
|---|---|
| private void addVisibleRows(double x, int cellSize) | |
| clearSelectedRows | back to summary |
|---|---|
| pack-priv void clearSelectedRows() | |
| computeHeaderWidth | back to summary |
|---|---|
| public double computeHeaderWidth() | |
| getDragRect | back to summary |
|---|---|
| private Rectangle getDragRect() Create a new Rectangle and put it in the pile or just grab one from the pile. | |
| getLabel | back to summary |
|---|---|
| private Label getLabel(Integer row) Create a new label and put it in the pile or just grab one from the pile. | |
| getPicker | back to summary |
|---|---|
| private Label getPicker(Picker picker) | |
| getRowContextMenu | back to summary |
|---|---|
| private ContextMenu getRowContextMenu(final Integer row) Return a contextMenu for fixing a row if possible. | |
| getRowHeader | back to summary |
|---|---|
| private String getRowHeader(int index) Return the String header associated with this row index. | |
| getVerticalHeaderWidth | back to summary |
|---|---|
| public double getVerticalHeaderWidth() | |
| headerClicked | back to summary |
|---|---|
| private void headerClicked(int row, MouseEvent event) If a header is clicked, we must select the whole row. If Control key of
Shift key is pressed, we must not deselect the previous selection but
just act like the | |
| init | back to summary |
|---|---|
| pack-priv void init(final GridViewSkin skin, HorizontalHeader horizontalHeader) Init | |
| isFixedRowEmpty | back to summary |
|---|---|
| public static boolean isFixedRowEmpty(SpreadsheetView spreadsheetView) Return true if there are no fixed rows when taking hidden rows in consideration. | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| rowResizing | back to summary |
|---|---|
| private void rowResizing(GridRow gridRow, Label label, MouseEvent me) | |
| verticalHeaderWidthProperty | back to summary |
|---|---|
| public ReadOnlyDoubleProperty verticalHeaderWidthProperty() | |