Class KanbanColumnReorderEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<JmixKanban<?>>
io.jmix.kanbanflowui.kit.component.event.AbstractKanbanColumnEvent
io.jmix.kanbanflowui.kit.component.event.KanbanColumnReorderEvent
- All Implemented Interfaces:
Serializable
Event describing a change in ordering of a column.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected final Integerprotected final IntegerFields inherited from class io.jmix.kanbanflowui.kit.component.event.AbstractKanbanColumnEvent
columnFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionKanbanColumnReorderEvent(JmixKanban<?> source, boolean fromClient, String dataField, Integer oldIndex, Integer newIndex) -
Method Summary
Methods inherited from class io.jmix.kanbanflowui.kit.component.event.AbstractKanbanColumnEvent
getColumnMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Field Details
-
EVENT_NAME
- See Also:
-
oldIndex
-
newIndex
-
-
Constructor Details
-
KanbanColumnReorderEvent
public KanbanColumnReorderEvent(JmixKanban<?> source, boolean fromClient, @EventData("event.detail.column.dataField") String dataField, @EventData("event.detail.oldIndex") Integer oldIndex, @EventData("event.detail.index") Integer newIndex)
-
-
Method Details
-
getOldIndex
- Returns:
- index of the previous column position
-
getNewIndex
- Returns:
- index of new column position
-