|
Zest 1.5.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm
org.eclipse.zest.layouts.algorithms.DirectedGraphLayoutAlgorithm
public class DirectedGraphLayoutAlgorithm
Field Summary |
---|
Fields inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm |
---|
comparator, filter, internalAsynchronous, internalContinuous, layout_styles, layoutStopped, MIN_ENTITY_SIZE, resizeEntitiesAfterLayout |
Constructor Summary | |
---|---|
DirectedGraphLayoutAlgorithm(int styles)
|
Method Summary | |
---|---|
protected void |
applyLayoutInternal(org.eclipse.zest.layouts.dataStructures.InternalNode[] entitiesToLayout,
org.eclipse.zest.layouts.dataStructures.InternalRelationship[] relationshipsToConsider,
double boundsX,
double boundsY,
double boundsWidth,
double boundsHeight)
Apply the layout to the given entities. |
protected int |
getCurrentLayoutStep()
Gets the current layout step |
protected int |
getTotalNumberOfLayoutSteps()
Gets the total number of steps in this layout |
protected boolean |
isValidConfiguration(boolean asynchronous,
boolean continuous)
Determines if the configuration is valid for this layout |
protected void |
postLayoutAlgorithm(org.eclipse.zest.layouts.dataStructures.InternalNode[] entitiesToLayout,
org.eclipse.zest.layouts.dataStructures.InternalRelationship[] relationshipsToConsider)
Code called after the layout algorithm ends |
protected void |
preLayoutAlgorithm(org.eclipse.zest.layouts.dataStructures.InternalNode[] entitiesToLayout,
org.eclipse.zest.layouts.dataStructures.InternalRelationship[] relationshipsToConsider,
double x,
double y,
double width,
double height)
Code called before the layout algorithm starts |
void |
setLayoutArea(double x,
double y,
double width,
double height)
|
Methods inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm |
---|
addEntity, addProgressListener, addRelationship, applyLayout, defaultFitWithinBounds, defaultFitWithinBounds, fireProgressEnded, fireProgressEvent, fireProgressStarted, getEntityAspectRatio, getLayoutBounds, getLocalLocation, getNumberOfProgressListeners, getStyle, isRunning, removeEntity, removeProgressListener, removeRelationship, removeRelationships, removeRelationships, setComparator, setEntityAspectRatio, setFilter, setStyle, stop, updateBendPoints, updateEntities, updateLayoutLocations, updateRelationships, verifyInput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectedGraphLayoutAlgorithm(int styles)
Method Detail |
---|
protected void applyLayoutInternal(org.eclipse.zest.layouts.dataStructures.InternalNode[] entitiesToLayout, org.eclipse.zest.layouts.dataStructures.InternalRelationship[] relationshipsToConsider, double boundsX, double boundsY, double boundsWidth, double boundsHeight)
AbstractLayoutAlgorithm
applyLayoutInternal
in class AbstractLayoutAlgorithm
entitiesToLayout
- Apply the algorithm to these entitiesrelationshipsToConsider
- Only consider these relationships when applying the algorithm.protected int getCurrentLayoutStep()
AbstractLayoutAlgorithm
getCurrentLayoutStep
in class AbstractLayoutAlgorithm
protected int getTotalNumberOfLayoutSteps()
AbstractLayoutAlgorithm
getTotalNumberOfLayoutSteps
in class AbstractLayoutAlgorithm
protected boolean isValidConfiguration(boolean asynchronous, boolean continuous)
AbstractLayoutAlgorithm
isValidConfiguration
in class AbstractLayoutAlgorithm
protected void postLayoutAlgorithm(org.eclipse.zest.layouts.dataStructures.InternalNode[] entitiesToLayout, org.eclipse.zest.layouts.dataStructures.InternalRelationship[] relationshipsToConsider)
AbstractLayoutAlgorithm
postLayoutAlgorithm
in class AbstractLayoutAlgorithm
protected void preLayoutAlgorithm(org.eclipse.zest.layouts.dataStructures.InternalNode[] entitiesToLayout, org.eclipse.zest.layouts.dataStructures.InternalRelationship[] relationshipsToConsider, double x, double y, double width, double height)
AbstractLayoutAlgorithm
preLayoutAlgorithm
in class AbstractLayoutAlgorithm
public void setLayoutArea(double x, double y, double width, double height)
setLayoutArea
in class AbstractLayoutAlgorithm
|
Zest 1.5.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |