|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractClient
jp.ne.mki.wedge.sample.client.component.table.SetTableEditableDelegate
テーブルセル単位にて編集可・不可を制御するサンプルです。
このサンプルでは、値がマイナス値だった場合には 編集不可にします。
セル単位にて編集可・不可を制御する為には、このコードのように、TableEditableDelegate を
実装したクラスを作成し、DefaultTable#setEditableDelegate に設定します。
このルールは、画面LOAD時に設定してください。
InputRecord | OutputRecord |
---|---|
テーブルコンポーネントが割り当てられたアイテム |
Parameter |
---|
このクラスはサンプル提供のクラスです。
そのままお使い頂く事/修正して使用して頂く事 は可能ですが、
サポート対象外とさせて頂きます。
独自でクラス作成する際の参考資料としてお使いください。
フィールドの概要 |
インタフェース 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 |
コンストラクタの概要 | |
SetTableEditableDelegate()
|
メソッドの概要 | |
void |
dispose()
画面終了時処理 |
int |
execute()
Delegateクラスをテーブルに設定 |
void |
exit()
ルール終了時処理 |
int |
getIOParameter()
出力引数の0番目よりテーブルコンポーネントを取得 |
クラス jp.ne.mki.wedge.rule.base.AbstractClient から継承したメソッド |
executeCurrentAfter, executeRule, executeRule, getAdapterName, getCodeBase, getComponent, getComponent, getComponents, getContentPane, getCurrentComponent, getDesktop, getExecuteIndex, getExecuteParameter, getExecuteTiming, getExecutions, getExpectNextComponent, getFrame, getFrameRunner, getInItem, getInItem, getItems, getManager, getMemory, getOutItem, getOutItem, getParameter, getReturnString, getRevision, isApplet, isApplication, isClientTraceMode, isConpiled, isJWS, isServerTraceMode, isWeb, setErrorMessageMustInComp, setErrorMessageMustOutComp, setExecuteParameter, setFocus, setFocus, setFocus, setManager, setPropertyFromEngine, setStatusBarText, setWedgeLog, showDocument, showErrorDialog, showErrorDialog, showErrorDialog, showFrame, showFrame, terminate, writeErrorLog, writeErrorLog, writeLog, writeLog |
クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承したメソッド |
createErrorMessage, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantValue, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutputHtml, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, setControlRecord, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setHtmlManager, setId, setInRecord, setLogicalName, setOutputHtml, setOutRecord, setPhysicalName, setRuleParameter, setRuleType, setServerControlData, setServerParameter, setUserConstant, showErrorDialogAddRuleName, writeTraceLog |
クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承したメソッド |
getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutRecord, getOutRecord, getOutRecord, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getRuleParameter, getRuleParameters, getRuleType, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, setExecuteType, setRuleType, setServerParameter, showErrorDialogAddRuleName, writeTraceLog |
コンストラクタの詳細 |
public SetTableEditableDelegate()
メソッドの詳細 |
public int getIOParameter() throws java.lang.Throwable
java.lang.Throwable
public int execute() throws java.lang.Throwable
java.lang.Throwable
public void exit() throws java.lang.Throwable
java.lang.Throwable
public void dispose() throws java.lang.Throwable
java.lang.Throwable
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |