SpreadsheetView.
See SpreadsheetCellBase for a complete and detailed documentation.
SpreadsheetCellBase
| Modifier and Type | Class and Description |
|---|---|
| public static enum | SpreadsheetCell.
This enum states the four different corner available for positioning some elements in a cell. |
| Modifier and Type | Field and Description |
|---|---|
| public static final EventType | CORNER_EVENT_TYPE
This EventType can be used with an |
| public static final EventType | EDITABLE_EVENT_TYPE
This EventType can be used with an |
| public static final EventType | WRAP_EVENT_TYPE
This EventType can be used with an |
| Modifier and Type | Method and Description |
|---|---|
| public void | activateCorner(SpreadsheetCell.
the position where the triangle should be displayed positionActivates the given |
| public <E extends Event> void | addEventHandler(EventType<E>
the type of the events to receive by the handler eventType, EventHandler<? super E> the handler to register eventHandler)Registers an event handler to this SpreadsheetCell. |
| public void | deactivateCorner(SpreadsheetCell.
the position where the triangle should be removed if
displayed positionThis deactivates the given |
| public StringProperty | Returns: theStringProperty linked with the format stateReturns the |
| public SpreadsheetCellType | Returns: theSpreadsheetCellType of this cell.Returns the |
| public int | |
| public int | Returns: how much this cell is spanning in column, 1 is normal.Returns how much this cell is spanning in column, 1 means the cell is not spanning. |
| public String | Returns: the format of this cell or an empty string if no format has been specifiedReturns the format of this cell or an empty string if no format has been specified. |
| public Node | Returns: the graphic node associated with this cellReturns the graphic node associated with this cell. |
| public Object | |
| public List | Returns: aList of options for the SpreadsheetCellEditorIf some options cannot be factorized in a |
| public List | Returns: theMenuItem to show in the PopupIf |
| public int | |
| public int | Returns: how much this cell is spanning in row, 1 is normalReturns how much this cell is spanning in row, 1 means the cell is not spanning. |
| public String | Returns: The inline CSS style associated with this Node. If this Node does not have an inline style, an empty String is returned.A string representation of the CSS style associated with this specific Node. |
| public ObservableSet | Returns: anObservableList of String of all the style
class of this cellReturns an |
| public String | Returns: the text representation of the valueReturns the String representation currently used for display in the
|
| public Optional | Returns: the tooltip associated with thisSpreadsheetCellReturns the tooltip for this cell. |
| public ObjectProperty | Returns: an ObjectProperty wrapping a Node for the graphicReturns the |
| public boolean | Returns: true if this cell needs to display a popupReturns true if this cell needs to display a popup when clicked in order
to show some |
| public boolean | Returns: true if this cell item needs to be given to a particular
NodeReturns |
| public boolean | Returns: true if a triangle is displayed in the cell for the given
CornerPositionReturns |
| public boolean | |
| public boolean | Returns: true if the text should wrap onto another line if it
exceeds the width of the LabeledIf a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line. |
| public ObjectProperty | Returns: the item property which contains the value.The item property represents the currently-set value inside this
|
| public boolean | |
| public <E extends Event> void | removeEventHandler(EventType<E>
the event type from which to unregister eventType, EventHandler<? super E> the handler to unregister eventHandler)Unregisters a previously registered event handler from this SpreadsheetCell. |
| public void | setCellGraphic(boolean
if isCellGraphic)true, a Node will be used to display
something particular for the cellIf |
| public void | setColumnSpan(int
the columnSpan for this cell columnSpan)Sets how much this cell is spanning in column. |
| public void | setEditable(boolean
true if this cell should be editableChange the editable state of this cell |
| public void | |
| public void | |
| public void | setHasPopup(boolean
true to display a Popup when clickedSets to |
| public void | |
| public void | |
| public void | |
| public void | setWrapText(boolean
true if the text should wrap onto another line if
it exceeds the width of the LabeledIf a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line. |
| public StringProperty | Returns: a string representation of the CSS styleA string representation of the CSS style associated with this specific Node. |
| public ReadOnlyStringProperty | Returns: the StringProperty of the representation of the valueReturns the StringProperty of the representation of the value. |
| CORNER_EVENT_TYPE | back to summary |
|---|---|
| public static final EventType<Event> CORNER_EVENT_TYPE This EventType can be used with an | |
| EDITABLE_EVENT_TYPE | back to summary |
|---|---|
| public static final EventType<Event> EDITABLE_EVENT_TYPE This EventType can be used with an | |
| WRAP_EVENT_TYPE | back to summary |
|---|---|
| public static final EventType<Event> WRAP_EVENT_TYPE This EventType can be used with an | |
| activateCorner | back to summary |
|---|---|
| public void activateCorner(SpreadsheetCell. Activates the given
| |
| addEventHandler | back to summary |
|---|---|
| public <E extends Event> void addEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler) Registers an event handler to this SpreadsheetCell.
| |
| deactivateCorner | back to summary |
|---|---|
| public void deactivateCorner(SpreadsheetCell. This deactivates the given
| |
| formatProperty | back to summary |
|---|---|
| public StringProperty formatProperty() Returns the
| |
| getCellType | back to summary |
|---|---|
| public SpreadsheetCellType Returns the
| |
| getColumn | back to summary |
|---|---|
| public int getColumn() Returns the column index of this cell.
| |
| getColumnSpan | back to summary |
|---|---|
| public int getColumnSpan() Returns how much this cell is spanning in column, 1 means the cell is not spanning.
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Returns the format of this cell or an empty string if no format has been specified.
| |
| getGraphic | back to summary |
|---|---|
| public Node getGraphic() Returns the graphic node associated with this cell. Returns null if nothing has been associated.
| |
| getItem | back to summary |
|---|---|
| public Object getItem() Returns the value contained in this cell.
| |
| getOptionsForEditor | back to summary |
|---|---|
| public List If some options cannot be factorized in a | |
| getPopupItems | back to summary |
|---|---|
| public List If | |
| getRow | back to summary |
|---|---|
| public int getRow() Returns the row index of this cell.
| |
| getRowSpan | back to summary |
|---|---|
| public int getRowSpan() Returns how much this cell is spanning in row, 1 means the cell is not spanning.
| |
| getStyle | back to summary |
|---|---|
| public String getStyle() A string representation of the CSS style associated with this specific Node. This is analogous to the "style" attribute of an HTML element. Note that, like the HTML style attribute, this variable contains style properties and values and not the selector portion of a style rule.
| |
| getStyleClass | back to summary |
|---|---|
| public ObservableSet Returns an
| |
| getText | back to summary |
|---|---|
| public String getText() Returns the String representation currently used for display in the
| |
| getTooltip | back to summary |
|---|---|
| public Optional Returns the tooltip for this cell. | |
| graphicProperty | back to summary |
|---|---|
| public ObjectProperty Returns the
| |
| hasPopup | back to summary |
|---|---|
| public boolean hasPopup() Returns true if this cell needs to display a popup when clicked in order
to show some
| |
| isCellGraphic | back to summary |
|---|---|
| public boolean isCellGraphic() Returns
| |
| isCornerActivated | back to summary |
|---|---|
| public boolean isCornerActivated(SpreadsheetCell. Returns
| |
| isEditable | back to summary |
|---|---|
| public boolean isEditable() Returns
| |
| isWrapText | back to summary |
|---|---|
| public boolean isWrapText() If a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line.
| |
| itemProperty | back to summary |
|---|---|
| public ObjectProperty The item property represents the currently-set value inside this
| |
| match | back to summary |
|---|---|
| public boolean match(Object value) Verifies that the upcoming cell value can be set to the current cell. This is currently used by the Copy/Paste.
| |
| removeEventHandler | back to summary |
|---|---|
| public <E extends Event> void removeEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler) Unregisters a previously registered event handler from this SpreadsheetCell.
| |
| setCellGraphic | back to summary |
|---|---|
| public void setCellGraphic(boolean isCellGraphic) If
| |
| setColumnSpan | back to summary |
|---|---|
| public void setColumnSpan(int columnSpan) Sets how much this cell is spanning in column. See
| |
| setEditable | back to summary |
|---|---|
| public void setEditable(boolean editable) Change the editable state of this cell
| |
| setFormat | back to summary |
|---|---|
| public void setFormat(String format) Sets a new format for this cell. This format will be used by
| |
| setGraphic | back to summary |
|---|---|
| public void setGraphic(Node graphic) Sets a graphic for this cell. It is displayed aside with the text if any is specified. Otherwise it's fully displayed in the cell.
| |
| setHasPopup | back to summary |
|---|---|
| public void setHasPopup(boolean value) Sets to
| |
| setItem | back to summary |
|---|---|
| public void setItem(Object value) Sets the value of the property Item. This should be used only at
initialization. Prefer | |
| setRowSpan | back to summary |
|---|---|
| public void setRowSpan(int rowSpan) Sets how much this cell is spanning in row. See
| |
| setStyle | back to summary |
|---|---|
| public void setStyle(String style) A string representation of the CSS style associated with this specific Node. This is analogous to the "style" attribute of an HTML element. Note that, like the HTML style attribute, this variable contains style properties and values and not the selector portion of a style rule.
| |
| setWrapText | back to summary |
|---|---|
| public void setWrapText(boolean wrapText) If a run of text exceeds the width of the Labeled, then this variable indicates whether the text should wrap onto another line.
| |
| styleProperty | back to summary |
|---|---|
| public StringProperty styleProperty() A string representation of the CSS style associated with this specific Node. This is analogous to the "style" attribute of an HTML element. Note that, like the HTML style attribute, this variable contains style properties and values and not the selector portion of a style rule.
| |
| textProperty | back to summary |
|---|---|
| public ReadOnlyStringProperty textProperty() Returns the StringProperty of the representation of the value.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final SpreadsheetCell. | |
| public static final SpreadsheetCell. | |
| public static final SpreadsheetCell. | |
| public static final SpreadsheetCell. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpreadsheetCell. | |
| public static SpreadsheetCell. |
| BOTTOM_LEFT | back to summary |
|---|---|
| public static final SpreadsheetCell. | |
| BOTTOM_RIGHT | back to summary |
|---|---|
| public static final SpreadsheetCell. | |
| TOP_LEFT | back to summary |
|---|---|
| public static final SpreadsheetCell. | |
| TOP_RIGHT | back to summary |
|---|---|
| public static final SpreadsheetCell. | |
| CornerPosition | back to summary |
|---|---|
| private CornerPosition() | |
| valueOf | back to summary |
|---|---|
| public static SpreadsheetCell. | |
| values | back to summary |
|---|---|
| public static SpreadsheetCell. | |