Package 

Interface LayoutController

  • All Implemented Interfaces:

    
    public interface LayoutController
    
                        

    Manages layout like configurations for the given view

    • Constructor Detail

    • Method Detail

      • setVerticalOffset

         abstract Unit setVerticalOffset(Double offset)

        Set the layout's vertical offset

        Parameters:
        offset - the offset value
      • setOffsets

         abstract Unit setOffsets(Double horizontalOffset, Double verticalOffset)

        Set the layout's offsets

        Parameters:
        horizontalOffset - the horizontal offset value
        verticalOffset - the vertical offset value
      • addObstructedRegion

         abstract Long addObstructedRegion(Integer x, Integer y, Integer width, Integer height)

        Create a new obstructed region

        Parameters:
        x - horizontal position of the obstructed region
        y - vertical position of the obstructed region
        width - width of the obstructed region
        height - height of the obstructed region
      • addObstructedRegion

         abstract Long addObstructedRegion(Rect rect)

        Create a new obstructed region

        Parameters:
        rect - Rect object which defines the obstructed region
      • removeObstructedRegion

         abstract Boolean removeObstructedRegion(Long id)

        Remove a specific obstructed region

        Parameters:
        id - the id of an already created obstructed region
      • setMapScaleBarMargin

         abstract Unit setMapScaleBarMargin(Double horizontalMargin, Double verticalMargin)

        set Scale bar margin please noted that the start point of the scale bar is the bottom right corner, and all the margins are based on the start point

        Parameters:
        horizontalMargin - horizontal margin
        verticalMargin - vertical margin