public class HorizontalLayoutAlgorithm extends GridLayoutAlgorithm
rowPaddingcomparator, filter, internalAsynchronous, internalContinuous, layout_styles, layoutStopped, MIN_ENTITY_SIZE, resizeEntitiesAfterLayout| Constructor and Description |
|---|
HorizontalLayoutAlgorithm()
Horizontal Layout Algorithm constructor.
|
HorizontalLayoutAlgorithm(int styles) |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
calculateNumberOfRowsAndCols(int numChildren,
double boundX,
double boundY,
double boundWidth,
double boundHeight)
Calculates and returns an array containing the number of columns, followed by the number of rows
|
protected boolean |
isValidConfiguration(boolean asynchronous,
boolean continueous)
Determines if the configuration is valid for this layout
|
applyLayoutInternal, calculateNodeSize, calculateNumberOfRowsAndCols_rectangular, calculateNumberOfRowsAndCols_square, getCurrentLayoutStep, getTotalNumberOfLayoutSteps, postLayoutAlgorithm, preLayoutAlgorithm, setLayoutArea, setRowPaddingaddEntity, 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 HorizontalLayoutAlgorithm(int styles)
public HorizontalLayoutAlgorithm()
protected int[] calculateNumberOfRowsAndCols(int numChildren,
double boundX,
double boundY,
double boundWidth,
double boundHeight)
calculateNumberOfRowsAndCols in class GridLayoutAlgorithmprotected boolean isValidConfiguration(boolean asynchronous,
boolean continueous)
AbstractLayoutAlgorithmisValidConfiguration in class GridLayoutAlgorithmCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.