org.arakhne.neteditor.figlayout.basic
public class BasicGridBagFigureLayout extends AbstractDirectionBasedFigureLayout
HALF_MINIMAL_HORIZONTAL_PADDING, HALF_MINIMAL_VERTICAL_PADDINGDEFAULT_ACTIVE_COLOR, DEFAULT_BACKGROUND_SELECTION_COLOR, DEFAULT_DAMAGING_EXTENTS, DEFAULT_DRAW_SHADOW, DEFAULT_FILL_COLOR, DEFAULT_FOREGROUND_SELECTION_COLOR, DEFAULT_LINE_COLOR, DEFAULT_LOCKING_FILL_COLOR, DEFAULT_LOCKING_OUTLINE_COLOR, DEFAULT_MAXIMAL_SIZE, DEFAULT_MINIMAL_SIZE, DEFAULT_MINIMAL_SUBFIGURE_SIZE, DEFAULT_SHADOW_PROJECTION_DISTANCE_X, DEFAULT_SHADOW_PROJECTION_DISTANCE_Y, FLATTENING_PRECISION| Constructor and Description |
|---|
BasicGridBagFigureLayout() |
| Modifier and Type | Method and Description |
|---|---|
Undoable |
layoutFigures(Collection<? extends Figure> figures)
Run the laying-out algorithm for the given figures.
|
getLayoutDirection, setLayoutDirectiongetMargins, getOrigin, setMargins, setOrigin, setOriginpublic Undoable layoutFigures(Collection<? extends Figure> figures)
figures - are the figures to laying out.null if the layout does not supports the undo/redo feature
or it has nothing to undo.Copyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor