类 LayoutMap

    • 构造器详细资料

      • LayoutMap

        public LayoutMap​(MapFrame mapFrame,
                         TileLoadListener tll)
        Constructor
        参数:
        mapFrame - MapFrame
        tll - TileLoadListener
    • 方法详细资料

      • fireMapViewUpdatedEvent

        public void fireMapViewUpdatedEvent()
      • getMapFrame

        public MapFrame getMapFrame()
      • setMapFrame

        public void setMapFrame​(MapFrame mf)
      • setLeft

        public void setLeft​(int left)
        Set left
        覆盖:
        setLeft 在类中 LayoutElement
        参数:
        left - Left
      • setTop

        public void setTop​(int top)
        Set top
        覆盖:
        setTop 在类中 LayoutElement
        参数:
        top - Top
      • setWidth

        public void setWidth​(int width)
        Set width
        覆盖:
        setWidth 在类中 LayoutElement
        参数:
        width - Width
      • setHeight

        public void setHeight​(int height)
        Set height
        覆盖:
        setHeight 在类中 LayoutElement
        参数:
        height - Height
      • getBounds

        public java.awt.Rectangle getBounds()
        Get bounds rectangle
        覆盖:
        getBounds 在类中 LayoutElement
        返回:
        The bounds rectangle
      • setBounds

        public void setBounds​(java.awt.Rectangle rect)
        Set bounds rectangle
        参数:
        rect - Bounds rectangle
      • getBackColor

        public java.awt.Color getBackColor()
        Get background color
        覆盖:
        getBackColor 在类中 LayoutElement
        返回:
        Background color
      • setBackColor

        public void setBackColor​(java.awt.Color color)
        Set background color
        覆盖:
        setBackColor 在类中 LayoutElement
        参数:
        color - Background color
      • getForeColor

        public java.awt.Color getForeColor()
        Get foreground color
        覆盖:
        getForeColor 在类中 LayoutElement
        返回:
        Foreground color
      • setForeColor

        public void setForeColor​(java.awt.Color color)
        Set foreground color
        覆盖:
        setForeColor 在类中 LayoutElement
        参数:
        color -
      • isDrawNeatLine

        public boolean isDrawNeatLine()
        Get if draw map view neat line
        返回:
        Boolean
      • setDrawNeatLine

        public void setDrawNeatLine​(boolean istrue)
        Set if draw map view neat line
        参数:
        istrue - Boolean
      • getNeatLineColor

        public java.awt.Color getNeatLineColor()
        Get map view neat line color
        返回:
        Neat line color
      • setNeatLineColor

        public void setNeatLineColor​(java.awt.Color color)
        Set map view neat line color
        参数:
        color - Neat line color
      • getNeatLineSize

        public float getNeatLineSize()
        Get map view neat line size
        返回:
        Neat line size
      • setNeatLineSize

        public void setNeatLineSize​(float size)
        Set map view neat line size
        参数:
        size - Neat line size
      • getGridLineColor

        public java.awt.Color getGridLineColor()
        Get grid line color
        返回:
        Grid line color
      • setGridLineColor

        public void setGridLineColor​(java.awt.Color color)
        Set grid line color
        参数:
        color - Grid line color
      • getGridLineSize

        public float getGridLineSize()
        Get grid line size
        返回:
        Grid line size
      • setGridLineSize

        public void setGridLineSize​(float size)
        Set grid line size
        参数:
        size - Grid line size
      • getGridLineStyle

        public LineStyles getGridLineStyle()
        Get grid line style
        返回:
        Grid line style
      • setGridLineStyle

        public void setGridLineStyle​(LineStyles style)
        Set grid line style
        参数:
        style - Grid line style
      • isDrawGridLabel

        public boolean isDrawGridLabel()
        Get if draw grid labels
        返回:
        If draw grid labels
      • setDrawGridLabel

        public void setDrawGridLabel​(boolean istrue)
        Set if draw grid labels
        参数:
        istrue - Boolean
      • isInsideTickLine

        public boolean isInsideTickLine()
        Get if draw grid tick line inside
        返回:
        Booelan
      • setInsideTickLine

        public void setInsideTickLine​(boolean istrue)
        Set if draw grid tick line inside
        参数:
        istrue - Boolean
      • getTickLineLength

        public int getTickLineLength()
        Get grid tick line length
        返回:
        Grid tick line length
      • setTickLineLength

        public void setTickLineLength​(int value)
        Set grid tick line length
        参数:
        value - Tick line length value
      • getGridLabelShift

        public int getGridLabelShift()
        Get grid label shift
        返回:
        Grid label shift
      • setGridLabelShift

        public void setGridLabelShift​(int value)
        Set grid label shift
        参数:
        value - Grid label shift
      • getGridLabelPosition

        public GridLabelPosition getGridLabelPosition()
        Get grid label position
        返回:
        Grid label position
      • setGridLabelPosition

        public void setGridLabelPosition​(GridLabelPosition value)
        Set grid label positiont
        参数:
        value - Grid label position
      • isDrawGridLine

        public boolean isDrawGridLine()
        Get if draw grid line
        返回:
        If draw grid line
      • setDrawGridLine

        public void setDrawGridLine​(boolean istrue)
        Set if draw grid line
        参数:
        istrue - If draw grid line
      • isDrawGridTickLine

        public boolean isDrawGridTickLine()
        Get if draw grid tick line
        返回:
        Boolean
      • setDrawGridTickLine

        public void setDrawGridTickLine​(boolean istrue)
        Set if draw grid tick line
        参数:
        istrue - Boolean
      • isDrawDegreeSymbol

        public boolean isDrawDegreeSymbol()
        Get if draw degree symbol
        返回:
        Boolean
      • setDrawDegreeSymbol

        public void setDrawDegreeSymbol​(boolean value)
        Set if draw degree symbol
        参数:
        value - Boolean
      • getGridFont

        public java.awt.Font getGridFont()
        Get grid label font
        返回:
        Grid label font
      • setGridFont

        public void setGridFont​(java.awt.Font font)
        Set grid label font
        参数:
        font - Grid label font
      • getGridXDelt

        public double getGridXDelt()
        Get grid x delt
        返回:
        Grid x delt
      • setGridXDelt

        public void setGridXDelt​(double value)
        Set grid x delt
        参数:
        value - The value
      • getGridYDelt

        public double getGridYDelt()
        Get grid y delt
        返回:
        Grid y delt
      • setGridYDelt

        public void setGridYDelt​(double value)
        Set grid y delt
        参数:
        value - Grid y delt
      • getGridXOrigin

        public float getGridXOrigin()
        Get grid x origin
        返回:
        Grid x origin
      • setGridXOrigin

        public void setGridXOrigin​(float value)
        Set grid x origin
        参数:
        value - Grid x origin
      • getGridYOrigin

        public float getGridYOrigin()
        Get grid y origin
        返回:
        Grid y origin
      • setGridYOrigin

        public void setGridYOrigin​(float value)
        Set grid y origin
        参数:
        value - Grid y origin
      • zoomToExtentLonLatEx

        public void zoomToExtentLonLatEx​(Extent aExtent)
        Zoom to exactly lon/lat extent
        参数:
        aExtent - The lon/lat extent
      • paint

        public void paint​(java.awt.Graphics2D g)
        Paint method
        指定者:
        paint 在类中 LayoutElement
        参数:
        g - Graphics2D
      • paintOnLayout

        public void paintOnLayout​(java.awt.Graphics2D g,
                                  PointF pageLocation,
                                  float zoom)
        从类复制的说明: LayoutElement
        Paint on layout method
        指定者:
        paintOnLayout 在类中 LayoutElement
        参数:
        g - Grahpics2D
        pageLocation - Page location
        zoom - Zoom