public abstract class AbstractTemplate extends Node
listeners, properties, prototype
Constructor and Description |
---|
AbstractTemplate(Element prototype) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept a visitor.
|
Object |
clone()
Returns a deep clone of the node.
|
abstract Element |
getPrototypeFromParent(Element parent)
Return the proper prototype for this element stored in the parent.
|
AbstractTemplate |
getTemplate()
Returns the template of this element.
|
getFirst, getLast, getNext, getPrevious, insert, move, remove, setPrototype
acceptSafe, addListener, getColor, getDocument, getLocalProperty, getParent, getProperties, getProperty, getPropertyValue, getPrototype, getX, getY, hasFlag, importInto, isPropertyLocal, removeListener, setProperties, setProperty, setPropertyFromPath
public AbstractTemplate(Element prototype)
public Object clone() throws CloneNotSupportedException
Node
clone
in class Node
CloneNotSupportedException
public AbstractTemplate getTemplate()
Element
getTemplate
in class Element
public void accept(Visitor visitor) throws Exception
Element
public abstract Element getPrototypeFromParent(Element parent)
Element
getPrototypeFromParent
in class Element
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.