|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A generic link interface. A link supports the following relations.
EndpointProxy for both
target and source
| Method Summary | |
void |
close()
Unlink the from its source and its target link. |
Action |
getAction()
|
java.lang.Object |
getSource()
|
java.lang.Object |
getTarget()
The target of the link. |
boolean |
isActivateOnSetSource()
|
void |
setAction(Action pAction)
|
void |
setActivateOnSetSource(boolean pIsActivate)
|
void |
setActivator(Activator pActivator)
Sets the Activator for this link. |
void |
setSource(java.lang.Object pSource)
Sets and registers the source of this link. |
void |
setSource(java.lang.Object pSource,
java.lang.String pPath)
Sets the source path of the link. |
void |
setTarget(java.lang.Object pTarget)
Sets and registers the target of this link. |
void |
setTarget(java.lang.Object pTarget,
java.lang.String pPath)
Sets the target path of the link. |
| Methods inherited from interface com.iternum.swlink.EndpointObserver |
sourceChanged, targetChanged |
| Method Detail |
public void setActivator(Activator pActivator)
pActivator - - The activator to set.public boolean isActivateOnSetSource()
true if the link activates
if the source is setpublic void setActivateOnSetSource(boolean pIsActivate)
pIsActivate - - true to let
the link activate if the source is setpublic void close()
public java.lang.Object getTarget()
public java.lang.Object getSource()
public void setSource(java.lang.Object pSource)
EndpointProxy
the link add itself as an Observer
with the EndpointProxy and uses the object
wrapped in the proxy as the actual
target
pSource - The source of the link
or an EndpointProxypublic void setTarget(java.lang.Object pTarget)
EndpointProxy
the link add itself as an Observer
with the EndpointProxy and uses the object
wrapped in the proxy as the actual
target
pTarget - The target of the link
or an EndpointProxy
public void setSource(java.lang.Object pSource,
java.lang.String pPath)
pSource - The source of the link
or an EndpointProxypPath - The property path relative to pSource
public void setTarget(java.lang.Object pTarget,
java.lang.String pPath)
pTarget - The target of the link
or an EndpointProxypPath - The property path relative to pTargetpublic void setAction(Action pAction)
pAction - The action the link
should use when the link is activatedpublic Action getAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||