|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParentIfc
Interface ParentIfc
Method Summary | |
---|---|
boolean |
addChild(ChildIfc child)
Adds the child. |
boolean |
addChildAt(ChildIfc child,
int position)
Adds the child at the specific position. |
void |
addParentListener(com.compuware.optimaltrace.framework.relations.ParentListenerIfc listener)
Adds the parent listener. |
ChildIfc |
decrementChildPosition(ChildIfc child)
Moves the child's position 1 towards the back of the List. |
void |
fireChildEvent(ChildIfc child,
int index,
int oldIndex,
long eventType)
Fires the child event. |
void |
fireChildEvent(java.util.List children,
long eventType)
Fires the child event. |
ChildIfc |
getChild(java.lang.Class childClass)
Gets the child. |
ChildIfc |
getChild(java.lang.String name,
java.lang.Class childClass)
Gets the child. |
ChildIfc |
getChildById(long id)
Gets the child by id. |
java.util.List |
getChildren()
Gets the children. |
java.util.List |
getChildren(java.lang.Class childClass)
Gets the children. |
java.util.List |
getChildren(java.lang.String name,
java.lang.Class childClass)
Gets the children. |
ChildIfc |
getNextChild(ChildIfc child)
Gets the next child, or null if none such can be found |
java.util.List |
getParentListeners()
Gets the parent listeners. |
ChildIfc |
getPreviousChild(ChildIfc child)
Gets the previous child, or null if none such can be found |
boolean |
hasChild(ChildIfc child)
Checks if it has the child. |
boolean |
hasChildById(long childId)
Checks if it has the child by id. |
ChildIfc |
incrementChildPosition(ChildIfc child)
Moves the child's position 1 towards the top of the List. |
boolean |
moveChild(ChildIfc child,
int newPosition)
Moves the child's position to the new position. |
int |
numChildren()
Gets the number of children. |
void |
reInitialiseListeners()
Re-initializes the listener list. |
boolean |
removeChild(ChildIfc child)
Removes the child. |
void |
removeParentListener(com.compuware.optimaltrace.framework.relations.ParentListenerIfc listener)
Removes the parent listener. |
boolean |
silentlyAddChild(ChildIfc child)
Adds the dhild silently. |
boolean |
silentlyAddChildAt(ChildIfc child,
int index)
Adds the child at the specific position silently. |
boolean |
silentlyRemoveChild(ChildIfc child)
Adds the child silently. |
Method Detail |
---|
boolean addChild(ChildIfc child)
child
-
boolean addChildAt(ChildIfc child, int position)
child
- position
-
boolean silentlyAddChild(ChildIfc child)
child
-
boolean silentlyAddChildAt(ChildIfc child, int index)
child
-
boolean removeChild(ChildIfc child)
child
-
boolean silentlyRemoveChild(ChildIfc child)
child
-
java.util.List getChildren()
java.util.List getChildren(java.lang.Class childClass)
childClass
-
java.util.List getChildren(java.lang.String name, java.lang.Class childClass)
name
- childClass
-
ChildIfc getChild(java.lang.String name, java.lang.Class childClass)
name
- childClass
-
ChildIfc getChild(java.lang.Class childClass)
childClass
-
ChildIfc getNextChild(ChildIfc child)
child
-
ChildIfc getPreviousChild(ChildIfc child)
child
-
ChildIfc getChildById(long id)
id
-
void addParentListener(com.compuware.optimaltrace.framework.relations.ParentListenerIfc listener)
listener
- void removeParentListener(com.compuware.optimaltrace.framework.relations.ParentListenerIfc listener)
listener
- boolean hasChild(ChildIfc child)
child
-
boolean hasChildById(long childId)
childId
-
int numChildren()
ChildIfc incrementChildPosition(ChildIfc child)
child
-
ChildIfc decrementChildPosition(ChildIfc child)
child
-
boolean moveChild(ChildIfc child, int newPosition)
child
- newPosition
-
java.util.List getParentListeners()
void reInitialiseListeners()
void fireChildEvent(ChildIfc child, int index, int oldIndex, long eventType)
child
- index
- oldIndex
- eventType
- void fireChildEvent(java.util.List children, long eventType)
children
- eventType
-
|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |