Interface IDesignElement
- All Superinterfaces:
Cloneable
Interface for all the design elements.
-
Method Details
-
getDefn
IElementDefn getDefn()Returns the definition object for this element.Part of: Meta data system.
- Returns:
- The element definition. Will always be non-null in a valid build.
-
getHandle
Returns an API handle for this element.- Parameters:
module
- the module- Returns:
- an API handle for this element.
-
clone
Generates a clone copy of this element. When a report element is cloned, the basic principle is just copying the property value into the clone, the other things, like container references, child list references, listener references will not be cloned; that is, the clone is isolated from the design tree until it is added into a target design tree.When inserting the cloned element into the design tree, user needs to care about the element name confliction; that is, the client needs to call the method
to change the element names.ModuleHandleImpl.rename(DesignElementHandle)
- Returns:
- Object the cloned design element.
- Throws:
CloneNotSupportedException
- if clone is not supported.
-