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 be TLspViewDisplacementStyle
Enclosing class:
TLspViewDisplacementStyle

public static class TLspViewDisplacementStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>> extends ALspStyle.Builder<B>
Since:
2012.0
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • viewDisplacement

      public B viewDisplacement(int aX, int aY)
      Specifies the maximum allowed displacement in view coordinates (pixels).
      Parameters:
      aX - the maximum allowed horizontal displacement in pixels
      aY - the maximum allowed vertical displacement in pixels
      Returns:
      this builder
    • all

      public B all(ALspStyle aStyle)
      Copies all properties from the given style.
      Specified by:
      all in class ALspStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>
      Parameters:
      aStyle - the style to copy
      Returns:
      this
    • build

      public TLspViewDisplacementStyle build()
      Constructs a displacement style with the set parameters.
      Specified by:
      build in class ALspStyle.Builder<B extends TLspViewDisplacementStyle.Builder<B>>
      Returns:
      the new displacement style