Class HorizontalTreeLayoutAlgorithm
java.lang.Object
org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1
org.eclipse.zest.layouts.algorithms.TreeLayoutAlgorithm.Zest1
org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm
- All Implemented Interfaces:
- LayoutAlgorithm,- LayoutAlgorithm.Zest1,- Stoppable
@Deprecated(since="2.0",
            forRemoval=true)
public class HorizontalTreeLayoutAlgorithm
extends TreeLayoutAlgorithm.Zest1
Deprecated, for removal: This API element is subject to removal in a future version.
A simple algorithm to arrange graph nodes in a layered horizontal tree-like
 layout.
- See Also:
- @noextend
- This class is not intended to be subclassed by clients.
- @noreference
- This class is not intended to be referenced by clients.
- @noinstantiate
- This class is not intended to be instantiated by clients.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.zest.layouts.LayoutAlgorithmLayoutAlgorithm.Zest1
- 
Field SummaryFields inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1comparator, filter, internalAsynchronous, internalContinuous, layout_styles, layoutStopped, MIN_ENTITY_SIZE, resizeEntitiesAfterLayout
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates a horizontal tree layout with no styleHorizontalTreeLayoutAlgorithm(int styles) Deprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanisValidConfiguration(boolean asynchronous, boolean continueous) Deprecated, for removal: This API element is subject to removal in a future version.Determines if the configuration is valid for this layoutprotected voidpostLayoutAlgorithm(InternalNode[] entitiesToLayout, InternalRelationship[] relationshipsToConsider) Deprecated, for removal: This API element is subject to removal in a future version.Code called after the layout algorithm endsprotected voidpreLayoutAlgorithm(InternalNode[] entitiesToLayout, InternalRelationship[] relationshipsToConsider, double x, double y, double width, double height) Deprecated, for removal: This API element is subject to removal in a future version.Executes this TreeLayoutAlgorithm layout algorithm by referencing the data stored in the repository system.Methods inherited from class org.eclipse.zest.layouts.algorithms.TreeLayoutAlgorithm.Zest1applyLayoutInternal, getCurrentLayoutStep, getRoots, getTotalNumberOfLayoutSteps, setLayoutAreaMethods inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1addEntity, addProgressListener, addRelationship, applyLayout, applyLayout, defaultFitWithinBounds, defaultFitWithinBounds, fireProgressEnded, fireProgressEvent, fireProgressStarted, fireProgressUpdated, getEntityAspectRatio, getLayoutBounds, getLocalLocation, getNumberOfProgressListeners, getStyle, isRunning, removeEntity, removeProgressListener, removeRelationship, removeRelationships, removeRelationships, setComparator, setEntityAspectRatio, setFilter, setLayoutContext, setStyle, stop, updateBendPoints, updateEntities, updateLayoutLocations, updateRelationships, verifyInput
- 
Constructor Details- 
HorizontalTreeLayoutAlgorithmpublic HorizontalTreeLayoutAlgorithm()Deprecated, for removal: This API element is subject to removal in a future version.Creates a horizontal tree layout with no style
- 
HorizontalTreeLayoutAlgorithmpublic HorizontalTreeLayoutAlgorithm(int styles) Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
preLayoutAlgorithmprotected void preLayoutAlgorithm(InternalNode[] entitiesToLayout, InternalRelationship[] relationshipsToConsider, double x, double y, double width, double height) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:TreeLayoutAlgorithm.Zest1Executes this TreeLayoutAlgorithm layout algorithm by referencing the data stored in the repository system. Once done, the result will be saved to the data repository.- Overrides:
- preLayoutAlgorithmin class- TreeLayoutAlgorithm.Zest1
- Parameters:
- entitiesToLayout- Apply the algorithm to these entities
- relationshipsToConsider- Only consider these relationships when applying the algorithm.
- x- The left side of the bounds in which the layout can place the entities.
- y- The top side of the bounds in which the layout can place the entities.
- width- The width of the bounds in which the layout can place the entities.
- height- The height of the bounds in which the layout can place the entities.
 
- 
postLayoutAlgorithmprotected void postLayoutAlgorithm(InternalNode[] entitiesToLayout, InternalRelationship[] relationshipsToConsider) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractLayoutAlgorithm.Zest1Code called after the layout algorithm ends- Overrides:
- postLayoutAlgorithmin class- TreeLayoutAlgorithm.Zest1
 
- 
isValidConfigurationprotected boolean isValidConfiguration(boolean asynchronous, boolean continueous) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractLayoutAlgorithm.Zest1Determines if the configuration is valid for this layout- Overrides:
- isValidConfigurationin class- TreeLayoutAlgorithm.Zest1
- Parameters:
- asynchronous-
- continueous-
 
 
- 
TreeLayoutAlgorithmwithTreeLayoutAlgorithm.LEFT_RIGHTinstead.