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
Modifier and TypeFieldDescriptionstatic final String
protected final Integer
protected final Integer
Fields inherited from class io.jmix.kanbanflowui.kit.component.event.AbstractKanbanColumnEvent
column
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionKanbanColumnReorderEvent
(JmixKanban<?> source, boolean fromClient, String dataField, Integer oldIndex, Integer newIndex) -
Method Summary
Methods inherited from class io.jmix.kanbanflowui.kit.component.event.AbstractKanbanColumnEvent
getColumn
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods 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
-