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 Event
This event is thrown on the SpreadsheetView when the user resize a column with its mouse.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EventType<SpreadsheetView.ColumnWidthEvent>
COLUMN_WIDTH_CHANGE
This is the event used bySpreadsheetView.ColumnWidthEvent
.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ColumnWidthEvent(int column, double width)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
Return the column index that has been resized.double
getWidth()
Return the new width for this column.-
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
COLUMN_WIDTH_CHANGE
public static final EventType<SpreadsheetView.ColumnWidthEvent> COLUMN_WIDTH_CHANGE
This is the event used bySpreadsheetView.ColumnWidthEvent
.
-
-