Package com.luciad.view.lightspeed.style
Class TLspViewDisplacementStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle.Builder<B>
com.luciad.view.lightspeed.style.TLspViewDisplacementStyle.Builder<B>
- Type Parameters:
B
- Must beTLspViewDisplacementStyle
- Enclosing class:
TLspViewDisplacementStyle
public static class TLspViewDisplacementStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>
extends ALspStyle.Builder<B>
Builder for
TLspViewDisplacementStyle
- Since:
- 2012.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCopies all properties from the given style.build()
Constructs a displacement style with the set parameters.viewDisplacement
(int aX, int aY) Specifies the maximum allowed displacement in view coordinates (pixels).Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle.Builder
equals, hashCode
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
viewDisplacement
Specifies the maximum allowed displacement in view coordinates (pixels).- Parameters:
aX
- the maximum allowed horizontal displacement in pixelsaY
- the maximum allowed vertical displacement in pixels- Returns:
- this builder
-
all
Copies all properties from the given style.- Specified by:
all
in classALspStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>
- Parameters:
aStyle
- the style to copy- Returns:
this
-
build
Constructs a displacement style with the set parameters.- Specified by:
build
in classALspStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>
- Returns:
- the new displacement style
-