Package org.luwrain.reader
Class Node
java.lang.Object
org.luwrain.reader.view.NodeBase
org.luwrain.reader.Node
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubnode
(Node subnode) boolean
protected void
int
int
final Node
getSubnode
(int index) final int
final Node[]
getType()
final boolean
hasNodeInAllParents
(Node toCheck) final boolean
final boolean
boolean
noText()
void
setImportance
(int importance) protected void
setParentNode
(Node node) void
setSubnodes
(Node[] subnodes) toString()
Methods inherited from class org.luwrain.reader.view.NodeBase
getNodeHeight, getNodeWidth, getNodeX, getNodeY, getRowParts, setNodeHeight, setNodeWidth, setNodeX, setNodeY, setRowParts
-
Field Details
-
IMPORTANCE_REGULAR
public static final int IMPORTANCE_REGULAR- See Also:
-
type
-
subnodes
-
extraInfo
-
importance
protected int importance -
empty
protected boolean empty
-
-
Method Details
-
getType
-
getParentNode
-
setParentNode
-
getSubnodes
-
setSubnodes
-
getSubnode
-
getSubnodeCount
public final int getSubnodeCount() -
noSubnodes
public final boolean noSubnodes() -
toString
-
hasNodeInAllParents
-
isInTable
-
getCompleteText
-
noText
public boolean noText() -
getParentType
- Returns:
- -1 if there is no a parent node or there is a consistency error
-
getIndexInParentSubnodes
public int getIndexInParentSubnodes()- Returns:
- -1 if it is impossible to understand;
-
getImportance
public int getImportance() -
setImportance
public void setImportance(int importance) -
addSubnode
-
arrangeListItems
protected void arrangeListItems() -
allSubnodesSingleLine
public boolean allSubnodesSingleLine()
-