@Generated(value={"Modifiables.generator","JCameraRotationCoefficientsType"}) public final class JCameraRotationCoefficientsMutable extends Object implements JCameraRotationCoefficientsType
JCameraRotationCoefficientsType type.
Use the create() static factory methods to create new instances.
Use the toImmutable() method to convert to canonical immutable instances.
JCameraRotationCoefficientsMutable is not thread-safe
JCameraRotationCoefficients| Modifier and Type | Method and Description |
|---|---|
JCameraRotationCoefficientsMutable |
clear()
Clears the object by setting all attributes to their initial values.
|
static JCameraRotationCoefficientsMutable |
create()
Construct a modifiable instance of
JCameraRotationCoefficientsType. |
static JCameraRotationCoefficientsMutable |
create(double horizontal,
double vertical)
Construct a modifiable instance of
JCameraRotationCoefficientsType. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCameraRotationCoefficientsMutable that have equal attribute values. |
JCameraRotationCoefficientsMutable |
from(JCameraRotationCoefficientsType instance)
Fill this modifiable instance with attribute values from the provided
JCameraRotationCoefficientsType instance. |
int |
hashCode()
Computes a hash code from attributes:
horizontal, vertical. |
double |
horizontal() |
boolean |
horizontalIsSet()
Returns
true if the default attribute horizontal is set. |
boolean |
isInitialized()
Returns
true if all required attributes are set, indicating that the object is initialized. |
JCameraRotationCoefficientsMutable |
setHorizontal(double horizontal)
Assigns a value to the
horizontal attribute. |
JCameraRotationCoefficientsMutable |
setVertical(double vertical)
Assigns a value to the
vertical attribute. |
JCameraRotationCoefficients |
toImmutable()
Converts to
JCameraRotationCoefficients. |
String |
toString()
Generates a string representation of this
JCameraRotationCoefficientsType. |
JCameraRotationCoefficientsMutable |
unsetHorizontal()
Reset an attribute to its initial value.
|
JCameraRotationCoefficientsMutable |
unsetVertical()
Reset an attribute to its initial value.
|
double |
vertical() |
boolean |
verticalIsSet()
Returns
true if the default attribute vertical is set. |
public static JCameraRotationCoefficientsMutable create(double horizontal, double vertical)
JCameraRotationCoefficientsType.horizontal - The value for the horizontal attributevertical - The value for the vertical attributepublic static JCameraRotationCoefficientsMutable create()
JCameraRotationCoefficientsType.public final double horizontal()
horizontal in interface JCameraRotationCoefficientsTypepublic final double vertical()
vertical in interface JCameraRotationCoefficientsTypepublic JCameraRotationCoefficientsMutable clear()
this for use in a chained invocationpublic JCameraRotationCoefficientsMutable from(JCameraRotationCoefficientsType instance)
JCameraRotationCoefficientsType instance.
Regular attribute values will be overridden, i.e. replaced with ones of an instance.
Any of the instance's absent optional values will not be copied (will not override current values).instance - The instance from which to copy valuesthis for use in a chained invocationpublic JCameraRotationCoefficientsMutable setHorizontal(double horizontal)
horizontal attribute.
If not set, this attribute will have a default value returned by the initializer of horizontal.
horizontal - The value for horizontalthis for use in a chained invocationpublic JCameraRotationCoefficientsMutable setVertical(double vertical)
vertical attribute.
If not set, this attribute will have a default value returned by the initializer of vertical.
vertical - The value for verticalthis for use in a chained invocationpublic final boolean horizontalIsSet()
true if the default attribute horizontal is set.true if setpublic final boolean verticalIsSet()
true if the default attribute vertical is set.true if setpublic final JCameraRotationCoefficientsMutable unsetHorizontal()
this for use in a chained invocationpublic final JCameraRotationCoefficientsMutable unsetVertical()
this for use in a chained invocationpublic final boolean isInitialized()
true if all required attributes are set, indicating that the object is initialized.true if setpublic final JCameraRotationCoefficients toImmutable()
JCameraRotationCoefficients.public boolean equals(Object another)
JCameraRotationCoefficientsMutable that have equal attribute values.public int hashCode()
horizontal, vertical.Copyright © 2017 <code@io7m.com> http://io7m.com