public class HorizontalTreeLayoutAlgorithm extends TreeLayoutAlgorithm
TreeLayoutAlgorithmcomparator, filter, internalAsynchronous, internalContinuous, layout_styles, layoutStopped, MIN_ENTITY_SIZE, resizeEntitiesAfterLayout| Constructor and Description |
|---|
HorizontalTreeLayoutAlgorithm()
Creates a horizontal tree layout with no style
|
HorizontalTreeLayoutAlgorithm(int styles) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isValidConfiguration(boolean asynchronous,
boolean continueous)
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)
Executes this TreeLayoutAlgorithm layout algorithm by referencing the
data stored in the repository system.
|
applyLayoutInternal, getCurrentLayoutStep, getRoots, getTotalNumberOfLayoutSteps, setLayoutAreaaddEntity, 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, verifyInputpublic HorizontalTreeLayoutAlgorithm()
public HorizontalTreeLayoutAlgorithm(int styles)
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)
TreeLayoutAlgorithmpreLayoutAlgorithm in class TreeLayoutAlgorithmentitiesToLayout - Apply the algorithm to these entitiesrelationshipsToConsider - Only consider these relationships when applying the algorithm.protected void postLayoutAlgorithm(org.eclipse.zest.layouts.dataStructures.InternalNode[] entitiesToLayout,
org.eclipse.zest.layouts.dataStructures.InternalRelationship[] relationshipsToConsider)
AbstractLayoutAlgorithmpostLayoutAlgorithm in class TreeLayoutAlgorithmprotected boolean isValidConfiguration(boolean asynchronous,
boolean continueous)
AbstractLayoutAlgorithmisValidConfiguration in class TreeLayoutAlgorithmCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.