info.magnolia.ui.vaadin.gwt.client.editor.dom
Class MgnlElement
java.lang.Object
info.magnolia.ui.vaadin.gwt.client.editor.dom.CmsNode
info.magnolia.ui.vaadin.gwt.client.editor.dom.MgnlElement
- Direct Known Subclasses:
- MgnlArea, MgnlComponent, MgnlPage
public abstract class MgnlElement
- extends CmsNode
Extends the CmsNode
by objects used for positioning the associated AbstractBar
inside the DOM structure.
Has a map with all attributes extracted from the Comment
.
- See Also:
AbstractMgnlElementProcessor
Fields inherited from class info.magnolia.ui.vaadin.gwt.client.editor.dom.CmsNode |
parent |
Methods inherited from class info.magnolia.ui.vaadin.gwt.client.editor.dom.CmsNode |
asMgnlElement, delete, getAreas, getAscendants, getChildren, getComponents, getDescendants, getLevel, getParent, getParentArea, getRoot, getRootArea, isRelated, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MgnlElement
public MgnlElement(MgnlElement parent)
- MgnlElement. Represents a node in the tree built on cms-tags.
setAttributes
public void setAttributes(Map<String,String> attributes)
getAttributes
public Map<String,String> getAttributes()
getControlBar
protected AbstractBar getControlBar()
setControlBar
public void setControlBar(AbstractBar controlBar)
getFirstElement
public com.google.gwt.dom.client.Element getFirstElement()
setFirstElement
public void setFirstElement(com.google.gwt.dom.client.Element firstElement)
getLastElement
public com.google.gwt.dom.client.Element getLastElement()
setLastElement
public void setLastElement(com.google.gwt.dom.client.Element lastElement)
setEditElement
public void setEditElement(com.google.gwt.dom.client.Element editElement)
getEditElement
public com.google.gwt.dom.client.Element getEditElement()
getAttribute
public String getAttribute(String key)
containsAttribute
public boolean containsAttribute(String key)
getStartComment
public com.google.gwt.dom.client.Element getStartComment()
getEndComment
public com.google.gwt.dom.client.Element getEndComment()
setStartComment
public void setStartComment(com.google.gwt.dom.client.Element element)
setEndComment
public void setEndComment(com.google.gwt.dom.client.Element element)
getTypedElement
public abstract AbstractElement getTypedElement()
isPage
public boolean isPage()
isArea
public boolean isArea()
isComponent
public boolean isComponent()
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.