|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.path.AbstractCompositePath
Abstract Path that combines two paths together
Constructor Summary | |
AbstractCompositePath()
|
Method Summary | |
abstract java.lang.Object |
clone()
Clones the path. |
protected java.lang.Object |
cloneHelper()
|
UINode |
followPath(RenderingContext context,
UINode from)
Follows the entire path. |
UINode |
followPath(RenderingContext context,
UINode from,
int start,
int depth)
Returns the result of partially following the path from a starting node. |
int |
getElementCount()
Returns the number of elements in the path. |
int |
getElementIndex(int elementIndex)
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)
Returns the chid name of a path element; returns null if that part of the path is an indexed child. |
protected abstract Path |
getEndPath()
Returns the Path to use as the end of the composite Path |
protected abstract Path |
getStartPath()
Returns the Path to use as the start of the composite Path |
boolean |
isElementNamed(int elementIndex)
Returns true if the element at the given index is a named child, as opposed to an indexed child. |
java.lang.String |
toString()
Returns a string representation of the path. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AbstractCompositePath()
Method Detail |
protected abstract Path getStartPath()
protected abstract Path getEndPath()
public UINode followPath(RenderingContext context, UINode from, int start, int depth)
followPath
in interface Path
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 followpublic final UINode followPath(RenderingContext context, UINode from)
followPath
in interface Path
from
- the node to start frompublic int getElementCount()
getElementCount
in interface Path
public boolean isElementNamed(int elementIndex)
isElementNamed
in interface Path
elementIndex
- the zero-based index into the path; if
negative, counts back from the end of the pathpublic int getElementIndex(int elementIndex)
getElementIndex
in interface Path
elementIndex
- the zero-based index into the path; if
negative, counts back from the end of the pathpublic java.lang.String getElementName(int elementIndex)
getElementName
in interface Path
elementIndex
- the zero-based index into the path; if
negative, counts back from the end of the pathpublic java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.Object clone()
Path
clone
in interface Path
clone
in class java.lang.Object
protected final java.lang.Object cloneHelper()
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |