public class FloatManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatManager.BoxOffset |
static class |
FloatManager.FloatDirection |
static interface |
FloatManager.FloatOperation |
| Constructor and Description |
|---|
FloatManager(Box master) |
| 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) |
List<FloatManager.BoxOffset> |
getFloats(FloatManager.FloatDirection direction) |
Stream<FloatManager.BoxOffset> |
getFloatStream(FloatManager.FloatDirection direction) |
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) |
public FloatManager(Box master)
public void floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, BlockBox box)
public void clear(CssContext cssCtx, BlockFormattingContext bfc, Box box)
public List<FloatManager.BoxOffset> getFloats(FloatManager.FloatDirection direction)
public Stream<FloatManager.BoxOffset> getFloatStream(FloatManager.FloatDirection direction)
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 Box getMaster()
public void performFloatOperation(FloatManager.FloatOperation op)
Copyright © 2004–2025. All rights reserved.