public class FloatManager extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
FloatManager.FloatOperation |
| 构造器和说明 |
|---|
FloatManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2019. All Rights Reserved.