|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttom.library.sl.VisitableBuiltin<T>
public class VisitableBuiltin<T>
| Constructor Summary | |
|---|---|
VisitableBuiltin(T builtin)
|
|
| Method Summary | |
|---|---|
T |
getBuiltin()
|
Visitable |
getChildAt(int index)
Returns the child at the specified position |
int |
getChildCount()
Returns the number of children of the current Visitable |
Visitable[] |
getChildren()
Returns the list of (non builtin) Visitable children |
Visitable |
setChildAt(int index,
Visitable v)
Replaces a child at the specified position |
Visitable |
setChildren(Visitable[] childs)
Replaces all children of any visitable at once, and returns this visitable. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VisitableBuiltin(T builtin)
| Method Detail |
|---|
public T getBuiltin()
public int getChildCount()
Visitable
getChildCount in interface Visitablepublic Visitable getChildAt(int index)
Visitable
getChildAt in interface Visitableindex - index of the element to return
public Visitable setChildAt(int index,
Visitable v)
Visitable
setChildAt in interface Visitableindex - index of the element to returnv - element to set up
public Visitable setChildren(Visitable[] childs)
Visitable
setChildren in interface Visitablechilds - array of children to set up
public Visitable[] getChildren()
Visitable
getChildren in interface Visitablepublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||