Maven module :un.api : api-common :
Class : un.api.model.tree.DefaultNode
Extends/Implements : un.api.model.tree.AbstractNode un.api.event.EventListener
Subclasses : -

Default node implementation.
author  Johann Sorel


Variables : children
Functions : DefaultNode, DefaultNode, children, canHaveChildren, thisToChars, getEventClasses, receiveEvent, getChildNode, removeChildNode, addChildren, removeChildren, replaceChildren


protected Sequence children


public void DefaultNode (boolean allowChildren)

public void DefaultNode (Node[] children)

public Sequence children ()

public boolean canHaveChildren ()

public Chars thisToChars ()

public Class[] getEventClasses ()


Receive child node events and transform them in TYPE_UPDATE events.
public void receiveEvent (Event event)

protected Object getChildNode (int index)

protected boolean removeChildNode (int index)

protected void addChildren (int index, Object[] candidate)

protected boolean removeChildren ()

protected void replaceChildren (Object[] items)