|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.zestalgorithms.core.LayoutRelationshipImpl
public class LayoutRelationshipImpl
Implementation of Zest's layout relationship between two nodes. This class just represents connection between two nodes. All relationships are directed.
| Constructor Summary | |
|---|---|
LayoutRelationshipImpl(org.eclipse.zest.layouts.LayoutEntity source,
org.eclipse.zest.layouts.LayoutEntity destination)
Place for optional information about layout. |
|
| Method Summary | |
|---|---|
void |
clearBendPoints()
Method required by LayoutRelationship interface. |
org.eclipse.zest.layouts.LayoutEntity |
getDestinationInLayout()
Returns the node that is the destination of the connection |
Object |
getGraphData()
Required by LayoutRelationship. |
Object |
getLayoutInformation()
Getter for optional information about the layout (or any other data that is stored in this field) |
org.eclipse.zest.layouts.LayoutEntity |
getSourceInLayout()
Returns the source node of the connection |
void |
populateLayoutConstraint(org.eclipse.zest.layouts.constraints.LayoutConstraint constraint)
Method required by LayoutRelationship interface. |
void |
setBendPoints(org.eclipse.zest.layouts.LayoutBendPoint[] bendPoints)
Method required by LayoutRelationship interface. |
void |
setGraphData(Object o)
Required by LayoutRelationship. |
void |
setLayoutInformation(Object layoutInformation)
Sets object representing some additional information about layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutRelationshipImpl(org.eclipse.zest.layouts.LayoutEntity source,
org.eclipse.zest.layouts.LayoutEntity destination)
| Method Detail |
|---|
public void clearBendPoints()
LayoutRelationship interface. In our case does nothing
clearBendPoints in interface org.eclipse.zest.layouts.LayoutRelationshippublic org.eclipse.zest.layouts.LayoutEntity getDestinationInLayout()
getDestinationInLayout in interface org.eclipse.zest.layouts.LayoutRelationshippublic Object getLayoutInformation()
getLayoutInformation in interface org.eclipse.zest.layouts.LayoutRelationshippublic org.eclipse.zest.layouts.LayoutEntity getSourceInLayout()
getSourceInLayout in interface org.eclipse.zest.layouts.LayoutRelationshippublic void populateLayoutConstraint(org.eclipse.zest.layouts.constraints.LayoutConstraint constraint)
LayoutRelationship interface. In our case does nothing
populateLayoutConstraint in interface org.eclipse.zest.layouts.LayoutRelationshippublic void setBendPoints(org.eclipse.zest.layouts.LayoutBendPoint[] bendPoints)
LayoutRelationship interface. In our case does nothing
setBendPoints in interface org.eclipse.zest.layouts.LayoutRelationshippublic void setLayoutInformation(Object layoutInformation)
setLayoutInformation in interface org.eclipse.zest.layouts.LayoutRelationshippublic Object getGraphData()
LayoutRelationship. Always returns null
getGraphData in interface org.eclipse.zest.layouts.LayoutItempublic void setGraphData(Object o)
LayoutRelationship. Does big nothing.
setGraphData in interface org.eclipse.zest.layouts.LayoutItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||