Record Class SyScrollBarDrag
java.lang.Object
java.lang.Record
com.io7m.jsycamore.api.components.SyScrollBarDrag
- Record Components:
dragKind- The kind of operationdragStart- The scroll position at the start of the operationdragNow- The scroll position now
public record SyScrollBarDrag(SyScrollBarDrag.Kind dragKind, double dragStart, double dragNow)
extends Record
A drag operation being performed on a scrollbar.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSyScrollBarDrag(SyScrollBarDrag.Kind dragKind, double dragStart, double dragNow) A drag operation being performed on a scrollbar. -
Method Summary
Modifier and TypeMethodDescriptiondragKind()Returns the value of thedragKindrecord component.doubledragNow()Returns the value of thedragNowrecord component.doubleReturns the value of thedragStartrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SyScrollBarDrag
A drag operation being performed on a scrollbar.- Parameters:
dragKind- The kind of operationdragStart- The scroll position at the start of the operationdragNow- The scroll position now
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
dragKind
-
dragStart
-
dragNow
-