public interface HSAdapterDelegate
| Modifier and Type | Interface and Description |
|---|---|
static class |
HSAdapterDelegate.Type
An enum for the sorts of registrations types available.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesTo(TechnologyScope techScope)
Determines if a tech scope is "covered" by this delegate
|
java.lang.Object |
delegate(java.lang.String dataKey,
HashStructureNode hsNode)
The main method of the class.
|
java.awt.Component |
getPreview(java.lang.String dataKey,
HashStructureNode hsNode)
The component that is to be shown as a "preview" for th given
dataKey |
void |
pushValue(java.lang.String dataKey,
HashStructureNode hsNode,
java.lang.Object value)
The "setter" for the below
dataKey. |
java.lang.Object delegate(java.lang.String dataKey,
HashStructureNode hsNode)
dataKey for the given hsNode
to return an Object that should be of the same type as when the dataKey were not delegated.dataKey - the dataKey that is to be delegatedhsNode - the hash structure node for which this delegate is to be appliednull when the delegate is not supposed to be delegated; otherwise, the value for this keyvoid pushValue(java.lang.String dataKey,
HashStructureNode hsNode,
java.lang.Object value)
dataKey. This can be used by the HSAdapterDelegate
to get when this key is being set from code outside the delegate.dataKey - the dataKey that is to be delegatedhsNode - the hash structure node for which this delegate is to be setvalue - the value being setjava.awt.Component getPreview(java.lang.String dataKey,
HashStructureNode hsNode)
dataKeydataKey - the dataKey that is to be delegatedhsNode - the hash structure node for which a preview component is requestedboolean appliesTo(TechnologyScope techScope)
techScope - the tech scope of thetrue if the adapter delegate covers this tech scope