Uses of Interface
cz.vutbr.fit.layout.model.ContentRect
-
Packages that use ContentRect Package Description cz.vutbr.fit.layout.api cz.vutbr.fit.layout.impl cz.vutbr.fit.layout.model -
-
Uses of ContentRect in cz.vutbr.fit.layout.api
Methods in cz.vutbr.fit.layout.api that return types with arguments of type ContentRect Modifier and Type Method Description static List<ContentRect>AreaUtils. getChildrenAsContentRects(Area parent)Creates a list content rectangles from the child areas of a given area.Methods in cz.vutbr.fit.layout.api with parameters of type ContentRect Modifier and Type Method Description voidOutputDisplay. colorizeByClass(ContentRect rect, String cname)Draws the colorized are bounds.voidOutputDisplay. colorizeByTags(ContentRect rect, Set<Tag> s)Draws the colorized are bounds.voidOutputDisplay. drawConnection(ContentRect a1, ContentRect a2, Color color)Draws a connection between two content rectangles.static booleanAreaUtils. isOnSameLine(ContentRect a1, ContentRect a2)Checks if the given areas are on the same line.Method parameters in cz.vutbr.fit.layout.api with type arguments of type ContentRect Modifier and Type Method Description static voidAreaUtils. 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 voidAreaUtils. findAreasBelow(Area a, AreaTopology topology, List<ContentRect> destBelow) -
Uses of ContentRect in cz.vutbr.fit.layout.impl
Classes in cz.vutbr.fit.layout.impl that implement ContentRect Modifier and Type Class Description classDefaultAreaDefault generic Area implementation.classDefaultBoxDefault generic box implementation.classDefaultContentRectA default ContentRect implementation which is not used in a tree.classDefaultTextChunkA default text chunk implementation.classDefaultTreeContentRect<T extends GenericTreeNode<T>>A default ContentRect implementation that is a tree node at the same time.Methods in cz.vutbr.fit.layout.impl that return ContentRect Modifier and Type Method Description ContentRectAreaListGridTopology. findAreaAt(int x, int y)ContentRectDefaultGridTopology. findAreaAt(int x, int y)ContentRectDefaultContentLine. getAreaAfter(ContentRect area)ContentRectDefaultContentLine. getAreaBefore(ContentRect area)Methods in cz.vutbr.fit.layout.impl that return types with arguments of type ContentRect Modifier and Type Method Description Collection<ContentRect>AreaListGridTopology. findAllAreasAt(int x, int y)Collection<ContentRect>AreaListGridTopology. findAllAreasIntersecting(Rectangular r)Collection<ContentRect>AreaListGridTopology. getAreas()Map<ContentRect,Rectangular>AreaListGridTopology. getPositionMap()Methods in cz.vutbr.fit.layout.impl with parameters of type ContentRect Modifier and Type Method Description voidDefaultContentLine. add(int index, ContentRect area)booleanDefaultContentLine. add(ContentRect area)ContentRectDefaultContentLine. getAreaAfter(ContentRect area)ContentRectDefaultContentLine. getAreaBefore(ContentRect area)RectangularAreaListGridTopology. getPosition(ContentRect area)RectangularDefaultGridTopology. getPosition(ContentRect area)voidAreaListGridTopology. setPosition(ContentRect area, Rectangular gp)Method parameters in cz.vutbr.fit.layout.impl with type arguments of type ContentRect Modifier and Type Method Description booleanDefaultContentLine. addAll(int index, Collection<? extends ContentRect> c)booleanDefaultContentLine. addAll(Collection<? extends ContentRect> c)voidAreaListGridTopology. setAreas(List<ContentRect> areas)voidDefaultGridTopology. setAreas(List<ContentRect> areas)Constructors in cz.vutbr.fit.layout.impl with parameters of type ContentRect Constructor Description DefaultContentRect(ContentRect src)DefaultTreeContentRect(Class<T> myType, ContentRect src)Constructor parameters in cz.vutbr.fit.layout.impl with type arguments of type ContentRect Constructor Description AreaGrid(Rectangular position, Collection<ContentRect> areas, AreaTopology targetTopology)Constructs a grid from the list of areas.AreaListGridTopology(Collection<ContentRect> areas)AreaListGridTopology(Collection<ContentRect> areas, boolean doInit) -
Uses of ContentRect in cz.vutbr.fit.layout.model
Subinterfaces of ContentRect in cz.vutbr.fit.layout.model Modifier and Type Interface Description interfaceAreaAn area containing several visual boxes.interfaceBoxThis class represents a box in the rendered page tree.interfaceTextChunkAn rectangular area representing a text chunk.Methods in cz.vutbr.fit.layout.model that return ContentRect Modifier and Type Method Description ContentRectAreaTopology. findAreaAt(int x, int y)Finds an area at the specified position in the grid.ContentRectContentLine. getAreaAfter(ContentRect area)Finds the area that follows the given area on the line.ContentRectContentLine. getAreaBefore(ContentRect area)Finds the area that precedes the given area on the line.Methods in cz.vutbr.fit.layout.model that return types with arguments of type ContentRect Modifier and Type Method Description Collection<ContentRect>AreaTopology. findAllAreasAt(int x, int y)Finds all the areas at the specified position in the grid.Collection<ContentRect>AreaTopology. findAllAreasIntersecting(Rectangular r)Finds all the areas that intersect with the specified rectangle in the grid.Collection<ContentRect>AreaTopology. getAreas()Gets the list of areas that are being managed by this topology.Map<ContentRect,Rectangular>AreaTopology. getPositionMap()Obtains a map assigning a position to each area.Methods in cz.vutbr.fit.layout.model with parameters of type ContentRect Modifier and Type Method Description ContentRectContentLine. getAreaAfter(ContentRect area)Finds the area that follows the given area on the line.ContentRectContentLine. getAreaBefore(ContentRect area)Finds the area that precedes the given area on the line.RectangularAreaTopology. getPosition(ContentRect area)Obtains the position of the given area within this topology.voidAreaTopology. setPosition(ContentRect area, Rectangular gp)Sets the position of the given area in this topology.Constructors in cz.vutbr.fit.layout.model with parameters of type ContentRect Constructor Description AreaConnection(ContentRect a1, ContentRect a2, Relation relation, float weight)
-