Class CheckBoxChangeValueEvent<T extends CheckBox>
java.lang.Object
com.spinyowl.legui.event.Event<T>
com.spinyowl.legui.component.event.checkbox.CheckBoxChangeValueEvent<T>
Event generated by default event listeners which shows that checkbox value was changed.
-
Constructor Summary
ConstructorsConstructorDescriptionCheckBoxChangeValueEvent(T component, Context context, Frame frame, boolean oldValue, boolean newValue) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanReturns new value.booleanReturns old value.inthashCode()booleanDeprecated.booleanDeprecated.since 2.0.0 - usegetOldValue()toString()Methods inherited from class com.spinyowl.legui.event.Event
getContext, getFrame, getTargetComponent
-
Constructor Details
-
CheckBoxChangeValueEvent
-
-
Method Details
-
isOldValue
Deprecated.since 2.0.0 - usegetOldValue()Returns old value.- Returns:
- old value.
-
isNewValue
Deprecated.since 2.0.0 - usegetNewValue()Returns new value.- Returns:
- new value.
-
getOldValue
public boolean getOldValue()Returns old value.- Returns:
- old value.
-
getNewValue
public boolean getNewValue()Returns new value.- Returns:
- new value.
-
toString
-
equals
-
hashCode
public int hashCode()
-
getNewValue()