java.lang.Object
com.semanticcms.core.model.Node
com.semanticcms.core.model.Element
com.semanticcms.dia.model.Dia
A Dia-based diagrams in web pages.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBook()
protected String
int
getLabel()
If not set, defaults to the last path segment of path, with any ".dia" extension stripped.getPath()
int
getWidth()
void
Sets the book while making sure not frozen.void
setHeight
(int height) Sets the height while making sure not frozen.void
Sets the label while making sure not frozen.void
Sets the path while making sure not frozen.void
setWidth
(int width) Sets the width while making sure not frozen.Methods inherited from class com.semanticcms.core.model.Element
addChildElement, equals, generateIdPrefix, getElementIdTemplate, getElementRef, getId, getPage, getParentElement, hashCode, isHidden, isValidId, setId
Methods inherited from class com.semanticcms.core.model.Node
addPageLink, appendLabel, checkNotFrozen, findChildElement, findChildElement, findTopLevelElements, freeze, getBody, getChildElements, getPageLinks, getProperty, requireChildElement, requireChildElement, setBody, setProperty, toString
-
Field Details
-
EXTENSION
- See Also:
-
DOT_EXTENSION
- See Also:
-
-
Constructor Details
-
Dia
public Dia()
-
-
Method Details
-
getLabel
If not set, defaults to the last path segment of path, with any ".dia" extension stripped. -
setLabel
Sets the label while making sure not frozen. -
getBook
-
setBook
Sets the book while making sure not frozen. -
getPath
-
setPath
Sets the path while making sure not frozen. -
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) Sets the width while making sure not frozen. -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) Sets the height while making sure not frozen. -
getDefaultIdPrefix
- Specified by:
getDefaultIdPrefix
in classElement
-