|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface LinkPropertiesInterface
The LinkPropertiesInterface interface allows the values of IDE properties on multiple components to be linked to one another such that when a property value changes, all property values which are linked to it get the new value.
Property links are generally sent from one component to another during a set accessor method call. Some set accessors check to make sure the set operation actually changes the value of the property. In such cases, the PropertyChangeEvent is only sent if the value changes. To prevent infinite loops in cases where a check is not made, the PropertyChangeEvent handler, propertyChanged, implements "Link Loop Avoidance". To avoid loops, each PropertyChangeEvent keeps a history of the property changes (ie. component/property pair) that have led up to this PropertyChangeEvent being sent. If a call to firePropertyChange would cause a loop, the call is short circuited since it should not result in an actual property value change.
| Method Summary | |
|---|---|
abstract void |
addLink(java.lang.String property,
ComponentInterface source_component,
java.lang.String source_property)
addLink() adds a link between property on this component and source_property on source_component. |
abstract LinkPropertiesInfo |
getLinkInfo()
This method is not intended to be used by SAS customers. |
abstract boolean |
isLinked(java.lang.String property,
ComponentInterface source_component,
java.lang.String source_property)
isLinked() determines if property on this component is linked to source_property on source_component. |
abstract PropertyLinkInfo[] |
queryLinks()
queryLinks() returns an array of PropertyLinkInfo objects containing information about properties on this component which are linked to properties on this or other components. |
abstract PropertyLinkInfo[] |
queryLinks(java.lang.String property)
queryLinks() returns an array of PropertyLinkInfo objects containing information about the links to the specified property. |
abstract void |
removeAllLinks()
removeAllLinks() removes all the links on this component. |
abstract void |
removeLink(java.lang.String property,
ComponentInterface source_component,
java.lang.String source_property)
removeLink() removes a link between property on this component and source_property on source_component. |
abstract void |
setLinkInfo(LinkPropertiesInfo info)
This method is not intended to be used by SAS customers. |
| Method Detail |
|---|
void addLink(java.lang.String property,
ComponentInterface source_component,
java.lang.String source_property)
Adding a link that already exists does nothing.
property - The property to be linked to source_property on source_component.source_component - The component with source_property.source_property - The property on source_component.removeLink(java.lang.String, com.sas.ComponentInterface, java.lang.String)
void removeLink(java.lang.String property,
ComponentInterface source_component,
java.lang.String source_property)
property - The property currently linked to source_property on source_component.source_component - The component with source_property.source_property - The property on source_component.addLink(java.lang.String, com.sas.ComponentInterface, java.lang.String),
removeAllLinks()void removeAllLinks()
removeLink(java.lang.String, com.sas.ComponentInterface, java.lang.String)PropertyLinkInfo[] queryLinks(java.lang.String property)
property - The property to return the list of links for.
addLink(java.lang.String, com.sas.ComponentInterface, java.lang.String),
PropertyLinkInfoPropertyLinkInfo[] queryLinks()
PropertyLinkInfo,
addLink(java.lang.String, com.sas.ComponentInterface, java.lang.String),
queryLinks(java.lang.String)
boolean isLinked(java.lang.String property,
ComponentInterface source_component,
java.lang.String source_property)
property - The property potentially linked to source_property on source_component.source_component - The component with source_property.source_property - The property on source_component.
addLink(java.lang.String, com.sas.ComponentInterface, java.lang.String),
queryLinks(java.lang.String)LinkPropertiesInfo getLinkInfo()
getLinkInfo() returns an instance of LinkPropertiesInfo which contains the data needed by LinkPropertiesInterfaceSupport to implement the LinkPropertiesInterface.
LinkPropertiesInterfaceSupportvoid setLinkInfo(LinkPropertiesInfo info)
setLinkInfo() sets an instance of LinkPropertiesInfo which contains the data needed by LinkPropertiesInterfaceSupport to implement the LinkPropertiesInterface.
LinkPropertiesInterfaceSupport
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||