public class SmTextStyleFontSizeComponent extends AbstractTextStyleComponent
构造器和说明 |
---|
SmTextStyleFontSizeComponent() |
限定符和类型 | 方法和说明 |
---|---|
double |
getFontHeightValue()
获得真实的字高值,该方法为公有,当每次改变固定大小时,其字高值都会改变,确保显示需要重新算一下
|
com.supermap.mapping.Map |
getMap()
已过时。
|
java.lang.Object |
getMapObject()
获取地图或布局
|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
设置控件是否可用
|
void |
setMap(com.supermap.mapping.Map map)
已过时。
|
void |
setMapObject(java.lang.Object mapObject)
设置地图或布局
|
addTextStyleChangedListener, getGeometry, removeTextStyleChangedListener, setGeometry, setTextStyle
@Deprecated public com.supermap.mapping.Map getMap()
@Deprecated public void setMap(com.supermap.mapping.Map map)
map
-public java.lang.Object getMapObject()
public void setMapObject(java.lang.Object mapObject)
mapObject
-public void setEnabled(boolean enabled)
ITextStyleComponent
setEnabled
在接口中 ITextStyleComponent
setEnabled
在类中 AbstractTextStyleComponent
public boolean isEnabled()
isEnabled
在类中 java.awt.Component
public double getFontHeightValue()