public class HorizontalLayoutAlgorithm extends GridLayoutAlgorithm
rowPadding
comparator, 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, setRowPadding
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
public HorizontalLayoutAlgorithm(int styles)
public HorizontalLayoutAlgorithm()
protected int[] calculateNumberOfRowsAndCols(int numChildren, double boundX, double boundY, double boundWidth, double boundHeight)
calculateNumberOfRowsAndCols
in class GridLayoutAlgorithm
protected boolean isValidConfiguration(boolean asynchronous, boolean continueous)
AbstractLayoutAlgorithm
isValidConfiguration
in class GridLayoutAlgorithm
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.