Module org.controlsfx.controls
Class SpreadsheetView.ColumnWidthEvent
java.lang.Object
java.util.EventObject
javafx.event.Event
org.controlsfx.control.spreadsheet.SpreadsheetView.ColumnWidthEvent
- All Implemented Interfaces:
Serializable
,Cloneable
- Enclosing class:
SpreadsheetView
public static class SpreadsheetView.ColumnWidthEvent
extends javafx.event.Event
This event is thrown on the SpreadsheetView when the user resize a column
with its mouse.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.event.EventType
<SpreadsheetView.ColumnWidthEvent> This is the event used bySpreadsheetView.ColumnWidthEvent
.Fields inherited from class javafx.event.Event
ANY, consumed, eventType, NULL_SOURCE_TARGET, target
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
COLUMN_WIDTH_CHANGE
This is the event used bySpreadsheetView.ColumnWidthEvent
.
-
-
Constructor Details
-
ColumnWidthEvent
public ColumnWidthEvent(int column, double width)
-
-
Method Details
-
getColumn
public int getColumn()Return the column index that has been resized.- Returns:
- the column index that has been resized.
-
getWidth
public double getWidth()Return the new width for this column.- Returns:
- the new width for this column.
-