Segement.
Segement
| Modifier and Type | Field and Description |
|---|---|
| private final IntegerProperty | index
The index of the model item shown by the cell. |
| private final IntegerProperty | position
The position is the "offset" of the cell from the middle. |
| private static final PseudoClass | |
| private BooleanProperty |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public IntegerProperty | |
| public final boolean | |
| public IntegerProperty | |
| public final BooleanProperty | |
| public void | |
| public void | |
| public final void | |
| public void |
| index | back to summary |
|---|---|
| private final IntegerProperty index The index of the model item shown by the cell.
| |
| position | back to summary |
|---|---|
| private final IntegerProperty position The position is the "offset" of the cell from the middle. The selected cell has the index 0, the cells above it are -1, -2, -3, etc.... The cells below the selected cell have the position value 1, 2, 3, .... The position is basically the distance from the selected value / the middle. | |
| PSEUDO_CLASS_SELECTED | back to summary |
|---|---|
| private static final PseudoClass PSEUDO_CLASS_SELECTED | |
| selected | back to summary |
|---|---|
| private BooleanProperty selected | |
| SegmentCell | back to summary |
|---|---|
| public SegmentCell(Pos alignment) | |
| SegmentCell | back to summary |
|---|---|
| public SegmentCell() | |
| getIndex | back to summary |
|---|---|
| public int getIndex() | |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| indexProperty | back to summary |
|---|---|
| public IntegerProperty indexProperty() | |
| isSelected | back to summary |
|---|---|
| public final boolean isSelected() | |
| positionProperty | back to summary |
|---|---|
| public IntegerProperty positionProperty() | |
| selectedProperty | back to summary |
|---|---|
| public final BooleanProperty selectedProperty() | |
| setIndex | back to summary |
|---|---|
| public void setIndex(int index) | |
| setPosition | back to summary |
|---|---|
| public void setPosition(int position) | |
| setSelected | back to summary |
|---|---|
| public final void setSelected(boolean value) | |
| update | back to summary |
|---|---|
| public void update(T item) | |