KnuthElement
, UnresolvedListElement
public abstract class ListElement
extends java.lang.Object
Constructor | Description |
---|---|
ListElement(Position position) |
Main constructor
|
Modifier and Type | Method | Description |
---|---|---|
LayoutManager |
getLayoutManager() |
|
Position |
getPosition() |
|
boolean |
isBox() |
|
boolean |
isForcedBreak() |
|
boolean |
isGlue() |
|
boolean |
isPenalty() |
|
boolean |
isUnresolvedElement() |
|
void |
setPosition(Position position) |
Change the Position stored in this element.
|
public ListElement(Position position)
position
- the Position instance needed by the addAreas stage of the LMs.public Position getPosition()
public void setPosition(Position position)
position
- the Position instancepublic LayoutManager getLayoutManager()
public boolean isBox()
public boolean isGlue()
public boolean isPenalty()
public boolean isForcedBreak()
public boolean isUnresolvedElement()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.