Class HorizontalLayoutAlgorithm
java.lang.Object
org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1
org.eclipse.zest.layouts.algorithms.GridLayoutAlgorithm.Zest1
org.eclipse.zest.layouts.algorithms.HorizontalLayoutAlgorithm
- All Implemented Interfaces:
LayoutAlgorithm
,LayoutAlgorithm.Zest1
,Stoppable
@Deprecated(since="2.0",
forRemoval=true)
public class HorizontalLayoutAlgorithm
extends GridLayoutAlgorithm.Zest1
Deprecated, for removal: This API element is subject to removal in a future version.
- @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 Summary
Nested classes/interfaces inherited from interface org.eclipse.zest.layouts.LayoutAlgorithm
LayoutAlgorithm.Zest1
-
Field Summary
Fields inherited from class org.eclipse.zest.layouts.algorithms.GridLayoutAlgorithm.Zest1
rowPadding
Fields inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1
comparator, filter, internalAsynchronous, internalContinuous, layout_styles, layoutStopped, MIN_ENTITY_SIZE, resizeEntitiesAfterLayout
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Horizontal Layout Algorithm constructor.HorizontalLayoutAlgorithm
(int styles) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]
calculateNumberOfRowsAndCols
(int numChildren, double boundX, double boundY, double boundWidth, double boundHeight) Deprecated, for removal: This API element is subject to removal in a future version.Calculates and returns an array containing the number of columns, followed by the number of rowsprotected boolean
isValidConfiguration
(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 layoutMethods inherited from class org.eclipse.zest.layouts.algorithms.GridLayoutAlgorithm.Zest1
applyLayoutInternal, calculateNodeSize, calculateNumberOfRowsAndCols_rectangular, calculateNumberOfRowsAndCols_square, getCurrentLayoutStep, getTotalNumberOfLayoutSteps, postLayoutAlgorithm, preLayoutAlgorithm, setLayoutArea, setRowPadding
Methods inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1
addEntity, 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
-
HorizontalLayoutAlgorithm
public HorizontalLayoutAlgorithm(int styles) Deprecated, for removal: This API element is subject to removal in a future version. -
HorizontalLayoutAlgorithm
public HorizontalLayoutAlgorithm()Deprecated, for removal: This API element is subject to removal in a future version.Horizontal Layout Algorithm constructor. Sets the Style to none.
-
-
Method Details
-
calculateNumberOfRowsAndCols
protected int[] calculateNumberOfRowsAndCols(int numChildren, double boundX, double boundY, double boundWidth, double boundHeight) Deprecated, for removal: This API element is subject to removal in a future version.Calculates and returns an array containing the number of columns, followed by the number of rows- Overrides:
calculateNumberOfRowsAndCols
in classGridLayoutAlgorithm.Zest1
-
isValidConfiguration
protected 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.Zest1
Determines if the configuration is valid for this layout- Overrides:
isValidConfiguration
in classGridLayoutAlgorithm.Zest1
- Parameters:
asynchronous
-continueous
-
-
BoxLayoutAlgorithm
withSWT.HORIZONTAL
instead.