|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface Path
A path defines a route through a UINode tree. The Path interface itself is immutable, but implementations are not required to be.
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Deprecated. Clones the path. |
UINode |
followPath(UIXRenderingContext context,
UINode from)
Deprecated. Follows the entire path. |
UINode |
followPath(UIXRenderingContext context,
UINode from,
int start,
int depth)
Deprecated. Returns the result of partially following the path from a starting node. |
int |
getElementCount()
Deprecated. Returns the number of elements in the path. |
int |
getElementIndex(int elementIndex)
Deprecated. Returns the child index of a path element; returns -1 if that part of the path is a named child. |
java.lang.String |
getElementName(int elementIndex)
Deprecated. Returns the chid name of a path element; returns null if that part of the path is an indexed child. |
boolean |
isElementNamed(int elementIndex)
Deprecated. Returns true if the element at the given index is a named child, as opposed to an indexed child. |
| Method Detail |
|---|
UINode followPath(UIXRenderingContext context,
UINode from,
int start,
int depth)
from - the node to start fromstart - the number of steps in the path to start from; if 0,
starts from the beginning. If negative, counts from
the end.depth - the number of steps in the path to follow
UINode followPath(UIXRenderingContext context,
UINode from)
from - the node to start fromint getElementCount()
boolean isElementNamed(int elementIndex)
elementIndex - the zero-based index into the path; if
negative, counts back from the end of the pathint getElementIndex(int elementIndex)
elementIndex - the zero-based index into the path; if
negative, counts back from the end of the pathjava.lang.String getElementName(int elementIndex)
elementIndex - the zero-based index into the path; if
negative, counts back from the end of the pathjava.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||