Class ArbitraryLayout

  • All Implemented Interfaces:
    Layout

    public class ArbitraryLayout
    extends Object
    implements Layout
    • Constructor Detail

      • ArbitraryLayout

        public ArbitraryLayout()
    • Method Detail

      • setLocation

        public void setLocation​(Object o,
                                float... loc)
      • update

        public void update()
        Description copied from interface: Layout
        Updates this layout.
        Specified by:
        update in interface Layout
      • setProjection

        public void setProjection​(Projection projection)
        Description copied from interface: Layout
        Sets the projection associated with this Layout.
        Specified by:
        setProjection in interface Layout
        Parameters:
        projection - the associated projection.
      • getLocation

        public float[] getLocation​(Object obj)
        Description copied from interface: Layout
        Gets the location of the specified object as determined by this layout.
        Specified by:
        getLocation in interface Layout
        Parameters:
        obj - the object whose location we want.
        Returns:
        the location of the object.
      • getName

        public String getName()
        Description copied from interface: Layout
        Gets the name of the layout
        Specified by:
        getName in interface Layout
        Returns:
        name of the layout type
      • getBoundingBox

        public Box getBoundingBox()
        Description copied from interface: Layout
        Gets a bounding box that describes the extent of this layout in location coordinates.
        Specified by:
        getBoundingBox in interface Layout
        Returns:
        a bounding box that describes the extent of this layout in location coordinates, or a 0 size box if the extent is unknown.