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

        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 - 符号id
        resources - 资源
      • 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