public final class DisplayParametersHelper extends Object implements IDisposable, IEquatableDefinition
ServiceProviderVisualizers
 that takes a DisplayParameters and creates and maintains a set of
 equivalent DisplayCondition (get).| Constructor and Description | 
|---|
DisplayParametersHelper(DisplayParameters displayParameters,
                       EvaluatorGroup group,
                       DisplayConditionType type)
Creates a new instances using the provided  
DisplayParameters and EvaluatorGroup. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()
Releases any resources associated with this instance. 
 | 
ConstantDisplayCondition | 
getConstantCondition()
Gets the generated  
ConstantDisplayCondition. | 
int | 
getDefinitionHashCode()
Gets a hash code representing the definition of this object. 
 | 
DisplayCondition | 
getDisplayCondition()
Gets the generated display condition. 
 | 
DistanceDisplayCondition | 
getDistanceCondition()
Gets the generated  
DistanceDisplayCondition. | 
PixelSizeDisplayCondition | 
getPixelSizeCondition()
Gets the generated  
PixelSizeDisplayCondition. | 
SceneDisplayCondition | 
getSceneCondition()
Gets the generated  
SceneDisplayCondition. | 
boolean | 
isSameDefinition(DisplayParametersHelper other)
Determines if this object has the same definition as another object. 
 | 
boolean | 
isSameDefinition(Object other)
Determines if this object has the same definition as another object. 
 | 
void | 
update(JulianDate time)
Updates the display condition instances to their state at the provided time. 
 | 
void | 
updateReferences(EvaluatorGroup group)
Uses the provided group to update previously created evaluators. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic DisplayParametersHelper(DisplayParameters displayParameters, EvaluatorGroup group, @Nonnull DisplayConditionType type)
DisplayParameters and EvaluatorGroup.displayParameters - The display parameters, which can be null.group - The group in which to create evaluators.type - The type of display conditions to create.public final void dispose()
dispose in interface IDisposablepublic final boolean isSameDefinition(Object other)
IEquatableDefinition
    This method is very similar to Object.equals(Object) except that it explicitly considers
    the "definitions" of the two objects for objects that do not typically act like values.  The definition of
    an object typically includes all of the fields of the object.
isSameDefinition in interface IEquatableDefinitionother - The other instance to compare to this one.true if this object has the same definition as the specified one.
    false if the other object is null, a different type
    than this one, or if this object and the specified one have different definitions.public final boolean isSameDefinition(DisplayParametersHelper other)
    This method is very similar to Object.equals(Object) except that it explicitly considers
    the "definitions" of the two objects for objects that do not typically act like values.  The definition of
    an object typically includes all of the fields of the object.
other - The other instance to compare to this one.true if this object has the same definition as the specified one.
    false if the other object is null, a different type
    than this one, or if this object and the specified one have different definitions.public final int getDefinitionHashCode()
    This method is very similar to Object.hashCode() except that it explicitly includes
    the "definition" of the object even if the object does not typically act like a value.  The definition of
    an object typically includes all of the fields of the object.  The value returned by this method should
    NOT change.  This means that two objects for which DisplayParametersHelper.isSameDefinition(java.lang.Object) returns true
    will not necessarily have the same hash code if one or the other was changed after the hash code was first
    obtained.
getDefinitionHashCode in interface IEquatableDefinitionpublic final DisplayCondition getDisplayCondition()
public final DistanceDisplayCondition getDistanceCondition()
DistanceDisplayCondition.public final SceneDisplayCondition getSceneCondition()
SceneDisplayCondition.public final PixelSizeDisplayCondition getPixelSizeCondition()
PixelSizeDisplayCondition.public final ConstantDisplayCondition getConstantCondition()
ConstantDisplayCondition.public final void update(@Nonnull JulianDate time)
time - The time at which to evaluate.public final void updateReferences(@Nonnull EvaluatorGroup group)
group - The group from which to update evaluator references.