クラス MonitorParam

  • すべての実装されたインタフェース:
    jp.co.sds_corp.util.config.IConfigSavable, jp.co.sds_corp.util.config.IConfigurable

    public class MonitorParam
    extends Object
    implements jp.co.sds_corp.util.config.IConfigurable, jp.co.sds_corp.util.config.IConfigSavable
    ICheckerのグループごとの設定を保持します。
    • コンストラクタの詳細

      • MonitorParam

        public MonitorParam​(SetupParam setup)
    • メソッドの詳細

      • init

        public void init​(jp.co.sds_corp.util.config.IConfiguration config)
                  throws Exception
        設定情報で初期化します。
        定義:
        init インタフェース内 jp.co.sds_corp.util.config.IConfigurable
        パラメータ:
        config - 設定情報
        例外:
        Exception
      • getName

        public String getName()
        グループのの名前を返します。
      • getChecker

        public String getChecker()
        ICheckerのクラス名を返します。
      • getCheckerClass

        public Class<? extends jp.co.sds_corp.hibiya.server.IChecker> getCheckerClass()
        ICheckerのクラスを返します。
      • isValidChecker

        public boolean isValidChecker​(jp.co.sds_corp.hibiya.server.IChecker mon)
        このグループに所属するICheckerであるかどうかを返します。
      • getPanelName

        public String getPanelName()
        ICheckerの設定を行うICheckerPanelを返します。
      • getSizedIcon

        public Icon getSizedIcon​(jp.co.sds_corp.hibiya.server.IChecker.Status stat)
        状態別のアイコンを返します。
        パラメータ:
        stat - 状態
      • getSizedIcon

        public Icon getSizedIcon​(jp.co.sds_corp.hibiya.server.IChecker.Status stat,
                                 int nSize)
        状態別のアイコンを返します。
        パラメータ:
        stat - 状態
        nSize - アイコンのサイズ
      • setInterval

        public void setInterval​(int var)
        監視間隔(interval)を設定します。
        パラメータ:
        var - 設定するデータ
      • getInterval

        public int getInterval()
        監視間隔(interval)を取得します。
        戻り値:
        intervalの内容
      • setColumn

        public void setColumn​(List<String> list)
        このグループで表示するカラムを設定します。
        パラメータ:
        list - 表示するカラム名の入ったList
      • listColumn

        public List<Column> listColumn()
        表示するカラムの一覧を返します。
        戻り値:
        表示するカラムの一覧List
      • listColumnName

        public List<String> listColumnName()
        表示するカラムの一覧を返します。
        戻り値:
        表示するカラムの一覧List
      • getColumnCount

        public int getColumnCount()
        表示するカラム数を返します。
      • getColumn

        public Column getColumn​(String name)
        カラムの情報を取得します。
        パラメータ:
        name - カラム名
      • getColumnName

        public String getColumnName​(int nCol)
        カラム名を返します。
        パラメータ:
        nCol - カラム位置(0〜)
      • getColumnPos

        public int getColumnPos​(String name)
        指定された名前のカラムの位置を返します。
        パラメータ:
        name - カラム名
        戻り値:
        カラム位置
      • listAllColumn

        public List<Column> listAllColumn()
        このグループの全てのカラムを返します。
        戻り値:
        全てのカラムの一覧List<Column>
      • listAllName

        public List<String> listAllName()
        このグループの全てのカラム名を返します。
        戻り値:
        全てのカラム名一覧List
      • listGraphParam

        public List<GraphParam> listGraphParam()
        このグループのグラフの設定を返します。
        戻り値:
        グラフの設定一覧List
      • setColumnWidth

        public void setColumnWidth​(int pos,
                                   int width)
        カラムの幅を設定します。
        パラメータ:
        pos - カラム位置
        width - カラムの幅
      • getColumnWidth

        public int getColumnWidth​(int pos)
        カラムの幅を取得します。
        パラメータ:
        pos - カラム位置
        戻り値:
        カラムの幅
      • setOrder

        public void setOrder​(int pos,
                             int order)
        カラムの順番を設定します。
        パラメータ:
        pos - カラム位置
        order - カラムの順番
      • getOrder

        public int getOrder​(int pos)
        カラムの順番を取得します。
        パラメータ:
        pos - カラム位置
        戻り値:
        カラムの順番
      • isMask

        public boolean isMask​(String name)
        カラムの表示フラグを取得します。
        パラメータ:
        name - カラム名
        戻り値:
        表示フラグ
      • saveConfig

        public void saveConfig​(jp.co.sds_corp.util.config.IConfiguration config)
        設定情報を保存します。
        定義:
        saveConfig インタフェース内 jp.co.sds_corp.util.config.IConfigSavable
        パラメータ:
        config - 設定情報