com.supermap.desktop.controls.TextStyle.TextStyleComponent
类 SmTextStyleFontSizeComponent
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- javax.swing.JComponent
- 
- javax.swing.JPanel
- 
- com.supermap.desktop.controls.TextStyle.AbstractTextStyleComponent
- 
- com.supermap.desktop.controls.TextStyle.TextStyleComponent.SmTextStyleFontSizeComponent
 
 
 
 
 
 
- 
- 所有已实现的接口:
- ITextStyleComponent, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
 
 
 public class SmTextStyleFontSizeComponent extends AbstractTextStyleComponent 文本风格字体大小参数- 另请参阅:
- 序列化表格
 
- 
- 
字段概要字段 限定符和类型 字段和说明 static java.lang.StringFONT_HEIGHT
 - 
构造器概要构造器 构造器和说明 SmTextStyleFontSizeComponent()
 - 
方法概要所有方法 实例方法 具体方法 已过时的方法 限定符和类型 方法和说明 doublegetFontHeightValue()获得真实的字高值,该方法为公有,当每次改变固定大小时,其字高值都会改变,确保显示需要重新算一下com.supermap.mapping.MapgetMap()已过时。java.lang.ObjectgetMapObject()获取地图或布局booleanisEnabled()voidsetEnabled(boolean enabled)设置控件是否可用voidsetMap(com.supermap.mapping.Map map)已过时。voidsetMapObject(java.lang.Object mapObject)设置地图或布局- 
从类继承的方法 com.supermap.desktop.controls.TextStyle.AbstractTextStyleComponentaddTextStyleChangedListener, getGeometry, getPrjCoordSys, removeTextStyleChangedListener, setGeometry, setPrjCoordSys, setTextStyle
 
- 
 
- 
- 
- 
字段详细资料- 
FONT_HEIGHTpublic static final java.lang.String FONT_HEIGHT - 另请参阅:
- 常量字段值
 
 
- 
 - 
方法详细资料- 
getMap@Deprecated public com.supermap.mapping.Map getMap() 已过时。获取地图 getMapObject- 返回:
 
 - 
setMap@Deprecated public void setMap(com.supermap.mapping.Map map) 已过时。设置地图 setMapObject- 参数:
- map-
 
 - 
getMapObjectpublic java.lang.Object getMapObject() 获取地图或布局- 返回:
- mapObject对象
 
 - 
setMapObjectpublic void setMapObject(java.lang.Object mapObject) 设置地图或布局- 参数:
- mapObject-
 
 - 
setEnabledpublic void setEnabled(boolean enabled) 从接口复制的说明:ITextStyleComponent设置控件是否可用- 指定者:
- setEnabled在接口中- ITextStyleComponent
- 指定者:
- setEnabled在类中- AbstractTextStyleComponent
 
 - 
isEnabledpublic boolean isEnabled() - 覆盖:
- isEnabled在类中- java.awt.Component
 
 - 
getFontHeightValuepublic double getFontHeightValue() 获得真实的字高值,该方法为公有,当每次改变固定大小时,其字高值都会改变,确保显示需要重新算一下- 返回:
 
 
- 
 
-