public static class SpaceResolver.SpaceHandlingBreakPosition extends Position
| Constructor | Description |
|---|---|
SpaceHandlingBreakPosition(SpaceResolver resolver,
BreakElement breakPoss) |
Main constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Position |
getOriginalBreakPosition() |
|
Position |
getPosition() |
Overridden by NonLeafPosition to return the Position of its child LM.
|
SpaceResolver |
getSpaceResolver() |
|
void |
notifyBreakSituation(boolean isBreakSituation,
RelSide side) |
Notifies all affected layout managers about the current situation in the part to be
handled for area generation.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgeneratesAreas, getIndex, getLM, getLM, getPosition, getShortLMName, setIndexpublic SpaceHandlingBreakPosition(SpaceResolver resolver, BreakElement breakPoss)
resolver - the space resolver that provides the info about the actual situationbreakPoss - the original break possibility that creates this Positionpublic SpaceResolver getSpaceResolver()
public void notifyBreakSituation(boolean isBreakSituation,
RelSide side)
isBreakSituation - true if this is a break situation.side - defines to notify about the situation whether before or after the break.
May be null if isBreakSituation is null.public Position getOriginalBreakPosition()
public Position getPosition()
getPosition in class PositionCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.