Module org.controlsfx.controls
Enum SpreadsheetView.SpanType
java.lang.Object
java.lang.Enum<SpreadsheetView.SpanType>
org.controlsfx.control.spreadsheet.SpreadsheetView.SpanType
- All Implemented Interfaces:
Serializable
,Comparable<SpreadsheetView.SpanType>
- Enclosing class:
SpreadsheetView
The SpanType describes in which state each cell can be. When a spanning
is occurring, one cell is becoming larger and the others are becoming
invisible. Thus, that particular cell is masking the others.
But the SpanType cannot be known in advance because it's evolving for each cell during the lifetime of the

Refer to
But the SpanType cannot be known in advance because it's evolving for each cell during the lifetime of the
SpreadsheetView
. Suppose you
have a cell spanning in row, the first one is in a ROW_VISIBLE state, and
all the other below are in a ROW_SPAN_INVISIBLE state. But if the user is
scrolling down, the first will go out of sight. At that moment, the
second cell is switching from ROW_SPAN_INVISIBLE state to ROW_VISIBLE
state. 
SpreadsheetView
for more information.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInvisible cell situated in diagonal of a cell in a ROW_VISIBLE state.Invisible cell because a cell in a NORMAL_CELL state on the left is covering it.Visible cell, can be a unique cell (no span) or the first one inside a column spanning cell.Invisible cell because a cell in a ROW_VISIBLE state on the top is covering it.Visible Cell but has some cells below in a ROW_SPAN_INVISIBLE state. -
Method Summary
Modifier and TypeMethodDescriptionstatic SpreadsheetView.SpanType
Returns the enum constant of this type with the specified name.static SpreadsheetView.SpanType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL_CELL
Visible cell, can be a unique cell (no span) or the first one inside a column spanning cell. -
COLUMN_SPAN_INVISIBLE
Invisible cell because a cell in a NORMAL_CELL state on the left is covering it. -
ROW_SPAN_INVISIBLE
Invisible cell because a cell in a ROW_VISIBLE state on the top is covering it. -
ROW_VISIBLE
Visible Cell but has some cells below in a ROW_SPAN_INVISIBLE state. -
BOTH_INVISIBLE
Invisible cell situated in diagonal of a cell in a ROW_VISIBLE state.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-