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
This event is thrown on the SpreadsheetView when the user resize a column
with its mouse.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventType<SpreadsheetView.ColumnWidthEvent>This is the event used bySpreadsheetView.ColumnWidthEvent.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, isConsumedMethods 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.
-