public class IlpAbstractRepresentationLink extends IlpAbstractRepresentationNode implements IlpMutableRepresentationLink
IlpRepresentationLink
.IlpDefaultNetworkLink
,
IlpDefaultEquipmentLink
VALUE_NOT_SET
Modifier | Constructor and Description |
---|---|
protected |
IlpAbstractRepresentationLink(IlpAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
Creates a new link.
|
protected |
IlpAbstractRepresentationLink(IlpObject object,
IlpExtendedAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
Creates a new link attached to a business object.
|
Modifier and Type | Method and Description |
---|---|
void |
addRepresentationLinkListener(RepresentationLinkListener listener)
Adds a listener that is notified each time a change to this link occurs.
|
void |
fireRepresentationLinkEvent(RepresentationLinkEvent event)
Notifies the listeners of a link event.
|
IlpRepresentationNode |
getFromNode()
Returns the first end node of the link.
|
IlpRepresentationNode |
getToNode()
Returns the second end node of the link.
|
void |
removeRepresentationLinkListener(RepresentationLinkListener listener)
Removes a listener previously added with
addRepresentationLinkListener . |
void |
setFromNode(IlpRepresentationNode node)
Changes the first end node of the link.
|
void |
setToNode(IlpRepresentationNode node)
Changes the second end node of the link.
|
addAttributeValueListener, addChild, addChildren, addChildren, addRepresentationNodeListener, addTreeAttributeValueListener, fireEvent, fireRepresentationNodeEvent, getAllowsChildren, getAttributeGroup, getAttributeValue, getAttributeValue, getChildren, getCSSClasses, getCSSID, getCSSType, getEditor, getExpansionStrategy, getIlpObject, getLogger, getParent, hasAttributeValue, isLeaf, removeAttributeValueListener, removeChild, removeChildren, removeChildren, removeChildren, removeRepresentationNodeListener, removeTreeAttributeValueListener, setAttributeValue, setAttributeValue, setParent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addChild, addChildren, addChildren, removeChild, removeChildren, removeChildren, removeChildren
addRepresentationNodeListener, getAllowsChildren, getChildren, getExpansionStrategy, getParent, isLeaf, removeRepresentationNodeListener
getEditor, getIlpObject
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue
protected IlpAbstractRepresentationLink(IlpAttributeGroup model, IlpExpansionStrategy strategy, Logger logger)
model
- The attribute group.strategy
- The child object loader, or null
for
a leaf link.logger
- Logger for handling log messages.protected IlpAbstractRepresentationLink(IlpObject object, IlpExtendedAttributeGroup model, IlpExpansionStrategy strategy, Logger logger)
object
- The corresponding business object.model
- The attribute group.strategy
- The child object loader, or null
for
a leaf link.logger
- Logger for handling log messages.public IlpRepresentationNode getFromNode()
getFromNode
in interface IlpRepresentationLink
public IlpRepresentationNode getToNode()
getToNode
in interface IlpRepresentationLink
public void addRepresentationLinkListener(RepresentationLinkListener listener)
addRepresentationLinkListener
in interface IlpRepresentationLink
listener
- The listener to be added.public void removeRepresentationLinkListener(RepresentationLinkListener listener)
addRepresentationLinkListener
.removeRepresentationLinkListener
in interface IlpRepresentationLink
listener
- The listener to be removed.public void setFromNode(IlpRepresentationNode node)
setFromNode
in interface IlpMutableRepresentationLink
public void setToNode(IlpRepresentationNode node)
setToNode
in interface IlpMutableRepresentationLink
public void fireRepresentationLinkEvent(RepresentationLinkEvent event)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.