クラス AbstractClient
java.lang.Object
jp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractClient
- すべての実装されたインタフェース:
ClientInterface,CommonInterface,jp.ne.mki.wedge.run.interfaces.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
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 -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明boolean現在のカレントコンポーネントのAfterを実行します 戻り値に false が返ってきた場合には After処理にて STOP,STOP_SELECT_ALL の戻り値が 返された もしくは setFocus 処理により任意のコンポーネントにフォーカス遷移した などの状態を指します。intロジッククラス実行intexecuteRule(String rulePName) ロジッククラスの実行ロジッククラスに設定されている Adapterの物理名称取得protected jp.ne.mki.wedge.run.client.data.BusinessRulegetClientRuleObject(String rulePName) ロジッククラスオブジェクトの取得現在実行対象となっているコンポーネントを取得。static JComponentgetComponent(jp.ne.mki.wedge.run.interfaces.DataInterface data) コンポーネント取得jp.ne.mki.wedge.common.library.HashVector画面のGUIコンポーネント群取得 全てのコンポーネントは jp.ne.mki.wedge.run.event.ComponentInterface にCast可能です。protected jp.ne.mki.wedge.run.client.main.RunClientConfConfigオブジェクト取得protected StringConfで指定されたイメージパスの取得ContentPane取得現在選択されているコンポーネント取得jp.ne.mki.wedge.run.client.main.Desktop推奨されていません。int現在実行対象となっている実行モジュールのインデックス実行パラメータの取得int現在実行対象となっているイベントタイミングを取得現在実行対象となっている実行モジュールを取得次にフォーカス取得予定コンポーネント Afterの実行が、マウスによって他のコンポーネントをClickしたことによる フォーカス移動で発生した場合、Click対象のコンポーネントが設定される。jp.ne.mki.wedge.run.client.event.FrameInterfacegetFrame()Frame取得jp.ne.mki.wedge.run.client.event.FrameRunnerInterfaceFrameRunnerの参照を取得protected ImageIcongetImageIcon(String path) イメージ取得 取得方法は以下の通り。jp.ne.mki.wedge.run.client.data.ItemgetInItem(int line) InputRecordのindexによる取得jp.ne.mki.wedge.run.client.data.ItemInputRecordの取得jp.ne.mki.wedge.common.library.HashVectorgetItems()画面のアイテム群取得 全てのコンポーネントは、jp.ne.mki.wedge.run.data.Item にCast可能です。jp.ne.mki.wedge.run.enums.LogicClassTypeロジッククラスタイプを取得します。jp.ne.mki.wedge.run.client.control.ManagerManager取得共通メモリ(ClientMemoryArea) 格納オブジェクト取得jp.ne.mki.wedge.run.client.data.ItemgetOutItem(int line) OutputRecordの取得jp.ne.mki.wedge.run.client.data.ItemgetOutItem(String key) OutputRecordの取得getParameter(String key) 起動パラメータを取得するgetReturnString(int ret) 戻り値文字列取得画面リビジョン番号を取得するbooleanisApplet()Java Applet で実行されているかどうかbooleanJava Application で実行されているかどうかbooleanクライアントトレースモードかどうかbooleanコンパイルされているかどうかbooleanisJWS()JWS で実行されているかどうかサーバートレースモードかどうか WebtribeのみbooleanisWeb()推奨されていません。isApplet() に置き換わりました。static voidLog の吐き出し SwingデフォルトのLogRecordにてログを出力します。protected intinRecordに設定されているItem(Data)数ループを発生させる。protected intloopInItemSub(jp.ne.mki.wedge.run.client.data.Item inItem, int index) loopInItem()から呼び出されるメソッドです。protected intinRecord、outRecordに設定されているItem(Data)数ループを発生させる。protected intloopInOutItemSub(jp.ne.mki.wedge.run.client.data.Item inItem, jp.ne.mki.wedge.run.client.data.Item outItem, int index) loopInOutItem()から呼び出されるメソッドです。protected intoutRecordに設定されているItem(Data)数ループを発生させる。protected intloopOutItemSub(jp.ne.mki.wedge.run.client.data.Item outItem, int index) loopOutRecord()から呼び出されるメソッドです。voidsetEngineManager(jp.ne.mki.wedge.run.interfaces.EngineManagerInterface manager) 実行しているエンジンのManagerを設定するvoidsetErrorMessageMustInComp(int itemCount, String compType) 入力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。voidsetErrorMessageMustOutComp(int itemCount, String compType) 出力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。voidsetExecuteParameter(String parameter) 実行パラメータの設定voidsetFocus(jp.ne.mki.wedge.run.interfaces.DataInterface data) Focus設定 全選択はなしvoidsetFocus(jp.ne.mki.wedge.run.interfaces.DataInterface data, boolean isSelectAll) Focus設定voidsetFocus(jp.ne.mki.wedge.run.interfaces.DataInterface data, int row, boolean isSelectAll) Focus設定 対象がテーブルの場合には、引数の行数を反映してフォーカスを設定するprotected static voidFrameRunnerにエラーステータスを設定するvoidsetPropertyFromEngine(String key, Object object) 各エンジンから任意の情報を設定する。voidsetStatusBarText(String text) ステータスバー設定static voidshowErrorDialog(Container container, String message) 推奨されていません。int画面起動int画面起動 (インスタンス名指定版) 入出レコードは、ロジッククラスのレコードを使用します。intshowFrame(String frameName, String instanceName, jp.ne.mki.wedge.common.library.HashVector frameInRecord, jp.ne.mki.wedge.common.library.HashVector frameOutRecord) 画面起動intshowFrame(String frameName, jp.ne.mki.wedge.common.library.HashVector frameInRecord, jp.ne.mki.wedge.common.library.HashVector frameOutRecord) 画面起動void終了処理protected static voidwriteErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, String message) 推奨されていません。protected static voidwriteErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, String message, Throwable th) 推奨されていません。voidwriteErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, String message, Throwable th, AbstractBase rule) エラーLog の吐き出し Levelは WARNING で出力されます。protected static voidwriteTraceLog(jp.ne.mki.wedge.run.client.control.Manager manager, 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
ロジッククラス実行- 定義:
executeRuleインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- オーバーライド:
executeRuleクラス内AbstractBase- 戻り値:
- int
- 例外:
Throwable
-
terminate
public void terminate()終了処理- 定義:
terminateインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- オーバーライド:
terminateクラス内AbstractBase
-
getReturnString
戻り値文字列取得- 定義:
getReturnStringインタフェース内CommonInterface- 定義:
getReturnStringインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- オーバーライド:
getReturnStringクラス内AbstractBase- パラメータ:
ret- 戻り値- 戻り値:
- String
-
setEngineManager
public void setEngineManager(jp.ne.mki.wedge.run.interfaces.EngineManagerInterface manager) クラスからコピーされた説明:AbstractBase実行しているエンジンのManagerを設定する- 定義:
setEngineManagerインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- オーバーライド:
setEngineManagerクラス内AbstractBase- パラメータ:
manager- 実行しているエンジンのManager
-
getManager
public jp.ne.mki.wedge.run.client.control.Manager getManager()Manager取得- 定義:
getManagerインタフェース内ClientInterface- 戻り値:
- Manager
-
getAdapterName
ロジッククラスに設定されている Adapterの物理名称取得- 戻り値:
- adapterName
- 導入されたバージョン:
- Ver1.1.1
-
setPropertyFromEngine
各エンジンから任意の情報を設定する。- 定義:
setPropertyFromEngineインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- オーバーライド:
setPropertyFromEngineクラス内AbstractBase- パラメータ:
key-object-
-
getInItem
public jp.ne.mki.wedge.run.client.data.Item getInItem(int line) InputRecordのindexによる取得- 定義:
getInItemインタフェース内ClientInterface- パラメータ:
int- 行番号- 戻り値:
- Item
-
getInItem
InputRecordの取得- 定義:
getInItemインタフェース内ClientInterface- パラメータ:
String- アイテムの物理名称- 戻り値:
- Item
-
getOutItem
public jp.ne.mki.wedge.run.client.data.Item getOutItem(int line) OutputRecordの取得- 定義:
getOutItemインタフェース内ClientInterface- パラメータ:
int- 行番号- 戻り値:
- DataInterface
-
getOutItem
OutputRecordの取得- 定義:
getOutItemインタフェース内ClientInterface- パラメータ:
String- アイテムの物理名称- 戻り値:
- Item
-
setFrameRunnerErrorStatus
protected static void setFrameRunnerErrorStatus()FrameRunnerにエラーステータスを設定する -
writeErrorLog
public void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, String message, Throwable th, AbstractBase rule) エラーLog の吐き出し Levelは WARNING で出力されます。- パラメータ:
manager-message-th-rule-
-
log
Log の吐き出し SwingデフォルトのLogRecordにてログを出力します。- パラメータ:
level-message-th-- 導入されたバージョン:
- ver1.2
-
showErrorDialog
推奨されていません。エラーダイアログを表示する- パラメータ:
message-
-
writeTraceLog
protected static void writeTraceLog(jp.ne.mki.wedge.run.client.control.Manager manager, String message) 推奨されていません。TraceLog の吐き出し Levelは FINER で出力されます。- パラメータ:
message-wedgeLog-
-
writeErrorLog
protected static void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, String message, Throwable th) 推奨されていません。エラーLog の吐き出し Levelは WARNING で出力されます。 エラーダイアログも表示されます。 FrameRunnerにエラーステータスを設定します。- パラメータ:
message-wedgeLog-
-
writeErrorLog
protected static void writeErrorLog(jp.ne.mki.wedge.run.client.control.Manager manager, String message) 推奨されていません。エラーLog の吐き出し Levelは WARNING で出力されます。 エラーダイアログも表示されます。 FrameRunnerにエラーステータスを設定します。- パラメータ:
manager-message-
-
getExecuteParameter
実行パラメータの取得- 戻り値:
- String
-
setExecuteParameter
実行パラメータの設定 -
setStatusBarText
ステータスバー設定- パラメータ:
String-
-
getContentPane
ContentPane取得- 戻り値:
- Container
-
getFrame
public jp.ne.mki.wedge.run.client.event.FrameInterface getFrame()Frame取得- 戻り値:
- FrameInterface
-
setFocus
public void setFocus(jp.ne.mki.wedge.run.interfaces.DataInterface data, boolean isSelectAll) Focus設定- パラメータ:
DataInterface- フォーカスを設定したいDataboolean- 全選択にするかどうか true:全選択 false:選択なし
-
setFocus
public void setFocus(jp.ne.mki.wedge.run.interfaces.DataInterface data) Focus設定 全選択はなし- パラメータ:
DataInterface- フォーカス設定したい項目
-
setFocus
public void setFocus(jp.ne.mki.wedge.run.interfaces.DataInterface data, int row, boolean isSelectAll) Focus設定 対象がテーブルの場合には、引数の行数を反映してフォーカスを設定する- パラメータ:
DataInterface- フォーカス設定したい項目int- 行番号(0から始まる)boolean- 全選択するかどうか
-
getComponent
コンポーネント取得- パラメータ:
DataInterface- Data- 戻り値:
- JComponent
-
getCurrentComponent
現在選択されているコンポーネント取得- 戻り値:
- JComponent
-
getExpectNextComponent
次にフォーカス取得予定コンポーネント Afterの実行が、マウスによって他のコンポーネントをClickしたことによる フォーカス移動で発生した場合、Click対象のコンポーネントが設定される。- 戻り値:
- JComponent
-
showFrame
画面起動- パラメータ:
String- 起動したい画面の物理名称- 戻り値:
- int onLoadイベント実行結果 入出レコードは、ロジッククラスのレコードを使用します。
-
showFrame
画面起動 (インスタンス名指定版) 入出レコードは、ロジッククラスのレコードを使用します。- パラメータ:
String- 起動したい画面のリポジトリ物理名称String- インスタンス名称- 戻り値:
- int onLoadイベント実行結果
-
showFrame
public int showFrame(String frameName, jp.ne.mki.wedge.common.library.HashVector frameInRecord, jp.ne.mki.wedge.common.library.HashVector frameOutRecord) 画面起動- パラメータ:
String- 起動したい画面の物理名称HashVector- フレームの入力引数HashVector- フレームの出力引数- 戻り値:
- int onLoadイベント実行結果
-
showFrame
public int showFrame(String frameName, String instanceName, jp.ne.mki.wedge.common.library.HashVector frameInRecord, jp.ne.mki.wedge.common.library.HashVector frameOutRecord) 画面起動- パラメータ:
String- 起動したい画面のリポジトリ物理名称String- インスタンス名称HashVector- フレームの入力引数HashVector- フレームの出力引数- 戻り値:
- int onLoadイベント実行結果
-
executeRule
ロジッククラスの実行- パラメータ:
String- 起動したいロジッククラスの物理名称- 戻り値:
- int 結果 指定したロジッククラスが見つからなかったときには、USER_ERRPRを返す
-
getClientRuleObject
ロジッククラスオブジェクトの取得- パラメータ:
String- 取得したいロジッククラスの物理名称- 戻り値:
- BusinessRule ロジッククラスオブジェクト
-
getConfImagePath
Confで指定されたイメージパスの取得- 戻り値:
- String イメージパス
-
getConfig
protected jp.ne.mki.wedge.run.client.main.RunClientConf getConfig()Configオブジェクト取得- 戻り値:
- String イメージパス
-
getImageIcon
イメージ取得 取得方法は以下の通り。 1.pathにプロトコルがない場合、 1-1.Config にイメージパスが指定されている場合、イメージパスから検索 1-2.上記以外の場合、CLASSPATH から検索 1-2.で取得できなかった場合、CodeBaseより検索 2.pathにプロトコルがある場合、ファイル名から URL を生成- パラメータ:
Stringing- ファイル名- 戻り値:
- ImageIcon イメージ
-
getComponent
現在実行対象となっているコンポーネントを取得。FrameのLOAD/UNLOAD処理の時はnull。- 戻り値:
- JComponent
-
getExecuteTiming
public int getExecuteTiming()現在実行対象となっているイベントタイミングを取得- 戻り値:
- int
-
getExecuteIndex
public int getExecuteIndex()現在実行対象となっている実行モジュールのインデックス- 戻り値:
- int
-
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 jp.ne.mki.wedge.run.client.event.FrameRunnerInterface getFrameRunner()FrameRunnerの参照を取得- 戻り値:
- 導入されたバージョン:
- ver1.2
-
getMemory
共通メモリ(ClientMemoryArea) 格納オブジェクト取得- 戻り値:
-
getComponents
public jp.ne.mki.wedge.common.library.HashVector getComponents()画面のGUIコンポーネント群取得 全てのコンポーネントは jp.ne.mki.wedge.run.event.ComponentInterface にCast可能です。 keyにはリポジトリIDが設定されているため、 該当のコンポーネントを探し出すためには ComponentInterfaceにCastし、物理名より探し出す 必要があります。- 戻り値:
-
getItems
public jp.ne.mki.wedge.common.library.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
サーバートレースモードかどうか 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
起動パラメータを取得する- パラメータ:
key-- 戻り値:
-
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
入力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。- パラメータ:
mustCount- 必須であるデータ数
-
setErrorMessageMustOutComp
出力レコードに指定のコンポーネント指定されていないときのエラー エラーメッセージに設定まで行います。 エラーメッセージに設定まで行います。- パラメータ:
mustCount- 必須であるデータ数
-
getLogicClassType
public jp.ne.mki.wedge.run.enums.LogicClassType getLogicClassType()ロジッククラスタイプを取得します。- 定義:
getLogicClassTypeインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- LogicClassType.CLIENT
- 導入されたバージョン:
- 1.3.0-03
-