public class LayoutMap extends LayoutElement
| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
LayoutMap.GridLabelPositionEditor |
|
class |
LayoutMap.LayoutMapBean |
|
static class |
LayoutMap.LayoutMapBeanBeanInfo |
|
static class |
LayoutMap.LineStyleEditor |
| 构造器 | 说明 |
|---|---|
LayoutMap(MapFrame mapFrame,
TileLoadListener tll) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addMapViewUpdatedListener(IMapViewUpdatedListener listener) |
|
void |
fireMapViewUpdatedEvent() |
|
Color |
getBackColor() |
Get background color
|
Rectangle |
getBounds() |
Get bounds rectangle
|
Color |
getForeColor() |
Get foreground color
|
Font |
getGridFont() |
Get grid label font
|
GridLabelPosition |
getGridLabelPosition() |
Get grid label position
|
int |
getGridLabelShift() |
Get grid label shift
|
Color |
getGridLineColor() |
Get grid line color
|
float |
getGridLineSize() |
Get grid line size
|
LineStyles |
getGridLineStyle() |
Get grid line style
|
double |
getGridXDelt() |
Get grid x delt
|
float |
getGridXOrigin() |
Get grid x origin
|
double |
getGridYDelt() |
Get grid y delt
|
float |
getGridYOrigin() |
Get grid y origin
|
int |
getHeight() |
Get height
|
int |
getLeft() |
Get left
|
MapFrame |
getMapFrame() |
|
Color |
getNeatLineColor() |
Get map view neat line color
|
float |
getNeatLineSize() |
Get map view neat line size
|
int |
getTickLineLength() |
Get grid tick line length
|
int |
getTop() |
Get top
|
int |
getWidth() |
Get width
|
boolean |
isDrawDegreeSymbol() |
Get if draw degree symbol
|
boolean |
isDrawGridLabel() |
Get if draw grid labels
|
boolean |
isDrawGridLine() |
Get if draw grid line
|
boolean |
isDrawGridTickLine() |
Get if draw grid tick line
|
boolean |
isDrawNeatLine() |
Get if draw map view neat line
|
boolean |
isInsideTickLine() |
Get if draw grid tick line inside
|
void |
moveUpdate() |
Move update method
|
void |
paint(Graphics2D g) |
Paint method
|
void |
paintOnLayout(Graphics2D g,
PointF pageLocation,
float zoom) |
Paint on layout method
|
void |
removeMapViewUpdatedListener(IMapViewUpdatedListener listener) |
|
void |
resizeUpdate() |
Resize update method
|
void |
setBackColor(Color color) |
Set background color
|
void |
setBounds(Rectangle rect) |
Set bounds rectangle
|
void |
setDrawDegreeSymbol(boolean value) |
Set if draw degree symbol
|
void |
setDrawGridLabel(boolean istrue) |
Set if draw grid labels
|
void |
setDrawGridLine(boolean istrue) |
Set if draw grid line
|
void |
setDrawGridTickLine(boolean istrue) |
Set if draw grid tick line
|
void |
setDrawNeatLine(boolean istrue) |
Set if draw map view neat line
|
void |
setForeColor(Color color) |
Set foreground color
|
void |
setGridFont(Font font) |
Set grid label font
|
void |
setGridLabelPosition(GridLabelPosition value) |
Set grid label positiont
|
void |
setGridLabelShift(int value) |
Set grid label shift
|
void |
setGridLineColor(Color color) |
Set grid line color
|
void |
setGridLineSize(float size) |
Set grid line size
|
void |
setGridLineStyle(LineStyles style) |
Set grid line style
|
void |
setGridXDelt(double value) |
Set grid x delt
|
void |
setGridXOrigin(float value) |
Set grid x origin
|
void |
setGridYDelt(double value) |
Set grid y delt
|
void |
setGridYOrigin(float value) |
Set grid y origin
|
void |
setHeight(int height) |
Set height
|
void |
setInsideTickLine(boolean istrue) |
Set if draw grid tick line inside
|
void |
setLeft(int left) |
Set left
|
void |
setMapFrame(MapFrame mf) |
|
void |
setNeatLineColor(Color color) |
Set map view neat line color
|
void |
setNeatLineSize(float size) |
Set map view neat line size
|
void |
setTickLineLength(int value) |
Set grid tick line length
|
void |
setTop(int top) |
Set top
|
void |
setWidth(int width) |
Set width
|
void |
zoomToExtentLonLatEx(Extent aExtent) |
Zoom to exactly lon/lat extent
|
addLocationChangedListener, addSizeChangedListener, fireLocationChangedEvent, fireSizeChangedEvent, getBottom, getElementType, getResizeAbility, getRight, isDrawBackColor, isSelected, isVisible, pageToScreen, removeLocationChangedListener, removeSizeChangedListener, setDrawBackColor, setElementType, setResizeAbility, setSelected, setVisiblepublic LayoutMap(MapFrame mapFrame, TileLoadListener tll)
mapFrame - MapFrametll - TileLoadListenerpublic void addMapViewUpdatedListener(IMapViewUpdatedListener listener)
public void removeMapViewUpdatedListener(IMapViewUpdatedListener listener)
public void fireMapViewUpdatedEvent()
public MapFrame getMapFrame()
public void setMapFrame(MapFrame mf)
public int getLeft()
getLeft 在类中 LayoutElementpublic void setLeft(int left)
setLeft 在类中 LayoutElementleft - Leftpublic int getTop()
getTop 在类中 LayoutElementpublic void setTop(int top)
setTop 在类中 LayoutElementtop - Toppublic int getWidth()
getWidth 在类中 LayoutElementpublic void setWidth(int width)
setWidth 在类中 LayoutElementwidth - Widthpublic int getHeight()
getHeight 在类中 LayoutElementpublic void setHeight(int height)
setHeight 在类中 LayoutElementheight - Heightpublic Rectangle getBounds()
getBounds 在类中 LayoutElementpublic void setBounds(Rectangle rect)
rect - Bounds rectanglepublic Color getBackColor()
getBackColor 在类中 LayoutElementpublic void setBackColor(Color color)
setBackColor 在类中 LayoutElementcolor - Background colorpublic Color getForeColor()
getForeColor 在类中 LayoutElementpublic void setForeColor(Color color)
setForeColor 在类中 LayoutElementcolor - public boolean isDrawNeatLine()
public void setDrawNeatLine(boolean istrue)
istrue - Booleanpublic Color getNeatLineColor()
public void setNeatLineColor(Color color)
color - Neat line colorpublic float getNeatLineSize()
public void setNeatLineSize(float size)
size - Neat line sizepublic Color getGridLineColor()
public void setGridLineColor(Color color)
color - Grid line colorpublic float getGridLineSize()
public void setGridLineSize(float size)
size - Grid line sizepublic LineStyles getGridLineStyle()
public void setGridLineStyle(LineStyles style)
style - Grid line stylepublic boolean isDrawGridLabel()
public void setDrawGridLabel(boolean istrue)
istrue - Booleanpublic boolean isInsideTickLine()
public void setInsideTickLine(boolean istrue)
istrue - Booleanpublic int getTickLineLength()
public void setTickLineLength(int value)
value - Tick line length valuepublic int getGridLabelShift()
public void setGridLabelShift(int value)
value - Grid label shiftpublic GridLabelPosition getGridLabelPosition()
public void setGridLabelPosition(GridLabelPosition value)
value - Grid label positionpublic boolean isDrawGridLine()
public void setDrawGridLine(boolean istrue)
istrue - If draw grid linepublic boolean isDrawGridTickLine()
public void setDrawGridTickLine(boolean istrue)
istrue - Booleanpublic boolean isDrawDegreeSymbol()
public void setDrawDegreeSymbol(boolean value)
value - Booleanpublic Font getGridFont()
public void setGridFont(Font font)
font - Grid label fontpublic double getGridXDelt()
public void setGridXDelt(double value)
value - The valuepublic double getGridYDelt()
public void setGridYDelt(double value)
value - Grid y deltpublic float getGridXOrigin()
public void setGridXOrigin(float value)
value - Grid x originpublic float getGridYOrigin()
public void setGridYOrigin(float value)
value - Grid y originpublic void zoomToExtentLonLatEx(Extent aExtent)
aExtent - The lon/lat extentpublic void paint(Graphics2D g)
paint 在类中 LayoutElementg - Graphics2Dpublic void paintOnLayout(Graphics2D g, PointF pageLocation, float zoom)
LayoutElementpaintOnLayout 在类中 LayoutElementg - Grahpics2DpageLocation - Page locationzoom - Zoompublic void moveUpdate()
LayoutElementmoveUpdate 在类中 LayoutElementpublic void resizeUpdate()
LayoutElementresizeUpdate 在类中 LayoutElementCopyright © 2019. All rights reserved.