Class ScrollBarChangeValueEvent<T extends ScrollBar>
java.lang.Object
com.spinyowl.legui.event.Event<T>
com.spinyowl.legui.component.event.scrollbar.ScrollBarChangeValueEvent<T>
Event generated by default event listeners which shows that scrollbar value was changed.
-
Constructor Summary
ConstructorsConstructorDescriptionScrollBarChangeValueEvent(T component, Context context, Frame frame, float oldValue, float newValue) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatReturns new value of scrollbar.floatReturns old value of scrollbar.inthashCode()Methods inherited from class com.spinyowl.legui.event.Event
getContext, getFrame, getTargetComponent, toString
-
Constructor Details
-
ScrollBarChangeValueEvent
-
-
Method Details
-
getNewValue
public float getNewValue()Returns new value of scrollbar.- Returns:
- new value of scrollbar.
-
getOldValue
public float getOldValue()Returns old value of scrollbar.- Returns:
- old value of scrollbar.
-
equals
-
hashCode
public int hashCode()
-