クラス AbstractLayoutRule

java.lang.Object
jp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractClient
jp.ne.mki.wedge.rule.client.component.layout.AbstractLayoutRule
すべての実装されたインタフェース:
ClientInterface, CommonInterface, LayoutRuleInterface, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
直系の既知のサブクラス:
SetBorderLayout, SetGridBagLayout, SetGridLayout

public abstract class AbstractLayoutRule extends AbstractClient implements LayoutRuleInterface

レイアウト設定用抽象クラス

BoderLayout、GridLayoutなど、null以外のLayoutを使用する場合には、この抽象クラスを継承して作成してください。 作成が必要なメソッドは以下の2点です。 public void setLayoutToFramePanel() throws Throwable


[I/O RECORD]

InputRecord OutputRecord
結果の値を設定するアイテム

[RULE PARAMETER]

Parameter
バージョン:
1.0
  • コンストラクタの詳細

    • AbstractLayoutRule

      public AbstractLayoutRule()
  • メソッドの詳細

    • getIOParameter

      public int getIOParameter()
      IOパラメータ取得。execute の前に実行される。
      定義:
      getIOParameter インタフェース内 CommonInterface
      定義:
      getIOParameter インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
      戻り値:
      int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)
    • execute

      public int execute() throws Throwable
      表示不可に変更する処理を実行。OutputRecordに指定されているもの全てを処理する。
      定義:
      execute インタフェース内 CommonInterface
      定義:
      execute インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
      戻り値:
       int BusinessRuleの戻り値を参照
      例外:
      Throwable
    • getFramePanel

      public JPanel getFramePanel()
      フレームのメインパネルを取得
      戻り値:
      JPanel フレームのメインパネル