Record Class ViewportQuery
java.lang.Object
java.lang.Record
dev.pfaff.altargui.ffi.ViewportQuery
- All Implemented Interfaces:
Query
,ToExpression
public record ViewportQuery(ViewportSelector viewport, ViewportField field)
extends Record
implements Query
-
Constructor Summary
ConstructorsConstructorDescriptionViewportQuery
(ViewportSelector viewport, ViewportField field) Creates an instance of aViewportQuery
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.field()
Returns the value of thefield
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.viewport()
Returns the value of theviewport
record component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.pfaff.altargui.ffi.Query
negate, toExpression
-
Constructor Details
-
ViewportQuery
Creates an instance of aViewportQuery
record class.- Parameters:
viewport
- the value for theviewport
record componentfield
- the value for thefield
record component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
viewport
Returns the value of theviewport
record component.- Returns:
- the value of the
viewport
record component
-
field
Returns the value of thefield
record component.- Returns:
- the value of the
field
record component
-