Package cz.vutbr.fit.layout.model
Interface LogicalArea
-
- All Superinterfaces:
GenericTreeNode<LogicalArea>
- All Known Implementing Classes:
DefaultLogicalArea
,RDFLogicalArea
public interface LogicalArea extends GenericTreeNode<LogicalArea>
Logical area represents a set of areas that form a single semantic entity. Logical areas are organized in a tree where the parent-child relationships have some semantic meaning instead of representing the actual layout.- Author:
- burgetr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addArea(Area a)
LogicalArea
findArea(Area area)
Scans a logical area subtree rooted in this logical area for the given area.int
getAreaCount()
List<Area>
getAreas()
Area
getFirstArea()
Tag
getMainTag()
String
getText()
void
setMainTag(Tag tag)
void
setText(String text)
-
Methods inherited from interface cz.vutbr.fit.layout.model.GenericTreeNode
appendChild, appendChildren, getDepth, getChildAt, getChildCount, getChildren, getIndex, getLeafCount, getNextSibling, getParent, getPreviousSibling, getRoot, childrenChanged, insertChild, isLeaf, isRoot, removeAllChildren, removeChild, removeChild, setParent, setRoot
-
-
-
-
Method Detail
-
addArea
void addArea(Area a)
-
getFirstArea
Area getFirstArea()
-
getAreaCount
int getAreaCount()
-
setText
void setText(String text)
-
getText
String getText()
-
setMainTag
void setMainTag(Tag tag)
-
getMainTag
Tag getMainTag()
-
findArea
LogicalArea findArea(Area area)
Scans a logical area subtree rooted in this logical area for the given area.- Parameters:
area
- the layout area to search for- Returns:
- the deepest logical area that contains the given area or
null
when the given area is not present in the given subtree
-
-