public abstract class AbstractPlacementStrategy extends Object implements PlacementStrategy
| Constructor and Description |
|---|
AbstractPlacementStrategy(StringBounder stringBounder) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TextBlock block) |
protected Map<TextBlock,Dimension2D> |
getDimensions() |
protected double |
getMaxHeight() |
protected double |
getMaxHeight(Iterator<Dimension2D> it) |
protected double |
getMaxWidth() |
protected double |
getMaxWidth(Iterator<Dimension2D> it) |
protected StringBounder |
getStringBounder() |
protected double |
getSumHeight() |
protected double |
getSumHeight(Iterator<Dimension2D> it) |
protected double |
getSumWidth() |
protected double |
getSumWidth(Iterator<Dimension2D> it) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPositionspublic AbstractPlacementStrategy(StringBounder stringBounder)
public void add(TextBlock block)
add in interface PlacementStrategyprotected Map<TextBlock,Dimension2D> getDimensions()
protected double getSumWidth()
protected double getSumHeight()
protected double getMaxHeight()
protected double getMaxWidth()
protected double getSumWidth(Iterator<Dimension2D> it)
protected double getSumHeight(Iterator<Dimension2D> it)
protected double getMaxWidth(Iterator<Dimension2D> it)
protected double getMaxHeight(Iterator<Dimension2D> it)
protected final StringBounder getStringBounder()
Copyright © 2017. All rights reserved.