Adapter.ValueHolder
Modifier and Type | Field and Description |
---|---|
static int |
MODE_DB |
static int |
MODE_NAV |
static int |
MODE_PROPSET |
static int |
MODE_SCRIPT |
static int |
MODE_TAGSET |
Constructor and Description |
---|
ActionAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
connect(VisionClientContext appContext)
Notifies the adapter that it should connect any listeners that it needs.
|
protected java.lang.Object |
createListener() |
void |
disconnect()
Notifies the adapter that it should disconnect any listeners.
|
protected boolean |
eventsDisabled() |
java.util.Map<java.lang.String,java.lang.Object> |
getBuilderInfo() |
int |
getBuilderMode() |
java.beans.EventSetDescriptor |
getEventSet() |
InteractionDescriptor[] |
getInteractions()
Retrieves an array of the interactions that this adapter depends on.
|
java.lang.String |
getJythonCode() |
java.beans.MethodDescriptor |
getMethodDescriptor() |
ScriptScopeStyle |
getScopeStyle() |
java.awt.Component |
getTarget()
The target component is the component that this adapter serves.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
boolean |
isInvokeLater() |
boolean |
isValid()
Returns true if this adapter's configuration is valid.
|
void |
setBuilderInfo(java.util.Map<java.lang.String,java.lang.Object> builderInfo) |
void |
setBuilderMode(int builderMode) |
void |
setConnected(boolean b)
Deprecated.
|
void |
setEventSet(java.beans.EventSetDescriptor descriptor) |
void |
setInvokeLater(boolean invokeLater) |
void |
setJythonCode(java.lang.String string) |
void |
setListenerProxy(java.lang.Object object)
Deprecated.
|
void |
setMethodDescriptor(java.beans.MethodDescriptor descriptor) |
void |
setScopeStyle(ScriptScopeStyle scopeStyle) |
void |
setTarget(java.awt.Component c) |
void |
shutdown()
Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.
|
void |
startup()
Notifies the adapter that it is becoming active, and should start any polling/threaded activities.
|
public static final int MODE_SCRIPT
public static final int MODE_DB
public static final int MODE_NAV
public static final int MODE_PROPSET
public static final int MODE_TAGSET
public boolean isValid()
Adapter
public void disconnect()
Adapter
disconnect
in interface Adapter
public void connect(VisionClientContext appContext)
Adapter
public InteractionDescriptor[] getInteractions()
Adapter
getInteractions
in interface Adapter
public java.awt.Component getTarget()
Adapter
public void startup()
Adapter
public void shutdown()
Adapter
public java.beans.EventSetDescriptor getEventSet()
public java.beans.MethodDescriptor getMethodDescriptor()
@Deprecated public void setConnected(boolean b)
public void setEventSet(java.beans.EventSetDescriptor descriptor)
@Deprecated public void setListenerProxy(java.lang.Object object)
public void setMethodDescriptor(java.beans.MethodDescriptor descriptor)
public java.lang.String getJythonCode()
public void setJythonCode(java.lang.String string)
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
protected boolean eventsDisabled()
protected java.lang.Object createListener()
public java.util.Map<java.lang.String,java.lang.Object> getBuilderInfo()
public void setBuilderInfo(java.util.Map<java.lang.String,java.lang.Object> builderInfo)
public int getBuilderMode()
public void setBuilderMode(int builderMode)
public ScriptScopeStyle getScopeStyle()
public void setScopeStyle(ScriptScopeStyle scopeStyle)
public void setInvokeLater(boolean invokeLater)
public boolean isInvokeLater()