jp.ne.mki.wedge.rule.base
クラス AbstractClient

java.lang.Object
  上位を拡張 jp.ne.mki.wedge.rule.base.AbstractBase
      上位を拡張 jp.ne.mki.wedge.rule.base.AbstractClient
すべての実装されたインタフェース:
ClientInterface, CommonInterface, RuleEngineInterface
直系の既知のサブクラス:
AbstractHttpAccess, AbstractLayoutRule, AddTabPanel, CallJavaScript, CheckInputRecord, CheckIsVisibleFrame, CloseFrame, DownloadFileFromURL, EmptyRowThenTableRowDelete, ExecuteAfterEvent, ExecuteAfterTakeOver, ExecuteAfterUntilEmpty, ExecuteBeforeEvent, ExecutionControl_Index, ExecutionControl_Parameter, ExtensionFileChooser, FileTransferRule, FolderChooser, ForeachExecuteAfter, FrameHidden, FrameVisible, GetCurrentComponentValue, GetCurrentTabIndex, GetFrameName, GetParameter, GetSelectedIndex, GetTableHeaderValue, GetTableSelectedCoordinates, GetTableSelectedValue, GetURLForOpen, GetUserObjects, IfMatchParamThenTableRowDelete, JWSReadCsvFile, JWSReadFile, JWSWriteCsvFile, JWSWriteFile, OpenURL, PrintFrame, RearrangeTab, RearrangeTable, RemoveTabPanel, RemoveUserObjects, SetBackColor, SetBackColorToTableEditor, SetBackColorToTableRenderer, SetCalendarToPanel, SetCaretUpdatePolicy, SetCheckEnum, SetCheckExists, SetCheckFixLength, SetCheckLength, SetCheckMaximum, SetCheckMinimum, SetColumnWidth, SetComboHorizontalScrollBar, SetComboMaxRow, SetComboSelectedKey, SetComponentText, SetCurrentTabIndex, SetDefaultFocusComponent, SetDisabledMenu, SetDisabledToolbar, SetDisableItems, SetEditable, SetEditableTableColumn, SetEnabledByInItem, SetEnabledMenu, SetEnabledToolbar, SetEnableItems, SetFocus, SetFocusToTableCell, SetFontToTableAllColumn, SetFontToTableEditor, SetFontToTableRenderer, SetForeColor, SetForeColorToTableEditor, SetForeColorToTableRenderer, SetFrameFunctionKeyListener, SetFrameMaximization, SetFrameMinimization, SetFramePosition, SetFunctionKeyMapToButton, SetFunctionKeyMapToToolbar, SetHorizontalAlignment, SetItemToTableComboEditor, SetKeyMapToButton, SetLabelBorder, SetRealTimeInputCheck, SetSelectedIndex, SetSelectedRowChangeListener, SetTabChangeListener, SetTabDisabled, SetTabEnabled, SetTableHeaderClickListener, SetTableHeaderValue, SetTableSelectedValue, SetTextPositionToTableEditor, SetTextPositionToTableRenderer, SetTextToTableEditor, SetTextToTableRenderer, SetTimer, SetUnEditableTableColumn, SetUnVisible, SetUserObjects, SetVerticalAlignment, SetVisible, SetVisibleByInItem, SetWindowTitle, ShowDBAccessCountDialog, ShowErrorDialog, ShowFileOpenDialog, ShowFileSaveDialog, ShowFrame, ShowImageByUrl, ShowMessageDialog, ShowServerParameterDialog, ShowTableRowControl, ShowYesNoCancelDialog, ShowYesNoDialog, SkipRule, StructureIfElse, StructureSetErrorFlag, StructureSwitchCase, StructureTryCatch, TableRowAddition, TableSelectedRowCopy, TableSelectedRowDelete, TableSelectedRowDown, TableSelectedRowInsert, TableSelectedRowMove, TableSelectedRowUp, TableSort, TabTitleNameChange, ToolkitPrintFrame, XM_ImageFileChooser

public abstract class AbstractClient
extends AbstractBase
implements ClientInterface

Javaクライアント用ロジッククラス抽象クラス


バージョン:
1.0

フィールドの概要
 
クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承されたフィールド
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
 
インタフェース jp.ne.mki.wedge.rule.base.interfaces.ClientInterface から継承されたフィールド
FRAME_CLOSE, FRAME_QUIT, SKIP_ALL, STOP, STOP_SELECT_ALL, SYSTEM_EXIT, SYSTEM_QUIT, TIMING_AFTER, TIMING_BEFORE, TIMING_LOAD, TIMING_ROW_CLICK, TIMING_ROW_WCLICK, TIMING_UN_LOAD
 
インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承されたフィールド
CANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR
 
コンストラクタの概要
AbstractClient()
           
 
メソッドの概要
 boolean executeCurrentAfter()
          現在のカレントコンポーネントのAfterを実行します 戻り値に false が返ってきた場合には After処理にて STOP,STOP_SELECT_ALL の戻り値が 返された もしくは setFocus 処理により任意のコンポーネントにフォーカス遷移した などの状態を指します。
 int executeRule()
          ロジッククラス実行
 int executeRule(java.lang.String rulePName)
          ロジッククラスの実行
 java.lang.String getAdapterName()
          ロジッククラスに設定されている Adapterの物理名称取得
protected  jp.ne.mki.wedge.run.client.data.BusinessRule getClientRuleObject(java.lang.String rulePName)
          ロジッククラスオブジェクトの取得
 java.net.URL getCodeBase()
          CodeBase取得。
 javax.swing.JComponent getComponent()
          現在実行対象となっているコンポーネントを取得。
static javax.swing.JComponent getComponent(DataInterface data)
          コンポーネント取得
 HashVector getComponents()
          画面のGUIコンポーネント群取得 全てのコンポーネントは jp.ne.mki.wedge.run.event.ComponentInterface にCast可能です。
protected  jp.ne.mki.wedge.run.client.main.RunClientConf getConfig()
          Configオブジェクト取得
protected  java.lang.String getConfImagePath()
          Confで指定されたイメージパスの取得
 java.awt.Container getContentPane()
          ContentPane取得
 javax.swing.JComponent getCurrentComponent()
          現在選択されているコンポーネント取得
 jp.ne.mki.wedge.run.client.main.Desktop getDesktop()
          推奨されていません。  
 int getExecuteIndex()
          現在実行対象となっている実行モジュールのインデックス
 java.lang.String getExecuteParameter()
          実行パラメータの取得
 int getExecuteTiming()
          現在実行対象となっているイベントタイミングを取得
 java.util.Vector getExecutions()
          現在実行対象となっている実行モジュールを取得
 javax.swing.JComponent getExpectNextComponent()
          次にフォーカス取得予定コンポーネント Afterの実行が、マウスによって他のコンポーネントをClickしたことによる フォーカス移動で発生した場合、Click対象のコンポーネントが設定される。
 FrameInterface getFrame()
          Frame取得
 FrameRunnerInterface getFrameRunner()
          FrameRunnerの参照を取得
protected  javax.swing.ImageIcon getImageIcon(java.lang.String path)
          イメージ取得 取得方法は以下の通り。
 jp.ne.mki.wedge.run.client.data.Item getInItem(int line)
          InputRecordのindexによる取得
 jp.ne.mki.wedge.run.client.data.Item getInItem(java.lang.String key)
          InputRecordの取得
 HashVector getItems()
          画面のアイテム群取得 全てのコンポーネントは、jp.ne.mki.wedge.run.data.Item にCast可能です。
 jp.ne.mki.wedge.run.enums.LogicClassType getLogicClassType()
          ロジッククラスタイプを取得します。
 jp.ne.mki.wedge.run.client.control.Manager getManager()
          Manager取得
 java.util.Hashtable getMemory()
          共通メモリ(ClientMemoryArea) 格納オブジェクト取得
 jp.ne.mki.wedge.run.client.data.Item getOutItem(int line)
          OutputRecordの取得
 jp.ne.mki.wedge.run.client.data.Item getOutItem(java.lang.String key)
          OutputRecordの取得
 java.lang.String getParameter(java.lang.String key)
          起動パラメータを取得する
 java.lang.String getReturnString(int ret)
          戻り値文字列取得
 java.lang.String getRevision()
          画面リビジョン番号を取得する
 boolean isApplet()
          Java Applet で実行されているかどうか
 boolean isApplication()
          Java Application で実行されているかどうか
 boolean isClientTraceMode()
          クライアントトレースモードかどうか
 boolean isConpiled()
          コンパイルされているかどうか
 boolean isJWS()
          JWS で実行されているかどうか
 java.lang.String isServerTraceMode()
          サーバートレースモードかどうか Webtribeのみ
 boolean isWeb()
          推奨されていません。 isApplet() に置き換わりました。
static void log(java.util.logging.Level level, java.lang.String message, java.lang.Throwable th)
          Log の吐き出し SwingデフォルトのLogRecordにてログを出力します。
protected  int loopInItem()
          inRecordに設定されているItem(Data)数ループを発生させる。
protected  int loopInItemSub(jp.ne.mki.wedge.run.client.data.Item inItem, int index)
          loopInItem()から呼び出されるメソッドです。
protected  int loopInOutItem()
          inRecord、outRecordに設定されているItem(Data)数ループを発生させる。
protected  int loopInOutItemSub(jp.ne.mki.wedge.run.client.data.Item inItem, jp.ne.mki.wedge.run.client.data.Item outItem, int index)
          loopInOutItem()から呼び出されるメソッドです。
protected  int loopOutItem()
          outRecordに設定されているItem(Data)数ループを発生させる。
protected  int loopOutItemSub(jp.ne.mki.wedge.run.client.data.Item outItem, int index)
          loopOutRecord()から呼び出されるメソッドです。
 void setEngineManager(EngineManagerInterface manager)
          実行しているエンジンのManagerを設定する
 void setErrorMessageMustInComp(int itemCount, java.lang.String compType)
          入力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。
 void setErrorMessageMustOutComp(int itemCount, java.lang.String compType)
          出力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。
 void setExecuteParameter(java.lang.String parameter)
          実行パラメータの設定
 void setFocus(DataInterface data)
          Focus設定 全選択はなし
 void setFocus(DataInterface data, boolean isSelectAll)
          Focus設定
 void setFocus(DataInterface data, int row, boolean isSelectAll)
          Focus設定 対象がテーブルの場合には、引数の行数を反映してフォーカスを設定する
protected static void setFrameRunnerErrorStatus()
          FrameRunnerにエラーステータスを設定する
 void setPropertyFromEngine(java.lang.String key, java.lang.Object object)
          各エンジンから任意の情報を設定する。
 void setStatusBarText(java.lang.String text)
          ステータスバー設定
 void showDocument(java.net.URL url)
          ブラウザでドキュメントを表示。
static void showErrorDialog(java.awt.Container container, java.lang.String message)
          推奨されていません。  
 int showFrame(java.lang.String frameName)
          画面起動
 int showFrame(java.lang.String frameName, HashVector frameInRecord, HashVector frameOutRecord)
          画面起動
 int showFrame(java.lang.String frameName, java.lang.String instanceName)
          画面起動 (インスタンス名指定版) 入出レコードは、ロジッククラスのレコードを使用します。
 int showFrame(java.lang.String frameName, java.lang.String instanceName, HashVector frameInRecord, HashVector frameOutRecord)
          画面起動
 void terminate()
          終了処理
protected static void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, java.lang.String message)
          推奨されていません。  
protected static void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, java.lang.String message, java.lang.Throwable th)
          推奨されていません。  
 void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, java.lang.String message, java.lang.Throwable th, AbstractBase rule)
          エラーLog の吐き出し Levelは WARNING で出力されます。
protected static void writeTraceLog(jp.ne.mki.wedge.run.client.control.Manager manager, java.lang.String message)
          推奨されていません。  
 
クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承されたメソッド
callDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getControlRecord, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInputRecordIterator, getInRecord, getInRecord, getInRecord, getInRecordCount, getInRecordList, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getLogicClassDelegate, getOutputHtml, getOutputRecordIterator, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getOutRecordList, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getRowSize, getRowSizeOfInRecord, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, isJDK15, log, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutputHtml, setOutRecord, setPhysicalName, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeErrorLog, writeLog, writeLog, writeLog, writeTraceLog
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承されたメソッド
dispose, execute, exit, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getEngineManager, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIOParameter, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getRuleParameter, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, setExecuteType, setRuleType, setServerParameter, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeLog, writeLog, writeTraceLog
 
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface から継承されたメソッド
createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, getLogicClassDelegate, setControlRecord, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutRecord, setPhysicalName, setRuleParameter, setUserConstant
 

コンストラクタの詳細

AbstractClient

public AbstractClient()
メソッドの詳細

executeRule

public int executeRule()
                throws java.lang.Throwable
ロジッククラス実行

定義:
インタフェース RuleEngineInterface 内の executeRule
オーバーライド:
クラス AbstractBase 内の executeRule
戻り値:
int
例外:
java.lang.Throwable

terminate

public void terminate()
終了処理

定義:
インタフェース RuleEngineInterface 内の terminate
オーバーライド:
クラス AbstractBase 内の terminate

getReturnString

public java.lang.String getReturnString(int ret)
戻り値文字列取得

定義:
インタフェース CommonInterface 内の getReturnString
定義:
インタフェース RuleEngineInterface 内の getReturnString
オーバーライド:
クラス AbstractBase 内の getReturnString
パラメータ:
ret - 戻り値
戻り値:
String

setEngineManager

public void setEngineManager(EngineManagerInterface manager)
クラス AbstractBase の記述:
実行しているエンジンのManagerを設定する

定義:
インタフェース RuleEngineInterface 内の setEngineManager
オーバーライド:
クラス AbstractBase 内の setEngineManager
パラメータ:
manager - 実行しているエンジンのManager

getManager

public jp.ne.mki.wedge.run.client.control.Manager getManager()
Manager取得

定義:
インタフェース ClientInterface 内の getManager
戻り値:
Manager

getAdapterName

public java.lang.String getAdapterName()
ロジッククラスに設定されている Adapterの物理名称取得

戻り値:
adapterName
導入されたバージョン:
Ver1.1.1

setPropertyFromEngine

public void setPropertyFromEngine(java.lang.String key,
                                  java.lang.Object object)
各エンジンから任意の情報を設定する。

定義:
インタフェース RuleEngineInterface 内の setPropertyFromEngine
オーバーライド:
クラス AbstractBase 内の setPropertyFromEngine
パラメータ:
key -
object -

getInItem

public jp.ne.mki.wedge.run.client.data.Item getInItem(int line)
InputRecordのindexによる取得

定義:
インタフェース ClientInterface 内の getInItem
パラメータ:
int - 行番号
戻り値:
Item

getInItem

public jp.ne.mki.wedge.run.client.data.Item getInItem(java.lang.String key)
InputRecordの取得

定義:
インタフェース ClientInterface 内の getInItem
パラメータ:
String - アイテムの物理名称
戻り値:
Item

getOutItem

public jp.ne.mki.wedge.run.client.data.Item getOutItem(int line)
OutputRecordの取得

定義:
インタフェース ClientInterface 内の getOutItem
パラメータ:
int - 行番号
戻り値:
DataInterface

getOutItem

public jp.ne.mki.wedge.run.client.data.Item getOutItem(java.lang.String key)
OutputRecordの取得

定義:
インタフェース ClientInterface 内の getOutItem
パラメータ:
String - アイテムの物理名称
戻り値:
Item

setFrameRunnerErrorStatus

protected static void setFrameRunnerErrorStatus()
FrameRunnerにエラーステータスを設定する


writeErrorLog

public void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager,
                          java.lang.String message,
                          java.lang.Throwable th,
                          AbstractBase rule)
エラーLog の吐き出し Levelは WARNING で出力されます。

パラメータ:
manager -
message -
th -
rule -

log

public static void log(java.util.logging.Level level,
                       java.lang.String message,
                       java.lang.Throwable th)
Log の吐き出し SwingデフォルトのLogRecordにてログを出力します。

パラメータ:
level -
message -
th -
導入されたバージョン:
ver1.2

showErrorDialog

public static void showErrorDialog(java.awt.Container container,
                                   java.lang.String message)
推奨されていません。 

エラーダイアログを表示する

パラメータ:
message -

writeTraceLog

protected static void writeTraceLog(jp.ne.mki.wedge.run.client.control.Manager manager,
                                    java.lang.String message)
推奨されていません。 

TraceLog の吐き出し Levelは FINER で出力されます。

パラメータ:
wedgeLog -
message -

writeErrorLog

protected static void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager,
                                    java.lang.String message,
                                    java.lang.Throwable th)
推奨されていません。 

エラーLog の吐き出し Levelは WARNING で出力されます。 エラーダイアログも表示されます。 FrameRunnerにエラーステータスを設定します。

パラメータ:
wedgeLog -
message -

writeErrorLog

protected static void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager,
                                    java.lang.String message)
推奨されていません。 

エラーLog の吐き出し Levelは WARNING で出力されます。 エラーダイアログも表示されます。 FrameRunnerにエラーステータスを設定します。

パラメータ:
manager -
message -

getExecuteParameter

public java.lang.String getExecuteParameter()
実行パラメータの取得

戻り値:
String

setExecuteParameter

public void setExecuteParameter(java.lang.String parameter)
実行パラメータの設定


getCodeBase

public java.net.URL getCodeBase()
CodeBase取得。 Applet, JWS のみ実行可能

戻り値:
URL

showDocument

public void showDocument(java.net.URL url)
ブラウザでドキュメントを表示。 Applet, JWS のみ実行可能

パラメータ:
url - 表示するドキュメントの URL

setStatusBarText

public void setStatusBarText(java.lang.String text)
ステータスバー設定

パラメータ:
String -

getContentPane

public java.awt.Container getContentPane()
ContentPane取得

戻り値:
Container

getFrame

public FrameInterface getFrame()
Frame取得

戻り値:
FrameInterface

setFocus

public void setFocus(DataInterface data,
                     boolean isSelectAll)
Focus設定

パラメータ:
DataInterface - フォーカスを設定したいData
boolean - 全選択にするかどうか true:全選択 false:選択なし

setFocus

public void setFocus(DataInterface data)
Focus設定 全選択はなし

パラメータ:
DataInterface - フォーカス設定したい項目

setFocus

public void setFocus(DataInterface data,
                     int row,
                     boolean isSelectAll)
Focus設定 対象がテーブルの場合には、引数の行数を反映してフォーカスを設定する

パラメータ:
DataInterface - フォーカス設定したい項目
int - 行番号(0から始まる)
boolean - 全選択するかどうか

getComponent

public static javax.swing.JComponent getComponent(DataInterface data)
コンポーネント取得

パラメータ:
DataInterface - Data
戻り値:
JComponent

getCurrentComponent

public javax.swing.JComponent getCurrentComponent()
現在選択されているコンポーネント取得

戻り値:
JComponent

getExpectNextComponent

public javax.swing.JComponent getExpectNextComponent()
次にフォーカス取得予定コンポーネント Afterの実行が、マウスによって他のコンポーネントをClickしたことによる フォーカス移動で発生した場合、Click対象のコンポーネントが設定される。

戻り値:
JComponent

showFrame

public int showFrame(java.lang.String frameName)
画面起動

パラメータ:
String - 起動したい画面の物理名称
戻り値:
int onLoadイベント実行結果 入出レコードは、ロジッククラスのレコードを使用します。

showFrame

public int showFrame(java.lang.String frameName,
                     java.lang.String instanceName)
画面起動 (インスタンス名指定版) 入出レコードは、ロジッククラスのレコードを使用します。

パラメータ:
String - 起動したい画面のリポジトリ物理名称
String - インスタンス名称
戻り値:
int onLoadイベント実行結果

showFrame

public int showFrame(java.lang.String frameName,
                     HashVector frameInRecord,
                     HashVector frameOutRecord)
画面起動

パラメータ:
String - 起動したい画面の物理名称
HashVector - フレームの入力引数
HashVector - フレームの出力引数
戻り値:
int onLoadイベント実行結果

showFrame

public int showFrame(java.lang.String frameName,
                     java.lang.String instanceName,
                     HashVector frameInRecord,
                     HashVector frameOutRecord)
画面起動

パラメータ:
String - 起動したい画面のリポジトリ物理名称
String - インスタンス名称
HashVector - フレームの入力引数
HashVector - フレームの出力引数
戻り値:
int onLoadイベント実行結果

executeRule

public int executeRule(java.lang.String rulePName)
ロジッククラスの実行

パラメータ:
String - 起動したいロジッククラスの物理名称
戻り値:
int 結果 指定したロジッククラスが見つからなかったときには、USER_ERRPRを返す

getClientRuleObject

protected jp.ne.mki.wedge.run.client.data.BusinessRule getClientRuleObject(java.lang.String rulePName)
ロジッククラスオブジェクトの取得

パラメータ:
String - 取得したいロジッククラスの物理名称
戻り値:
BusinessRule ロジッククラスオブジェクト

getConfImagePath

protected java.lang.String getConfImagePath()
Confで指定されたイメージパスの取得

戻り値:
String イメージパス

getConfig

protected jp.ne.mki.wedge.run.client.main.RunClientConf getConfig()
Configオブジェクト取得

戻り値:
String イメージパス

getImageIcon

protected javax.swing.ImageIcon getImageIcon(java.lang.String path)
イメージ取得 取得方法は以下の通り。 1.pathにプロトコルがない場合、 1-1.Config にイメージパスが指定されている場合、イメージパスから検索 1-2.上記以外の場合、CLASSPATH から検索 1-2.で取得できなかった場合、CodeBaseより検索 2.pathにプロトコルがある場合、ファイル名から URL を生成

パラメータ:
Stringing - ファイル名
戻り値:
ImageIcon イメージ

getComponent

public javax.swing.JComponent getComponent()
現在実行対象となっているコンポーネントを取得。FrameのLOAD/UNLOAD処理の時はnull。

戻り値:
JComponent

getExecuteTiming

public int getExecuteTiming()
現在実行対象となっているイベントタイミングを取得

戻り値:
int

getExecuteIndex

public int getExecuteIndex()
現在実行対象となっている実行モジュールのインデックス

戻り値:
int

getExecutions

public java.util.Vector getExecutions()
現在実行対象となっている実行モジュールを取得

戻り値:
Vector

executeCurrentAfter

public boolean executeCurrentAfter()
現在のカレントコンポーネントのAfterを実行します 戻り値に false が返ってきた場合には After処理にて STOP,STOP_SELECT_ALL の戻り値が 返された もしくは setFocus 処理により任意のコンポーネントにフォーカス遷移した などの状態を指します。 つまり、他にフォーカス移動可かどうかを返します。

戻り値:
導入されたバージョン:
ver1.1.0

getDesktop

public jp.ne.mki.wedge.run.client.main.Desktop getDesktop()
推奨されていません。 

デスクトップの参照を取得 FrameRunnerが Desktopのインスタンスであれば参照を返しますが、 Desktopでない時にはnullが返る事に注意してください。 ver1.2 からは getFrameRunner() を使用してください。

戻り値:

getFrameRunner

public FrameRunnerInterface getFrameRunner()
FrameRunnerの参照を取得

戻り値:
導入されたバージョン:
ver1.2

getMemory

public java.util.Hashtable getMemory()
共通メモリ(ClientMemoryArea) 格納オブジェクト取得

戻り値:

getComponents

public HashVector getComponents()
画面のGUIコンポーネント群取得 全てのコンポーネントは jp.ne.mki.wedge.run.event.ComponentInterface にCast可能です。 keyにはリポジトリIDが設定されているため、 該当のコンポーネントを探し出すためには ComponentInterfaceにCastし、物理名より探し出す 必要があります。

戻り値:

getItems

public HashVector getItems()
画面のアイテム群取得 全てのコンポーネントは、jp.ne.mki.wedge.run.data.Item にCast可能です。 keyにはリポジトリIDが設定されているため、 該当のコンポーネントを探し出すためには ItemにCastし、物理名より探し出す 必要があります。

戻り値:

isConpiled

public boolean isConpiled()
コンパイルされているかどうか

戻り値:
boolean

isClientTraceMode

public boolean isClientTraceMode()
クライアントトレースモードかどうか

戻り値:
boolean

isServerTraceMode

public java.lang.String isServerTraceMode()
サーバートレースモードかどうか Webtribeのみ

戻り値:
boolean

isWeb

public boolean isWeb()
推奨されていません。 isApplet() に置き換わりました。

Webで実行されているかどうか

戻り値:
boolean

isApplet

public boolean isApplet()
Java Applet で実行されているかどうか

戻り値:
true:Java Applet で実行、false:Java Applet以外で実行

isApplication

public boolean isApplication()
Java Application で実行されているかどうか

戻り値:
true:Java Application で実行、false:Java Application以外で実行

isJWS

public boolean isJWS()
JWS で実行されているかどうか

戻り値:
true:JWS で実行、false:JWS以外で実行

getParameter

public java.lang.String getParameter(java.lang.String key)
起動パラメータを取得する

パラメータ:
key -
戻り値:

getRevision

public java.lang.String getRevision()
画面リビジョン番号を取得する

戻り値:

loopOutItem

protected int loopOutItem()
outRecordに設定されているItem(Data)数ループを発生させる。 loopOutItem()はループのたびにloopOutItemSub(Item outItem,int index)を呼び出します。


loopOutItemSub

protected int loopOutItemSub(jp.ne.mki.wedge.run.client.data.Item outItem,
                             int index)
loopOutRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。


loopInItem

protected int loopInItem()
inRecordに設定されているItem(Data)数ループを発生させる。 loopInItem()はループのたびにloopInItemdSub(Item inItem,int index)を呼び出します。 戻り値がOK以外のときには処理を中断し戻り値が返ります。


loopInItemSub

protected int loopInItemSub(jp.ne.mki.wedge.run.client.data.Item inItem,
                            int index)
loopInItem()から呼び出されるメソッドです。ユーザが任意に上書き記述をします。


loopInOutItem

protected int loopInOutItem()
inRecord、outRecordに設定されているItem(Data)数ループを発生させる。 loopInOutItem()はループのたびにloopInOutItemSub(Item inItem,DataInterface outItem,int index)を呼び出します。


loopInOutItemSub

protected int loopInOutItemSub(jp.ne.mki.wedge.run.client.data.Item inItem,
                               jp.ne.mki.wedge.run.client.data.Item outItem,
                               int index)
loopInOutItem()から呼び出されるメソッドです。ユーザが任意に記述をします。


setErrorMessageMustInComp

public void setErrorMessageMustInComp(int itemCount,
                                      java.lang.String compType)
入力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。

パラメータ:
mustCount - 必須であるデータ数

setErrorMessageMustOutComp

public void setErrorMessageMustOutComp(int itemCount,
                                       java.lang.String compType)
出力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。 エラーメッセージに設定まで行います。

パラメータ:
mustCount - 必須であるデータ数

getLogicClassType

public jp.ne.mki.wedge.run.enums.LogicClassType getLogicClassType()
ロジッククラスタイプを取得します。

定義:
インタフェース RuleEngineInterface 内の getLogicClassType
戻り値:
LogicClassType.CLIENT
導入されたバージョン:
1.3.0-03