- java.lang.Object
-
- com.semanticcms.core.model.Node
-
- com.semanticcms.core.model.Element
-
- com.semanticcms.dia.model.Dia
-
-
Constructor Summary
Constructors Constructor Description Dia()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBook()protected StringgetDefaultIdPrefix()intgetHeight()StringgetLabel()If not set, defaults to the last path segment of path, with any ".dia" extension stripped.StringgetPath()intgetWidth()voidsetBook(String book)voidsetHeight(int height)voidsetLabel(String label)voidsetPath(String path)voidsetWidth(int width)-
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 Detail
-
EXTENSION
public static final String EXTENSION
- See Also:
- Constant Field Values
-
DOT_EXTENSION
public static final String DOT_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLabel
public String getLabel()
If not set, defaults to the last path segment of path, with any ".dia" extension stripped.
-
setLabel
public void setLabel(String label)
-
getBook
public String getBook()
-
setBook
public void setBook(String book)
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
getDefaultIdPrefix
protected String getDefaultIdPrefix()
- Specified by:
getDefaultIdPrefixin classElement
-
-