Module org.controlsfx.controls
Class SpreadsheetView.RowHeightEvent
java.lang.Object
java.util.EventObject
javafx.event.Event
org.controlsfx.control.spreadsheet.SpreadsheetView.RowHeightEvent
- All Implemented Interfaces:
Serializable,Cloneable
- Enclosing class:
- SpreadsheetView
This event is thrown on the SpreadsheetView when the user resize a row
with its mouse.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventType<SpreadsheetView.RowHeightEvent>This is the event used bySpreadsheetView.RowHeightEvent.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
-
ROW_HEIGHT_CHANGE
This is the event used bySpreadsheetView.RowHeightEvent.
-
-
Constructor Details
-
RowHeightEvent
public RowHeightEvent(int row, double height)
-
-
Method Details
-
getRow
public int getRow()Return the row index that has been resized.- Returns:
- the row index that has been resized.
-
getHeight
public double getHeight()Return the new height for this row.- Returns:
- the new height for this row.
-