Class SplitPanel.SplitPositionChangeEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.component.SplitPanel.SplitPositionChangeEvent
All Implemented Interfaces:
HasUserOriginated, Serializable
Enclosing interface:
SplitPanel

public static class SplitPanel.SplitPositionChangeEvent extends EventObject implements HasUserOriginated
Event that indicates a change in SplitPanel's splitter position.
See Also:
  • Constructor Details

    • SplitPositionChangeEvent

      public SplitPositionChangeEvent(SplitPanel splitPanel, float previousPosition, float newPosition)
    • SplitPositionChangeEvent

      public SplitPositionChangeEvent(Object source, float previousPosition, float newPosition, boolean userOriginated)
  • Method Details

    • getSource

      public SplitPanel getSource()
      Overrides:
      getSource in class EventObject
    • getPreviousPosition

      public float getPreviousPosition()
    • getNewPosition

      public float getNewPosition()
    • isUserOriginated

      public boolean isUserOriginated()
      Description copied from interface: HasUserOriginated
      Returns whether this event was triggered by user interaction or programmatically.
      Specified by:
      isUserOriginated in interface HasUserOriginated
      Returns:
      true if this event originates by user interaction, false otherwise.