类 LayoutGraphic
- java.lang.Object
-
- org.meteoinfo.layout.LayoutElement
-
- org.meteoinfo.layout.LayoutGraphic
-
public class LayoutGraphic extends LayoutElement
- 作者:
- yaqiang
-
-
构造器概要
构造器 构造器 说明 LayoutGraphic(Graphic aGraphic, MapLayout aMapLayout)ConstructorLayoutGraphic(Graphic aGraphic, MapLayout aMapLayout, LayoutMap aLayoutMap)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidfireLocationChangedEvent()GraphicgetGraphic()booleanisPaint()Get if paintbooleanisTitle()Get if is titlevoidmoveUpdate()Move update methodvoidpaint(java.awt.Graphics2D g)Paint methodvoidpaintGraphics(java.awt.Graphics2D g, PointF pageLocation, float zoom)Paint graphicsvoidpaintOnLayout(java.awt.Graphics2D g, PointF pageLocation, float zoom)Paint on layout methodvoidresizeUpdate()Resize update methodvoidsetGraphic(Graphic graphic)voidsetIsPaint(boolean istrue)Set if paintvoidsetIsTitle(boolean istrue)Set if is titlevoidsetLabelText(java.lang.String text)Set label textvoidupdateControlSize()Update control sizevoidverticeEditUpdate(int vIdx, double newX, double newY)Vertice edited update-
从类继承的方法 org.meteoinfo.layout.LayoutElement
addLocationChangedListener, addSizeChangedListener, fireSizeChangedEvent, getBackColor, getBottom, getBounds, getElementType, getForeColor, getHeight, getLeft, getResizeAbility, getRight, getTop, getWidth, isDrawBackColor, isSelected, isVisible, pageToScreen, removeLocationChangedListener, removeSizeChangedListener, setBackColor, setDrawBackColor, setElementType, setForeColor, setHeight, setLeft, setResizeAbility, setSelected, setTop, setVisible, setWidth
-
-
-
-
方法详细资料
-
getGraphic
public Graphic getGraphic()
-
setGraphic
public void setGraphic(Graphic graphic)
-
isTitle
public boolean isTitle()
Get if is title- 返回:
- If is title
-
setIsTitle
public void setIsTitle(boolean istrue)
Set if is title- 参数:
istrue- Boolean
-
isPaint
public boolean isPaint()
Get if paint- 返回:
- If paint
-
setIsPaint
public void setIsPaint(boolean istrue)
Set if paint- 参数:
istrue- If paint
-
setLabelText
public void setLabelText(java.lang.String text)
Set label text- 参数:
text- Label text
-
updateControlSize
public void updateControlSize()
Update control size
-
verticeEditUpdate
public void verticeEditUpdate(int vIdx, double newX, double newY)Vertice edited update- 参数:
vIdx- Vertice indexnewX- New xnewY- New y
-
paint
public void paint(java.awt.Graphics2D g)
从类复制的说明:LayoutElementPaint method- 指定者:
paint在类中LayoutElement- 参数:
g- Graphics2D
-
paintOnLayout
public void paintOnLayout(java.awt.Graphics2D g, PointF pageLocation, float zoom)从类复制的说明:LayoutElementPaint on layout method- 指定者:
paintOnLayout在类中LayoutElement- 参数:
g- Grahpics2DpageLocation- Page locationzoom- Zoom
-
paintGraphics
public void paintGraphics(java.awt.Graphics2D g, PointF pageLocation, float zoom)Paint graphics- 参数:
g- Graphics2DpageLocation- page locationzoom- Zoom
-
moveUpdate
public void moveUpdate()
从类复制的说明:LayoutElementMove update method- 指定者:
moveUpdate在类中LayoutElement
-
resizeUpdate
public void resizeUpdate()
从类复制的说明:LayoutElementResize update method- 指定者:
resizeUpdate在类中LayoutElement
-
fireLocationChangedEvent
public void fireLocationChangedEvent()
-
-