com.supermap.desktop.controls.dialog.symbolDialogs.JpanelSymbols
类 SmPanelSymbol
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- com.supermap.desktop.controls.dialog.symbolDialogs.JpanelSymbols.SmPanelSymbol
-
- 所有已实现的接口:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
public abstract class SmPanelSymbol extends javax.swing.JPanel
符号显示面板- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器和说明 SmPanelSymbol(int id, com.supermap.data.Resources resources)
构造函数,用于符号IDSmPanelSymbol(com.supermap.data.SymbolGroup symbolGroup)
用于文件夹SmPanelSymbol(com.supermap.data.Symbol symbol, com.supermap.data.Resources resources)
构造函数,用于普通符号
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 int
getBaseline(int width, int height)
java.awt.Component.BaselineResizeBehavior
getBaselineResizeBehavior()
javax.swing.Icon
getIcon()
int
getIconHeight()
获取图标高度int
getIconWidth()
获取图标宽度com.supermap.data.Symbol
getSymbol()
获得符号int
getSymbolID()
获得符号IDjava.lang.String
getSymbolName()
获得符号名称void
paint(java.awt.Graphics g)
void
rename()
调整面板名称void
setHighlight(java.lang.Boolean isHighlight)
设置改良void
setIconHeight(int iconHeight)
设置图标高度void
setIconWeight(int iconWeight)
设置图标宽度void
setSelected(boolean isSelected)
设置为选中
-
-
-
构造器详细资料
-
SmPanelSymbol
public SmPanelSymbol(com.supermap.data.Symbol symbol, com.supermap.data.Resources resources)
构造函数,用于普通符号- 参数:
symbol
- 符号resources
- 资源
-
SmPanelSymbol
public SmPanelSymbol(int id, com.supermap.data.Resources resources)
构造函数,用于符号ID- 参数:
id
- 符号idresources
- 资源
-
SmPanelSymbol
public SmPanelSymbol(com.supermap.data.SymbolGroup symbolGroup)
用于文件夹- 参数:
symbolGroup
-
-
-
方法详细资料
-
rename
public void rename()
调整面板名称
-
getBaseline
public int getBaseline(int width, int height)
- 覆盖:
getBaseline
在类中javax.swing.JComponent
-
getBaselineResizeBehavior
public java.awt.Component.BaselineResizeBehavior getBaselineResizeBehavior()
- 覆盖:
getBaselineResizeBehavior
在类中javax.swing.JComponent
-
setSelected
public void setSelected(boolean isSelected)
设置为选中
-
setHighlight
public void setHighlight(java.lang.Boolean isHighlight)
设置改良
-
getSymbolID
public int getSymbolID()
获得符号ID- 返回:
-
getSymbol
public com.supermap.data.Symbol getSymbol()
获得符号- 返回:
-
getSymbolName
public java.lang.String getSymbolName()
获得符号名称- 返回:
-
getIcon
public javax.swing.Icon getIcon()
-
getIconWidth
public int getIconWidth()
获取图标宽度
-
setIconWeight
public void setIconWeight(int iconWeight)
设置图标宽度- 参数:
iconWeight
-
-
getIconHeight
public int getIconHeight()
获取图标高度
-
setIconHeight
public void setIconHeight(int iconHeight)
设置图标高度- 参数:
iconHeight
-
-
paint
public void paint(java.awt.Graphics g)
- 覆盖:
paint
在类中javax.swing.JComponent
-
-