public abstract class BaseCompositeComponent extends BaseComponent implements IComposite
BaseComponent.SubComponentIComposite.CompositePositionlog| Constructor and Description |
|---|
BaseCompositeComponent() |
BaseCompositeComponent(String src,
String anchor,
IComposite.CompositePosition position) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(BaseComponent child,
int index)
Adds a child to the child list at the specified position.
|
String |
getCompositeAnchor()
Returns the name of the anchor component within the parent namespace.
|
IComposite.CompositePosition |
getCompositePosition()
Returns the insertion point of the composite relative to its anchor.
|
BaseComponent |
getCompositeRoot()
Returns the root component for the composite.
|
protected void |
setCompositeAnchor(String anchor)
Sets the name of the anchor component within the parent namespace.
|
protected void |
setCompositePosition(IComposite.CompositePosition position)
Sets the insertion point of the composite relative to its anchor.
|
protected void |
setCompositeSource(String src)
Sets the URL of the source FSP for this composite.
|
_attach, _initProps, addChild, addChild, addChildren, addComposite, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterRemoveChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, detachChildren, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getLastController, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasChildren, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, loadModule, loadModule, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, onDestroyTracked, propertyChange, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setContent, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, swapTrackedComponents, sync, toString, trackComponent, trimify, untrackComponent, validate, validate, validateChild, validateIsChild, validateName, validatePage, validateParent, wireController, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waittransformForClientgetAttribute, hasAttribute, removeAttribute, setAttributepublic BaseCompositeComponent()
public BaseCompositeComponent(String src, String anchor, IComposite.CompositePosition position)
public BaseComponent getCompositeRoot()
ICompositegetCompositeRoot in interface ICompositeprotected void setCompositeSource(String src)
src - The URL of the source FSP for this composite.public String getCompositeAnchor()
ICompositegetCompositeAnchor in interface ICompositeprotected void setCompositeAnchor(String anchor)
anchor - The name of the anchor component within the parent namespace.public IComposite.CompositePosition getCompositePosition()
ICompositegetCompositePosition in interface ICompositeprotected void setCompositePosition(IComposite.CompositePosition position)
position - The insertion point of the composite relative to its anchor.public void addChild(BaseComponent child, int index)
BaseComponentaddChild in class BaseComponentchild - Child to add.index - The position in the child list where the new child will be inserted.Copyright © 2018 Fujion Framework. All rights reserved.