Class SelectBoxChangeSelectionEvent<T>

java.lang.Object
com.spinyowl.legui.event.Event<SelectBox<T>>
com.spinyowl.legui.component.event.selectbox.SelectBoxChangeSelectionEvent<T>

public class SelectBoxChangeSelectionEvent<T> extends Event<SelectBox<T>>
  • Constructor Details

    • SelectBoxChangeSelectionEvent

      public SelectBoxChangeSelectionEvent(SelectBox<T> component, Context context, Frame frame, T oldValue, T newValue)
  • Method Details

    • getOldValue

      public T getOldValue()
      Returns old value.
      Returns:
      old value.
    • getNewValue

      public T getNewValue()
      Returns new value.
      Returns:
      new value.
    • toString

      public String toString()
      Overrides:
      toString in class Event<SelectBox<T>>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Event<SelectBox<T>>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Event<SelectBox<T>>