jp.ne.mki.wedge.rule.client.component.frame
$B%/%i%9(B SetFunctionKeyMapToButton

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.base.AbstractBase
        |
        +--jp.ne.mki.wedge.rule.base.AbstractClient
              |
              +--jp.ne.mki.wedge.rule.client.component.frame.SetFunctionKeyMapToButton
$B$9$Y$F$N
ClientInterface, CommonInterface, RuleEngineInterface

public class SetFunctionKeyMapToButton
extends AbstractClient

$B%\%?%s$K(BFunctionKey$B$N(BKeyMap$BDI2C(B

In(0)$B$K;XDj$5$l$?%"%$%F%`$N%\%?%s%3%s%]!<%M%s%H(B)$B$KBP$7$F!"2hLL$K%U%)!<%+%9$,Ev$?$C$F$$$k$H$-(B(JComponent.WHEN_IN_FOCUSED_WINDOW)$B$N(BInputMap$B$K%Q%i%a!<%?$G;XDj$5$l$?(B $B%-!<$r!"DI2C(B(put)$B$7$^$9!#(B
$B!!!!!!$3$N@_Dj$K$h$j!"%7%g!<%H%+%C%H%-!<$NEPO?$,9T$($^$9!#C"$7!"(BModifier$B$NEPO?$O9T$($^$;$s!#(BModifier$B$r(BAlt$B$K$7$?$$>l9g$K$O%K!<%b%K%C%/%-!<$r;HMQ$7$F$/$@$5$$!#(B
$B$3$N%m%8%C%/%/%i%9$G$O!"(BInputMap$B$KBP$7$F(BPut$B$N$_9T$$$^$9!#$3$N%m%8%C%/%/%i%9 $B!!!!!!(BKeyMap$B=PMh$k%\%?%s%3%s%]!<%M%s%H$O0l$D$N$_$K$J$j$^$9(B


[I/O RECORD]

InputRecord OutputRecord
$B@_Dj$9$k%\%?%s%3%s%]!<%M%s%H$,3d$jEv$F$i$l$?%"%$%F%`(B($B0l$D(B)

[RULE PARAMETER]

Parameter $B%U%!%s%/%7%g%s%-!<$NL>>N(B(F1,F2(I%%%(B)

$B%P!<%8%g%s(B:
1.0

$B%U%#!<%k%I$N35MW(B
($B%Q%C%1!<%8%W%i%$%Y!<%H(B)  javax.swing.AbstractButton button
           
($B%Q%C%1!<%8%W%i%$%Y!<%H(B)  int keyId
           
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractBase $B$+$i7Q>5$7$?%U%#!<%k%I(B
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
 
$B%$%s%?%U%'!<%9(B jp.ne.mki.wedge.rule.base.interfaces.ClientInterface $B$+$i7Q>5$7$?%U%#!<%k%I(B
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
 
$B%$%s%?%U%'!<%9(B jp.ne.mki.wedge.rule.base.interfaces.CommonInterface $B$+$i7Q>5$7$?%U%#!<%k%I(B
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
 
$B%3%s%9%H%i%/%?$N35MW(B
SetFunctionKeyMapToButton()
           
 
$B%a%=%C%I$N35MW(B
 int execute()
          $B%m%8%C%/%/%i%9$N=hM}$r
 void exit()
          $B=*N;=hM}!#(B
protected static int getFunctionKeyNo(java.lang.String keyString)
          $B%U%!%s%/%7%g%s$NJ8;zNs$+$i%-!
 int getIOParameter()
          IO$B%Q%i%a!<%?
protected static void setKeyMap(int key, javax.swing.AbstractButton button)
          $B%\%?%s%3%s%]!<%M%s%H$K(BKeyMap$B$r9T$$$^$9(B
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractClient $B$+$i7Q>5$7$?%a%=%C%I(B
executeCurrentAfter, executeRule, executeRule, getAdapterName, getClientRuleObject, getCodeBase, getComponent, getComponent, getComponents, getConfig, getConfImagePath, getContentPane, getCurrentComponent, getDesktop, getExecuteIndex, getExecuteParameter, getExecuteTiming, getExecutions, getExpectNextComponent, getFrame, getFrameRunner, getImageIcon, getInItem, getInItem, getItems, getManager, getMemory, getOutItem, getOutItem, getParameter, getReturnString, getRevision, isApplet, isApplication, isClientTraceMode, isConpiled, isJWS, isServerTraceMode, isWeb, log, loopInItem, loopInItemSub, loopInOutItem, loopInOutItemSub, loopOutItem, loopOutItemSub, setErrorMessageMustInComp, setErrorMessageMustOutComp, setExecuteParameter, setFocus, setFocus, setFocus, setFrameRunnerErrorStatus, setManager, setPropertyFromEngine, setStatusBarText, setWedgeLog, showDocument, showErrorDialog, showErrorDialog, showFrame, showFrame, showFrame, showFrame, terminate, writeErrorLog, writeErrorLog, writeErrorLog, writeErrorLog, writeLog, writeLog, writeTraceLog
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractBase $B$+$i7Q>5$7$?%a%=%C%I(B
callDispose, createErrorMessage, dataClearOfOutRecord, dataClearOfRecord, dispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, 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, 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, setHtmlManager, setId, setInRecord, setLogicalName, setOutputHtml, setOutRecord, setPhysicalName, setRuleParameter, setRuleType, setServerControlData, setServerParameter, setUserConstant, showErrorDialogAddRuleName, writeTraceLog
 
$B%/%i%9(B java.lang.Object $B$+$i7Q>5$7$?%a%=%C%I(B
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
$B%$%s%?%U%'!<%9(B jp.ne.mki.wedge.rule.base.interfaces.CommonInterface $B$+$i7Q>5$7$?%a%=%C%I(B
dispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getEngineManager, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, 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, showErrorDialogAddRuleName, writeTraceLog
 

$B%U%#!<%k%I$N>\:Y(B

button

javax.swing.AbstractButton button

keyId

int keyId
$B%3%s%9%H%i%/%?$N>\:Y(B

SetFunctionKeyMapToButton

public SetFunctionKeyMapToButton()
$B%a%=%C%I$N>\:Y(B

getIOParameter

public int getIOParameter()
IO$B%Q%i%a!<%?execute $B$NA0$K
$BLa$jCM(B:
int OK=$B=hM}B39T!"(BERROR=$B0[>o=*N;!"(BCANCEL=$B=hM}$rCfCG(B($B@5>o=*N;(B)

execute

public int execute()
$B%m%8%C%/%/%i%9$N=hM}$r
$BLa$jCM(B:
int OK

setKeyMap

protected static void setKeyMap(int key,
                                javax.swing.AbstractButton button)
$B%\%?%s%3%s%]!<%M%s%H$K(BKeyMap$B$r9T$$$^$9(B
$B%Q%i%a!<%?(B:
int - Key$BHV9f(B
AbstractButton - $B3d$jEv$F$k%\%?%s(B

getFunctionKeyNo

protected static int getFunctionKeyNo(java.lang.String keyString)
                               throws java.lang.Exception
$B%U%!%s%/%7%g%s$NJ8;zNs$+$i%-!
$B%Q%i%a!<%?(B:
String - $B%U%!%s%/%7%g%s%-!$BLa$jCM(B:
int $B%-!

exit

public void exit()
$B=*N;=hM}!#J];}$7$F$$$?JQ?t$J$I$r3+J|$9$k=hM}$r5-=R$7$^$9!#(B
execute $B$N8e$K$B@5>o=*N;!&0[>o=*N;$J$I$K4X$o$i$:I,$: