Interface Adapter
- 
- All Known Subinterfaces:
- PropertyAdapter,- SearchablePropertyAdapter
 - All Known Implementing Classes:
- AbstractPropertyAdapter,- AbstractQueryAdapter,- AbstractTagAdapter,- ActionAdapter,- CellUpdateAdapter,- ExpressionPropertyAdapter,- ExtensibleBinding,- IndirectTagBindingAdapter,- IndirectUDTTagAdapter,- NamedQueryAdapter,- SimpleBoundColorAdapter,- SimpleBoundPropertyAdapter,- SimpleBoundTagAdapter,- SQLPropertyAdapter,- TagHistoryAdapter,- UDTTagAdapter
 
 public interface AdapterAn adapter is essentially a rider on a component that affects or augments the component's normal behavior in some way. The two common types of adapters are PropertyAdapters and ActionAdapters. PropertyAdapters are associated with one property of the target component, usually setting it to the value of something else.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceAdapter.ValueHolder
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconnect(VisionClientContext appContext)Notifies the adapter that it should connect any listeners that it needs.voiddisconnect()Notifies the adapter that it should disconnect any listeners.InteractionDescriptor[]getInteractions()Retrieves an array of the interactions that this adapter depends on.java.awt.ComponentgetTarget()The target component is the component that this adapter serves.booleanisValid()Returns true if this adapter's configuration is valid.voidsetTarget(java.awt.Component c)voidshutdown()Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.voidstartup()Notifies the adapter that it is becoming active, and should start any polling/threaded activities.
 
- 
- 
- 
Method Detail- 
startupvoid startup() Notifies the adapter that it is becoming active, and should start any polling/threaded activities.
 - 
shutdownvoid shutdown() Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.
 - 
disconnectvoid disconnect() Notifies the adapter that it should disconnect any listeners.
 - 
connectvoid connect(VisionClientContext appContext) Notifies the adapter that it should connect any listeners that it needs. Adapters will remain connected throughout their lifetime, even when they are dormant
 - 
getInteractionsInteractionDescriptor[] getInteractions() Retrieves an array of the interactions that this adapter depends on. An interaction descriptor describes an inter-component interaction.
 - 
getTargetjava.awt.Component getTarget() The target component is the component that this adapter serves. This means it is the target of a property adapter or the source of events for an action adapter.
 - 
setTargetvoid setTarget(java.awt.Component c) 
 - 
isValidboolean isValid() Returns true if this adapter's configuration is valid. This somewhat of a hack, to detect if something has gone wrong with the adapter (due do serialization, we think?)
 
- 
 
-