Maven module :un.api : api-common :
Class : un.api.model.tree.NodeEvent
Extends/Implements : un.api.event.DefaultEvent
Subclasses : -

Node event.
author  Johann Sorel


Variables : TYPE_ADD, TYPE_REMOVE, TYPE_REPLACE, TYPE_REPLACEALL
Functions : NodeEvent, getType, getStartIndex, getEndIndex, getOldElements, getNewElements, getHash, equals


public int TYPE_ADD

public int TYPE_REMOVE

public int TYPE_REPLACE

public int TYPE_REPLACEALL


public void NodeEvent (EventSource source, Event trigger, int type, int startIndex, int endIndex, Node[] oldElements, Node[] newElements)


Node event type.
return  int, one of NodeEvent.TYPE_X
public int getType ()


Get the start index of the event.
return  int
public int getStartIndex ()


Get the end index of the event.
return  int
public int getEndIndex ()


Get the old nodes, removed or replaced.
return  Node[] never null
public Node[] getOldElements ()


Get the new nodes, inserted or replacing.
return  Object[] never null
public Node[] getNewElements ()

public int getHash ()

public boolean equals (Object obj)