Uses of Interface
cz.vutbr.fit.layout.model.Area
-
-
Uses of Area in cz.vutbr.fit.layout.api
Methods in cz.vutbr.fit.layout.api with parameters of type Area Modifier and Type Method Description boolean
Tagger. allowsContinuation(Area node)
Checks whether the area may be a continuation of a previously started area tagged with this tag.void
AreaTreeOperator. apply(AreaTree atree, Area root)
Applies the operation to the given subtree of the tree.static boolean
AreaUtils. areasOverlap(Area a1, Area a2, double minPercentage)
Tests whether an area overlaps with another areastatic boolean
AreaUtils. areasOverlap(Area a1, Collection<Area> areas2, double minPercentage)
Tests a collection of areas for overlaps with another areafloat
Tagger. belongsTo(Area node)
Checks whether the area may be tagged with the tag.void
OutputDisplay. drawExtent(Area area)
Draws the area bounds at the output display.static void
AreaUtils. findAreasBeforeAfter(Area a, AreaTopology topology, List<ContentRect> destBefore, List<ContentRect> destAfter)
Scans a list of areas and finds the areas that are befor or after a given area on the same line.static void
AreaUtils. findAreasBelow(Area a, AreaTopology topology, List<ContentRect> destBelow)
Set<Tag>
TagResolver. getAreaTags(Area a)
Assigns a set of tags to a given area based on its properties.static List<ContentRect>
AreaUtils. getChildrenAsContentRects(Area parent)
Creates a list content rectangles from the child areas of a given area.static boolean
AreaUtils. intersectsWithAny(Area a, Collection<Area> col)
Checks if a given area overlaps with any other area contained in a given collectionstatic boolean
AreaUtils. isAligned(Area a1, Area a2, AreaTopology topology)
Checks if the given areas are aligned in row or column.static boolean
AreaUtils. isInSameColumn(Area a1, Area a2, AreaTopology topology)
Checks if the given areas are in the same column.static boolean
AreaUtils. isLink(Area a)
Checks if the given area has a target URL assigned (it acts as a link)static boolean
AreaUtils. isNeighbor(Area a1, Area a2)
Checks if the given areas are in the same visual group (i.e.Method parameters in cz.vutbr.fit.layout.api with type arguments of type Area Modifier and Type Method Description static boolean
AreaUtils. areasOverlap(Area a1, Collection<Area> areas2, double minPercentage)
Tests a collection of areas for overlaps with another areastatic boolean
AreaUtils. areasOverlap(Collection<Area> areas1, Collection<Area> areas2, double minPercentage)
Tests two collections of areas for overlaps.String
Concatenators.PlainAreaConcatenator. concat(List<Area> elems)
String
Concatenators.SeparatedAreaConcatenator. concat(List<Area> elems)
static boolean
AreaUtils. intersectsWithAny(Area a, Collection<Area> col)
Checks if a given area overlaps with any other area contained in a given collection -
Uses of Area in cz.vutbr.fit.layout.impl
Classes in cz.vutbr.fit.layout.impl that implement Area Modifier and Type Class Description class
DefaultArea
Default generic Area implementation.Methods in cz.vutbr.fit.layout.impl that return Area Modifier and Type Method Description Area
DefaultArea. copy()
Area
DefaultAreaTree. createArea(Area other)
Area
DefaultAreaTree. createArea(Box box)
Area
DefaultAreaTree. createArea(Rectangular r)
Area
DefaultAreaTree. createArea(List<Box> boxes)
Area
DefaultArea. createSuperArea(Rectangular gp, List<Area> selected, String name)
Area
DefaultGridTopology. getArea()
Area
DefaultAreaTree. getAreaAt(int x, int y)
Area
DefaultAreaTree. getAreaByName(String name)
Area
DefaultLogicalArea. getFirstArea()
Area
DefaultAreaTree. getRoot()
Area
DefaultTextChunk. getSourceArea()
Methods in cz.vutbr.fit.layout.impl that return types with arguments of type Area Modifier and Type Method Description List<Area>
DefaultLogicalArea. getAreas()
List<Area>
DefaultAreaTree. getAreasAt(int x, int y)
Methods in cz.vutbr.fit.layout.impl with parameters of type Area Modifier and Type Method Description void
DefaultLogicalArea. addArea(Area a)
void
DefaultArea. appendChild(Area child)
protected void
DefaultTextChunk. copyStyle(Area src)
Area
DefaultAreaTree. createArea(Area other)
TextChunk
DefaultChunkSet. createTextChunk(Rectangular r, Area sourceArea, Box sourceBox)
LogicalArea
DefaultLogicalArea. findArea(Area area)
Set<Tag>
SimpleTagResolver. getAreaTags(Area a)
int
DefaultAreaTree. getMaxAreaId(Area root)
void
DefaultArea. insertChild(Area child, int index)
void
DefaultArea. insertParent(Area newParent, Area child)
void
DefaultAreaTree. setRoot(Area root)
void
DefaultTextChunk. setSourceArea(Area sourceArea)
Method parameters in cz.vutbr.fit.layout.impl with type arguments of type Area Modifier and Type Method Description Area
DefaultArea. createSuperArea(Rectangular gp, List<Area> selected, String name)
Constructors in cz.vutbr.fit.layout.impl with parameters of type Area Constructor Description DefaultArea(Area src)
DefaultGridTopology(Area area)
DefaultLogicalArea(Area src)
DefaultLogicalArea(Area src, String text)
DefaultTextChunk(Rectangular r, Area sourceArea, Box sourceBox)
Constructor parameters in cz.vutbr.fit.layout.impl with type arguments of type Area Constructor Description DefaultContentLine(Collection<? extends Area> src)
-
Uses of Area in cz.vutbr.fit.layout.io
Methods in cz.vutbr.fit.layout.io with parameters of type Area Modifier and Type Method Description void
HTMLOutputOperator. apply(AreaTree atree, Area root)
void
XMLOutputOperator. apply(AreaTree atree, Area root)
void
Graphics2DDisplay. drawExtent(Area area)
protected String
HTMLOutputOperator. getAreaStyle(Area a)
-
Uses of Area in cz.vutbr.fit.layout.map
Methods in cz.vutbr.fit.layout.map with parameters of type Area Modifier and Type Method Description static String
TextUtils. getText(Area area)
Creates a complete text of an area by concatenating the subareas and boxes. -
Uses of Area in cz.vutbr.fit.layout.map.chunks
Constructors in cz.vutbr.fit.layout.map.chunks with parameters of type Area Constructor Description MetadataChunksExtractor(Area root, MetadataExampleGenerator exampleGenerator, Collection<MetaRefTag> tags)
-
Uses of Area in cz.vutbr.fit.layout.map.op
Methods in cz.vutbr.fit.layout.map.op with parameters of type Area Modifier and Type Method Description void
TagByExamplesOperator. apply(AreaTree atree, Area root)
-
Uses of Area in cz.vutbr.fit.layout.model
Methods in cz.vutbr.fit.layout.model that return Area Modifier and Type Method Description Area
Area. copy()
Creates a copy of the area and makes it a next sibling of the source area.Area
AreaTree. createArea(Area other)
Creates a new area in the tree by copying another area.Area
AreaTree. createArea(Box box)
Creates a new area in the tree from a box.Area
AreaTree. createArea(Rectangular r)
Creates a new empty area in the tree.Area
AreaTree. createArea(List<Box> boxes)
Creates a new area in the tree from a list of boxes.Area
Area. createSuperArea(Rectangular gp, List<Area> selected, String name)
Creates a new subarea from a specified region of the area and moves the selected child nodes to the new area.Area
SearchableAreaContainer. getAreaAt(int x, int y)
Finds the bottom-most area node present at the given coordinates in the area tree.Area
SearchableAreaContainer. getAreaByName(String name)
Finds an area by the given name.Area
LogicalArea. getFirstArea()
Area
AreaTree. getRoot()
Obtains the root node of the area tree.Area
TextChunk. getSourceArea()
Gets the source area the chunk was extracted from.Methods in cz.vutbr.fit.layout.model that return types with arguments of type Area Modifier and Type Method Description List<Area>
LogicalArea. getAreas()
List<Area>
SearchableAreaContainer. getAreasAt(int x, int y)
Finds all the area nodes present at the given coordinates in the area tree.Methods in cz.vutbr.fit.layout.model with parameters of type Area Modifier and Type Method Description void
LogicalArea. addArea(Area a)
Area
AreaTree. createArea(Area other)
Creates a new area in the tree by copying another area.TextChunk
ChunkSet. createTextChunk(Rectangular r, Area sourceArea, Box sourceBox)
LogicalArea
LogicalArea. findArea(Area area)
Scans a logical area subtree rooted in this logical area for the given area.void
Area. insertParent(Area newParent, Area child)
Inserts a new area as a new parent of the given child area.Method parameters in cz.vutbr.fit.layout.model with type arguments of type Area Modifier and Type Method Description Area
Area. createSuperArea(Rectangular gp, List<Area> selected, String name)
Creates a new subarea from a specified region of the area and moves the selected child nodes to the new area. -
Uses of Area in cz.vutbr.fit.layout.rdf
Methods in cz.vutbr.fit.layout.rdf with parameters of type Area Modifier and Type Method Description org.eclipse.rdf4j.model.IRI
DefaultIRIFactory. createAreaURI(org.eclipse.rdf4j.model.IRI areaTreeNode, Area area)
org.eclipse.rdf4j.model.IRI
IRIFactory. createAreaURI(org.eclipse.rdf4j.model.IRI areaTreeUri, Area area)
Creates a visual area IRI.protected org.eclipse.rdf4j.model.IRI
ModelTransformer. getAreaIri(org.eclipse.rdf4j.model.IRI areaTreeIri, Area area)
Reuses an area IRI or creates a new one if the box is not an RDFArea. -
Uses of Area in cz.vutbr.fit.layout.rdf.model
Classes in cz.vutbr.fit.layout.rdf.model that implement Area Modifier and Type Class Description class
RDFArea
Constructors in cz.vutbr.fit.layout.rdf.model with parameters of type Area Constructor Description RDFTextChunk(Rectangular r, Area sourceArea, Box sourceBox, org.eclipse.rdf4j.model.IRI uri)
-
Uses of Area in cz.vutbr.fit.layout.segm
Methods in cz.vutbr.fit.layout.segm that return Area Modifier and Type Method Description Area
SegmentationAreaTree. findBasicAreas()
Creates the area tree skeleton - selects the visible boxes and converts them to areasMethods in cz.vutbr.fit.layout.segm with parameters of type Area Modifier and Type Method Description float
AreaStyle. computeColorLuminosity(Area area)
protected void
SegmentationAreaTree. createGrids(Area root)
Goes through all the areas in the tree and creates the grids in these areasstatic GroupAnalyzer
Config. createGroupAnalyzer(Area root)
Creates a group analyzer for an area using the selected implementation.static SeparatorSet
Config. createSeparators(Area root)
Creates the separators for an area using the selected algorithmstatic void
Separators. createSeparatorsForArea(Area area)
Creates a separators set of an area and stores it as an attribute of the area.static SeparatorSet
Separators. getSeparatorsForArea(Area area)
static boolean
AreaStyle. hasConsistentStyle(Area root)
Checks whether all children of a given area have a consistent visual style (as defined byAreaStyle.hasSameStyle(Area, Area)
).static boolean
AreaStyle. hasEqualBackground(Area a1, Area a2)
Checks if two areas have the same background colorstatic boolean
AreaStyle. hasSameStyle(Area a1, Area a2)
Compares two visual areas and checks whether they have the same visual style.static void
TreeOp. join(Area target, Area other, boolean horizontal)
Joins another area to the target area.static void
TreeOp. joinArea(Area target, Area other, Rectangular pos, boolean horizontal, boolean flatten)
Joins the target area with another area and updates the layout in the grid to the given values.static void
TreeOp. joinChild(Area target, Area other)
Joins a child area to this area.static void
Separators. removeSimpleSeparators(Area area)
Removes simple separators from current separator set.Constructors in cz.vutbr.fit.layout.segm with parameters of type Area Constructor Description AreaStyle(Area source)
-
Uses of Area in cz.vutbr.fit.layout.segm.op
Fields in cz.vutbr.fit.layout.segm.op declared as Area Modifier and Type Field Description protected Area
Separator. area1
Left (top) separated area node (if any)protected Area
Separator. area2
Bottom (right) separated area node (if any)protected Area
GroupAnalyzer. parent
protected Area
SeparatorSet. root
The root of the area tree that will be processedMethods in cz.vutbr.fit.layout.segm.op that return Area Modifier and Type Method Description Area
GroupAnalyzer. findSuperArea(Area sub, List<Area> selected)
Starts with a specified subarea and finds all the subareas that may be joined with the first one.Area
GroupAnalyzerByDOM. findSuperArea(Area sub, List<Area> selected)
Area
GroupAnalyzerByStyles. findSuperArea(Area sub, List<Area> selected)
Area
Separator. getArea1()
Area
Separator. getArea2()
Area
GroupAnalyzer. getParent()
Methods in cz.vutbr.fit.layout.segm.op with parameters of type Area Modifier and Type Method Description void
CollapseAreasOperator. apply(AreaTree atree, Area root)
void
FindLineOperator. apply(AreaTree atree, Area root)
void
FlattenTreeOperator. apply(AreaTree atree, Area root)
void
GroupByDOMOperator. apply(AreaTree atree, Area root)
void
HomogeneousLeafOperator. apply(AreaTree atree, Area root)
void
MultiLineOperator. apply(AreaTree atree, Area root)
void
SortByLinesOperator. apply(AreaTree atree, Area root)
void
SortByPositionOperator. apply(AreaTree atree, Area root)
void
SuperAreaOperator. apply(AreaTree atree, Area root)
protected GroupAnalyzer
GroupByDOMOperator. createGroupAnalyzer(Area root)
protected GroupAnalyzer
HomogeneousLeafOperator. createGroupAnalyzer(Area root)
protected GroupAnalyzer
SuperAreaOperator. createGroupAnalyzer(Area root)
protected abstract void
SeparatorSet. findSeparators(Area area, Area filter)
Finds the horizontal and vertical list of separatorsprotected void
SeparatorSetHVS. findSeparators(Area area, Area filter)
Finds the horizontal and vertical list of separatorsArea
GroupAnalyzer. findSuperArea(Area sub, List<Area> selected)
Starts with a specified subarea and finds all the subareas that may be joined with the first one.Area
GroupAnalyzerByDOM. findSuperArea(Area sub, List<Area> selected)
Area
GroupAnalyzerByStyles. findSuperArea(Area sub, List<Area> selected)
void
SuperAreaOperator. findSuperAreas(Area root, int passlimit)
Creates syntetic super areas by grouping the subareas of the given area.protected boolean
SortByLinesOperator. isOnSameLine(Area a1, Area a2, int threshold)
Checks if the given areas are on the same line.protected boolean
FindLineOperator. joinAreas(Area a)
Goes through the grid of areas and joins the adjacent visual areas that are not separated by anything.protected void
MultiLineOperator. joinAreas(Area a)
Goes through the grid of areas and joins the adjacent visual areas that are not separated by anythingprotected boolean
FindLineOperator. recursiveJoinAreas(Area root)
Goes through all the areas in the tree and tries to join their sub-areas into single areas.protected void
MultiLineOperator. recursiveJoinAreas(Area root)
Goes through all the areas in the tree and tries to join their sub-areas into single areas.protected void
SortByPositionOperator. recursivelySortChildAreas(Area root, boolean columnFirst)
protected void
SortByLinesOperator. recursiveSortLines(Area root)
Goes through all the areas in the tree and sorts their sub-areas.void
Separator. setArea1(Area area1)
void
Separator. setArea2(Area area2)
protected void
SortByLinesOperator. sortChildLines(Area root)
Goes through the grid of areas and sorts the adjacent visual areas that are not separated by anythingMethod parameters in cz.vutbr.fit.layout.segm.op with type arguments of type Area Modifier and Type Method Description Area
GroupAnalyzer. findSuperArea(Area sub, List<Area> selected)
Starts with a specified subarea and finds all the subareas that may be joined with the first one.Area
GroupAnalyzerByDOM. findSuperArea(Area sub, List<Area> selected)
Area
GroupAnalyzerByStyles. findSuperArea(Area sub, List<Area> selected)
Constructors in cz.vutbr.fit.layout.segm.op with parameters of type Area Constructor Description GroupAnalyzer(Area parent)
GroupAnalyzerByDOM(Area parent)
GroupAnalyzerByStyles(Area parent, int maxlevel, boolean matchstyles)
Creates a new area analyzer.SeparatorSet(Area root)
Creates a new separator set with one horizontal and one vertical separator.SeparatorSet(Area root, Area filter)
Creates a new separator set with one horizontal and one vertical separator.SeparatorSetHVS(Area root)
Creates a new separator set with one horizontal and one vertical separator.SeparatorSetHVS(Area root, Area filter)
Creates a new separator set with one horizontal and one vertical separator. -
Uses of Area in cz.vutbr.fit.layout.text
Method parameters in cz.vutbr.fit.layout.text with type arguments of type Area Modifier and Type Method Description String
TextFlowConcatenator. concat(List<Area> elems)
-
Uses of Area in cz.vutbr.fit.layout.text.chunks
Methods in cz.vutbr.fit.layout.text.chunks that return Area Modifier and Type Method Description Area
ChunksSource. getRoot()
Methods in cz.vutbr.fit.layout.text.chunks with parameters of type Area Modifier and Type Method Description SourceBoxList
DefaultHint. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
SourceBoxList
HintInLine. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
SourceBoxList
HintMultiBox. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
SourceBoxList
PresentationHint. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
Extracts boxes from the given area and/or modifies the already existing list of boxes (preprocessing).List<TextChunk>
DefaultHint. processChunks(Area src, List<TextChunk> chunks)
List<TextChunk>
HintInLine. processChunks(Area src, List<TextChunk> areas)
List<TextChunk>
HintMultiBox. processChunks(Area src, List<TextChunk> areas)
List<TextChunk>
HintWholeBox. processChunks(Area src, List<TextChunk> areas)
List<TextChunk>
PresentationHint. processChunks(Area src, List<TextChunk> chunks)
Applies the hint to the list of chunks for the given area (postprocessing a list for a given area)Method parameters in cz.vutbr.fit.layout.text.chunks with type arguments of type Area Modifier and Type Method Description SourceBoxList
DefaultHint. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
SourceBoxList
HintInLine. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
SourceBoxList
HintMultiBox. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
SourceBoxList
PresentationHint. extractBoxes(Area a, SourceBoxList current, Set<Area> processed)
Extracts boxes from the given area and/or modifies the already existing list of boxes (preprocessing).Constructors in cz.vutbr.fit.layout.text.chunks with parameters of type Area Constructor Description AreaTextChunksSource(Area root, TaggerConfig taggerConfig)
ChunksSource(Area root)
PresentationBasedChunksSource(Area root, TaggerConfig tagConfig, float minTagSupport, ChunksCache cache)
Creates a new source.TaggedChunksSource(TaggerConfig tagConfig, Area root, float minTagSupport)
-
Uses of Area in cz.vutbr.fit.layout.text.op
Methods in cz.vutbr.fit.layout.text.op with parameters of type Area Modifier and Type Method Description void
TagEntitiesOperator. apply(AreaTree atree, Area root)
-
Uses of Area in cz.vutbr.fit.layout.text.tag
Fields in cz.vutbr.fit.layout.text.tag declared as Area Modifier and Type Field Description protected Area
TreeTagger. root
Methods in cz.vutbr.fit.layout.text.tag with parameters of type Area Modifier and Type Method Description void
TreeTagger. tagSingleNode(Area area)
Applies all the taggers to a single tree node.void
TreeTagger. tagSubtree(Area root)
Applies all the taggers a subtree of the area tree.Constructors in cz.vutbr.fit.layout.text.tag with parameters of type Area Constructor Description TreeTagger(Area root, Map<Tag,Tagger> taggers)
-
Uses of Area in cz.vutbr.fit.layout.text.taggers
Methods in cz.vutbr.fit.layout.text.taggers with parameters of type Area Modifier and Type Method Description boolean
DateTagger. allowsContinuation(Area node)
boolean
IntegerTagger. allowsContinuation(Area node)
boolean
LocationsTagger. allowsContinuation(Area node)
boolean
PersonsTagger. allowsContinuation(Area node)
boolean
RegexpTagger. allowsContinuation(Area node)
boolean
TimeTagger. allowsContinuation(Area node)
float
CombinedTagger. belongsTo(Area node)
float
DateTagger. belongsTo(Area node)
float
IntegerTagger. belongsTo(Area node)
float
LocationsTagger. belongsTo(Area node)
float
PersonsTagger. belongsTo(Area node)
float
RegexpTagger. belongsTo(Area node)
float
TimeTagger. belongsTo(Area node)
protected String
RegexpTagger. getText(Area node)
protected boolean
BaseTagger. isHomogeneous(Area a)
Checks whether an area is homogeneous regarding the contents style and layout so that it can be treated as an atomic entity for tagging. -
Uses of Area in cz.vutbr.fit.layout.vips.impl
Methods in cz.vutbr.fit.layout.vips.impl that return Area Modifier and Type Method Description Area
VipsTreeBuilder. buildAreaTree(AreaTree atree, VisualArea vs)
-