public class FloatManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FloatManager.FloatOperation |
| Constructor and Description |
|---|
FloatManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
calcFloatLocations() |
void |
clear(CssContext cssCtx,
BlockFormattingContext bfc,
Box box) |
void |
floatBox(LayoutContext c,
Layer layer,
BlockFormattingContext bfc,
BlockBox box) |
int |
getClearDelta(CssContext cssCtx,
int bfcRelativeY) |
int |
getLeftFloatDistance(CssContext cssCtx,
BlockFormattingContext bfc,
LineBox line,
int containingBlockContentWidth) |
Box |
getMaster() |
int |
getNextLineBoxDelta(CssContext cssCtx,
BlockFormattingContext bfc,
LineBox line,
int containingBlockContentWidth) |
Point |
getOffset(BlockBox floater) |
int |
getRightFloatDistance(CssContext cssCtx,
BlockFormattingContext bfc,
LineBox line,
int containingBlockContentWidth) |
void |
performFloatOperation(FloatManager.FloatOperation op) |
void |
removeFloat(BlockBox floater) |
void |
setMaster(Box owner) |
public void floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, BlockBox box)
public void clear(CssContext cssCtx, BlockFormattingContext bfc, Box box)
public int getClearDelta(CssContext cssCtx, int bfcRelativeY)
public void removeFloat(BlockBox floater)
public void calcFloatLocations()
public int getNextLineBoxDelta(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth)
public int getLeftFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth)
public int getRightFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, int containingBlockContentWidth)
public void setMaster(Box owner)
public Box getMaster()
public void performFloatOperation(FloatManager.FloatOperation op)
Copyright © 2016. All rights reserved.