Class IndirectTagBindingAdapter
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
-
- com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
-
- com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter
-
- com.inductiveautomation.factorypmi.application.binding.IndirectTagBindingAdapter
-
- All Implemented Interfaces:
Adapter
,Adapter.ValueHolder
,SearchablePropertyAdapter
,PropertyAdapter
,Blinker
,InteractionListener
,TagChangeListener
,java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.util.EventListener
,javax.swing.event.ChangeListener
public class IndirectTagBindingAdapter extends SimpleBoundTagAdapter implements InteractionListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndirectTagBindingAdapter.IndirectTagPathNode
Represents either a string portion of an indirect tag path, or a reference index part-
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter
SimpleBoundTagAdapter.WriteOp
-
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
AbstractPropertyAdapter.EdtUpdateValue
-
Nested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
Adapter.ValueHolder
-
Nested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
PropertyAdapter.PAType
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter
blinkTask, colorMappingTable, currentColorState, currentWriteOp, inBlink, log, previousValue, updatedValue, updatingProperty, updatingTag
-
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
bidirectional, fallbackDelay, tagPathString
-
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
appContext, isTargetPropertyDynamic, overlayOptOut, target, targetPropertyName, value, valueClass
-
-
Constructor Summary
Constructors Constructor Description IndirectTagBindingAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
childInteractionUpdated()
Called when one of my referenced PLDs is updatedstatic IndirectTagBindingAdapter.IndirectTagPathNode[]
createBasic(QualifiedPath path)
static IndirectTagBindingAdapter.IndirectTagPathNode[]
createBasic(TagPath tagPath)
BindingConfiguration
getBindingConfiguration()
protected TagPath
getCurrentTagPath()
InteractionDescriptor[]
getInteractions()
Retrieves an array of the interactions that this adapter depends on.protected java.lang.String
getLoggerName()
IndirectTagBindingAdapter.IndirectTagPathNode[]
getPathParts()
java.util.Map<java.lang.Integer,PropertyListenerDescriptor>
getReferences()
java.lang.String
getTagPathString()
static IndirectTagBindingAdapter.IndirectTagPathNode[]
parseIndirect(java.lang.String str)
static java.lang.String
pathToString(IndirectTagBindingAdapter.IndirectTagPathNode[] pathParts)
Concatenates the path parts, with references represented in braces, like {1}void
setPathParts(IndirectTagBindingAdapter.IndirectTagPathNode[] pathParts)
void
setReferences(java.util.Map<java.lang.Integer,PropertyListenerDescriptor> references)
void
setTagPathString(java.lang.String tagPathString)
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.-
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter
actionPerformed, connect, disconnect, doBlink, getColorMappingTable, getLogger, isWriteForced, propertyChange, setColorMappingTable, setQValue, stateChanged, tagChanged, toString, updateTarget
-
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractTagAdapter
_getTagPath, _setTagPath, getFallbackDelay, getReferenceType, isBidirectional, setBidirectional, setFallbackDelay
-
Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
getQValue, getTarget, getTargetDesc, getTargetFullPath, getTargetPropertyName, getValueClass, handleError, handleNullToPrimitive, initLogger, isDataUsed, isDataUsed, isOverlayOptOut, isTargetPropertyDynamic, isValid, isValueClassPrimitive, setOverlayOptOut, setSetterMethodName, setTarget, setTargetPropertyDynamic, setTargetPropertyName, setValue, setValueClass, updateQuality, updateValue, useQuality
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
getTarget, isValid, setTarget
-
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
getReferenceType, getTargetPropertyName, setTargetPropertyName
-
Methods inherited from interface com.inductiveautomation.ignition.common.tags.model.event.TagChangeListener
getSecurityContext, isLightweight
-
-
-
-
Method Detail
-
getLoggerName
protected java.lang.String getLoggerName()
- Overrides:
getLoggerName
in classSimpleBoundTagAdapter
-
getBindingConfiguration
public BindingConfiguration getBindingConfiguration()
- Specified by:
getBindingConfiguration
in interfaceSearchablePropertyAdapter
- Overrides:
getBindingConfiguration
in classSimpleBoundTagAdapter
-
startup
public void startup()
Description copied from interface:Adapter
Notifies the adapter that it is becoming active, and should start any polling/threaded activities.- Specified by:
startup
in interfaceAdapter
- Overrides:
startup
in classSimpleBoundTagAdapter
-
shutdown
public void shutdown()
Description copied from interface:Adapter
Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.- Specified by:
shutdown
in interfaceAdapter
- Overrides:
shutdown
in classSimpleBoundTagAdapter
-
childInteractionUpdated
public void childInteractionUpdated()
Called when one of my referenced PLDs is updated- Specified by:
childInteractionUpdated
in interfaceInteractionListener
-
getCurrentTagPath
protected TagPath getCurrentTagPath()
- Overrides:
getCurrentTagPath
in classSimpleBoundTagAdapter
-
getPathParts
public IndirectTagBindingAdapter.IndirectTagPathNode[] getPathParts()
-
setPathParts
public void setPathParts(IndirectTagBindingAdapter.IndirectTagPathNode[] pathParts)
-
getReferences
public java.util.Map<java.lang.Integer,PropertyListenerDescriptor> getReferences()
-
setReferences
public void setReferences(java.util.Map<java.lang.Integer,PropertyListenerDescriptor> references)
-
getInteractions
public InteractionDescriptor[] getInteractions()
Description copied from interface:Adapter
Retrieves an array of the interactions that this adapter depends on. An interaction descriptor describes an inter-component interaction.- Specified by:
getInteractions
in interfaceAdapter
- Overrides:
getInteractions
in classAbstractTagAdapter
-
getTagPathString
public java.lang.String getTagPathString()
- Overrides:
getTagPathString
in classAbstractTagAdapter
-
setTagPathString
public void setTagPathString(java.lang.String tagPathString)
- Overrides:
setTagPathString
in classAbstractTagAdapter
-
pathToString
public static java.lang.String pathToString(IndirectTagBindingAdapter.IndirectTagPathNode[] pathParts)
Concatenates the path parts, with references represented in braces, like {1}
-
createBasic
public static IndirectTagBindingAdapter.IndirectTagPathNode[] createBasic(TagPath tagPath)
-
createBasic
public static IndirectTagBindingAdapter.IndirectTagPathNode[] createBasic(QualifiedPath path)
-
parseIndirect
public static IndirectTagBindingAdapter.IndirectTagPathNode[] parseIndirect(java.lang.String str) throws java.text.ParseException
- Throws:
java.text.ParseException
-
-