Serializable
public final class NodeReorderEvent extends NodeEvent
source
Modifier and Type | Method | Description |
---|---|---|
int[] |
getPermutation() |
Get the permutation used for reordering.
|
int |
getPermutationSize() |
Get the number of children reordered.
|
List<Node> |
getSnapshot() |
Provides static and immmutable info about the number, and instances of
nodes available during the time the event was emited.
|
int |
newIndexOf(int i) |
Get the new position of the child that had been at a given position.
|
String |
toString() |
Human presentable information about the event
|
getSource
public final List<Node> getSnapshot()
public int newIndexOf(int i)
i
- the original position of the childpublic int[] getPermutation()
public int getPermutationSize()
public String toString()
toString
in class EventObject
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.