public abstract class ObjectAdapter extends Object implements ObjectCalling, ObjectMessages
CHAR, CHECK, CLK, CLOSE, CMD, CRT, DBLCLK, DEFOC, FOC, HCHG, HIDDEN, QMSG, RECRT, REM, SEL, SHOW, START, UCHG, XLATE
OBJACT_CHAR, OBJACT_CHECK, OBJACT_CLICK, OBJACT_CLOSE, OBJACT_COMMAND, OBJACT_CREATE, OBJACT_DBLCLICK, OBJACT_DDECONNECTION, OBJACT_DDEDATA, OBJACT_DDEERROR, OBJACT_DDEEXECUTE, OBJACT_DDEPOKE, OBJACT_DDEREQUEST, OBJACT_DDEVALIDATE, OBJACT_DEFOCUS, OBJACT_DESTROY, OBJACT_FOCUS, OBJACT_HIDDEN, OBJACT_HOSTCHANGE, OBJACT_LAST_MESSAGE_HANDLED, OBJACT_QUERYMSG, OBJACT_RECREATE, OBJACT_SELECT, OBJACT_SHOW, OBJACT_START, OBJACT_TRANSLATE, OBJACT_USERCHANGE, PHA_ICO_INFO, PHA_ICO_NOICON, PHA_ICO_QUESTION, PHA_ICO_STOP, PHA_ICO_WARNING, PHA_MSG_CANCEL, PHA_MSG_ENTER, PHA_MSG_ENTERCANCEL, PHA_MSG_OK, PHA_MSG_OKCANCEL, PHA_MSG_RETIGNCANCEL, PHA_MSG_RETRYCANCEL, PHA_MSG_YESNO, PHA_MSG_YESNOCANCEL
Constructor and Description |
---|
ObjectAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
getReturnString()
Gets the return string for the object.
|
VirtualInterface |
getVirtualInterface()
Internal function to get the virtual interface to the calling object.
|
PhantomWorker |
getWorker()
Internal function to get the interface to the PhantomWorker class.
|
void |
setReturnString(String s)
Sets the return string for the object.
|
void |
setVirtualInterface(VirtualInterface vi)
Internal function to setup the virtual interface to the calling object.
|
void |
setWorker(PhantomWorker p)
Internal function to setup the interface to the PhantomWorker class.
|
abstract void |
start(String argId,
int argMsg,
String argStr)
This is the function that starts the Java object.
|
public String getReturnString()
ObjectCalling
getReturnString
in interface ObjectCalling
public VirtualInterface getVirtualInterface()
ObjectCalling
getVirtualInterface
in interface ObjectCalling
public PhantomWorker getWorker()
ObjectCalling
getWorker
in interface ObjectCalling
public void setReturnString(String s)
ObjectCalling
setReturnString
in interface ObjectCalling
public void setVirtualInterface(VirtualInterface vi)
ObjectCalling
setVirtualInterface
in interface ObjectCalling
public void setWorker(PhantomWorker p)
ObjectCalling
setWorker
in interface ObjectCalling
public abstract void start(String argId, int argMsg, String argStr) throws Exception
Every derived Java class should override this method.
Valid messages are CRT, REM, UCHG, HCHG, FOC, DEFOC, CLK, DBLCLK, CMD, SEL, CLOSE, CHAR, CHECK, HIDDEN, RECRT, XLATE, START, SHOW, QMSG, DDEPOKE, DDEEXEC, DDEREQ, DDEVAL, DDECONN, DDEERR and DDEDATA).
start
in interface ObjectCalling
Exception
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.