Package cz.vutbr.fit.layout.rdf.model
Class RDFBox
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.DefaultTreeNode<T>
-
- cz.vutbr.fit.layout.impl.DefaultTreeContentRect<Box>
-
- cz.vutbr.fit.layout.impl.DefaultBox
-
- cz.vutbr.fit.layout.rdf.model.RDFBox
-
- All Implemented Interfaces:
Box
,ContentRect
,GenericTreeNode<Box>
,Rect
,RDFOrderedResource
,RDFResource
public class RDFBox extends DefaultBox implements RDFOrderedResource
- Author:
- burgetr
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cz.vutbr.fit.layout.model.Box
Box.DisplayType, Box.Type
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.rdf4j.model.IRI
iri
-
Fields inherited from interface cz.vutbr.fit.layout.model.ContentRect
ATTR_SAME_AS
-
-
Constructor Summary
Constructors Constructor Description RDFBox(org.eclipse.rdf4j.model.IRI uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDocumentOrder()
Gets the order of the resource within the artifact.org.eclipse.rdf4j.model.IRI
getIri()
Obtains the URI of the resource in the RDF storage.void
setDocumentOrder(int order)
Sets the document order for the resource.void
setIri(org.eclipse.rdf4j.model.IRI uri)
-
Methods inherited from class cz.vutbr.fit.layout.impl.DefaultBox
getAttribute, getAttributes, getColor, getContentBounds, getContentObject, getDisplayType, getFontFamily, getHeight, getIntrinsicParent, getOrder, getOwnText, getSourceNodeId, getSubstringBounds, getTagName, getText, getText, getType, getVisualBounds, getWidth, getX1, getX2, getY1, getY2, isVisible, isVisuallySeparated, move, recomputeTextStyle, removeAttribute, setAttribute, setColor, setContentBounds, setContentObject, setDisplayType, setFontFamily, setIntrinsicParent, setOrder, setOwnText, setSourceNodeId, setTagName, setType, setVisible, setVisualBounds, toString
-
Methods inherited from class cz.vutbr.fit.layout.impl.DefaultTreeContentRect
addUserAttribute, equals, getBackgroundColor, getBackgroundImagePng, getBorderCount, getBorderStyle, getBottomBorder, getBounds, getId, getLeftBorder, getLine, getPageIri, getRightBorder, getTextStyle, getTopBorder, getUserAttribute, hasBackground, hasBottomBorder, hashCode, hasLeftBorder, hasRightBorder, hasTopBorder, childrenChanged, isBackgroundSeparated, setBackgroundColor, setBackgroundImagePng, setBackgroundSeparated, setBorderStyle, setBounds, setId, setLine, setPageIri, setTextStyle
-
Methods inherited from class cz.vutbr.fit.layout.impl.DefaultTreeNode
appendChild, appendChildren, getDepth, getChildAt, getChildCount, getChildren, getIndex, getLeafCount, getNextSibling, getParent, getPreviousSibling, getRoot, insertChild, isLeaf, isRoot, removeAllChildren, removeChild, removeChild, setParent, setRoot
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cz.vutbr.fit.layout.model.ContentRect
addUserAttribute, getBackgroundColor, getBackgroundImagePng, getBorderCount, getBorderStyle, getBottomBorder, getId, getLeftBorder, getLine, getPageIri, getRightBorder, getTextStyle, getTopBorder, getUserAttribute, hasBackground, hasBottomBorder, hasLeftBorder, hasRightBorder, hasTopBorder, isBackgroundSeparated, setBackgroundSeparated, setBounds, setLine
-
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
-
getIri
public org.eclipse.rdf4j.model.IRI getIri()
Description copied from interface:RDFResource
Obtains the URI of the resource in the RDF storage.- Specified by:
getIri
in interfaceRDFResource
- Returns:
- the resource URI
-
setIri
public void setIri(org.eclipse.rdf4j.model.IRI uri)
-
getDocumentOrder
public int getDocumentOrder()
Description copied from interface:RDFOrderedResource
Gets the order of the resource within the artifact.- Specified by:
getDocumentOrder
in interfaceRDFOrderedResource
- Returns:
- a positive integer that can be used for ordering the resource.
-
setDocumentOrder
public void setDocumentOrder(int order)
Description copied from interface:RDFOrderedResource
Sets the document order for the resource.- Specified by:
setDocumentOrder
in interfaceRDFOrderedResource
- Parameters:
order
- the order (positive integer) to be set.
-
-