|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PoshElement | |
|---|---|
| cz.cuni.amis.pogamut.sposh.elements | This package contains parser for Yaposh plan, classes that represent elements of the plan and some auxiliry classes. |
| cz.cuni.amis.pogamut.sposh.exceptions | |
| Uses of PoshElement in cz.cuni.amis.pogamut.sposh.elements |
|---|
| Classes in cz.cuni.amis.pogamut.sposh.elements with type parameters of type PoshElement | |
|---|---|
interface |
IConditionElement<CONDITION_OWNER extends PoshElement>
Interface for elements that use condition: either goal or trigger. |
class |
PoshDummyElement<THIS extends PoshElement,PARENT extends PoshElement>
This is class used as intermediate class between PoshElement and DataNodes of POSH elements. |
class |
PoshDummyElement<THIS extends PoshElement,PARENT extends PoshElement>
This is class used as intermediate class between PoshElement and DataNodes of POSH elements. |
class |
PoshElement<T extends PoshElement,PARENT extends PoshElement>
Base class for each element of Yaposh plan. |
class |
PoshElement<T extends PoshElement,PARENT extends PoshElement>
Base class for each element of Yaposh plan. |
interface |
PoshElementListener<PARENT extends PoshElement>
Mainly for widgets. |
class |
Trigger<OWNER extends PoshElement>
Trigger of an element. |
| Subclasses of PoshElement in cz.cuni.amis.pogamut.sposh.elements | |
|---|---|
class |
ActionPattern
AP is a named sequence of actions. |
class |
Adopt
Adopt element is a stopgap. |
class |
Competence
Competence is basically a named structure offering several choices. |
class |
CompetenceElement
CompetenceElement is basically one of choices of the Competence. |
class |
DriveCollection
This is root of POSH plan in execution sense. |
class |
DriveElement
Drive is a child of DriveCollection. |
class |
PoshDummyElement<THIS extends PoshElement,PARENT extends PoshElement>
This is class used as intermediate class between PoshElement and DataNodes of POSH elements. |
class |
PoshPlan
Root node of whole lap plan, contains DriveCollection, all Competence
and ActionPattern + optional documentation. |
class |
Sense
Sense is a condition consisting from primitive call, predicate and value. |
class |
TriggeredAction
Triggered action is basically a call of some other entity that is supposed to be executed. |
| Methods in cz.cuni.amis.pogamut.sposh.elements with type parameters of type PoshElement | ||
|---|---|---|
|
LapChain.derive(REFERENCE reference)
Create and return new chain using this one as the base. |
|
|
LapChain.derive(TriggeredAction action,
REFERENCED_NODE referencedNode)
Return new chain using this one as the base and create new link from the reference of action to AP. |
|
protected
|
PoshDummyElement.getElementId(List<ELEMENT> elements,
ELEMENT element)
Get index of @element in all @elements. |
|
protected
|
PoshDummyElement.moveChildInList(List<T> list,
T child,
int newIndex)
Take the @list of elements and one @child of the @list. |
|
|
LapPath.traversePath(PoshPlan plan)
Methods with name traverseXYZ mean traverse from XYZ below xyzLink means gor from xyz below according to type and id. |
|
| Methods in cz.cuni.amis.pogamut.sposh.elements that return types with arguments of type PoshElement | |
|---|---|
List<? extends PoshElement> |
Adopt.getChildDataNodes()
|
List<PoshElement> |
PoshPlan.getChildDataNodes()
|
List<PoshElement> |
Sense.getChildDataNodes()
|
List<PoshElement> |
DriveCollection.getChildDataNodes()
Get all child nodes of the DC. |
abstract List<? extends PoshElement> |
PoshElement.getChildDataNodes()
Get list of children of this node. |
List<PoshElement> |
DriveElement.getChildDataNodes()
|
List<PoshElement> |
CompetenceElement.getChildDataNodes()
|
List<PoshElement> |
TriggeredAction.getChildDataNodes()
|
List<? extends PoshElement> |
PoshElement.getChildren(LapType selectType)
Get all children of this element that have @selectType. |
| Methods in cz.cuni.amis.pogamut.sposh.elements with parameters of type PoshElement | |
|---|---|
void |
PoshElementListener.childElementAdded(PARENT parent,
PoshElement child)
Event handler will be notified that parent has added a new child among its children. |
void |
LapChain.childElementAdded(PoshElement parent,
PoshElement child)
|
void |
LapChain.childElementAdded(PoshElement parent,
PoshElement child)
|
void |
PoshElementListener.childElementMoved(PARENT parent,
PoshElement child,
int oldIndex,
int newIndex)
Evenet handler will be notified that parent has moved a child. |
void |
LapChain.childElementMoved(PoshElement parent,
PoshElement child,
int oldIndex,
int newIndex)
|
void |
LapChain.childElementMoved(PoshElement parent,
PoshElement child,
int oldIndex,
int newIndex)
|
void |
PoshElementListener.childElementRemoved(PARENT parent,
PoshElement child,
int removedChildPosition)
Event handler will be notified when parent has removed child. |
void |
LapChain.childElementRemoved(PoshElement parent,
PoshElement child,
int removedChildPosition)
|
void |
LapChain.childElementRemoved(PoshElement parent,
PoshElement child,
int removedChildPosition)
|
protected void |
PoshElement.emitChildDeleted(PoshElement child,
int removedChildPosition)
Tell all listeners that a child of this element has been deleted. |
protected void |
PoshElement.emitChildMove(PoshElement childNode,
int oldIndex,
int newIndex)
Notify all listeners (associated Widgets) that one child of this node has changed order(position). |
protected void |
PoshElement.emitChildNode(PoshElement emitedChild)
Notify all listeners (mostly associated Widgets) that this dataNode has a new child. |
int |
PoshElement.getChildId(PoshElement child)
Get index of a @child. |
static LapPath |
LapPath.getLinkPath(PoshElement endElement)
Construct path from the @endElement to its very first branch node(DC, AD, AP, C) upward in the tree. |
boolean |
Adopt.moveChild(int newIndex,
PoshElement child)
|
boolean |
Competence.moveChild(int newIndex,
PoshElement child)
|
boolean |
PoshPlan.moveChild(int newIndex,
PoshElement child)
|
boolean |
Sense.moveChild(int newIndex,
PoshElement child)
|
boolean |
DriveCollection.moveChild(int newIndex,
PoshElement child)
|
boolean |
ActionPattern.moveChild(int newIndex,
PoshElement child)
|
abstract boolean |
PoshElement.moveChild(int newIndex,
PoshElement child)
Move child to the @newIndex. |
boolean |
DriveElement.moveChild(int newIndex,
PoshElement child)
|
boolean |
CompetenceElement.moveChild(int newIndex,
PoshElement child)
|
boolean |
TriggeredAction.moveChild(int newIndex,
PoshElement child)
|
| Uses of PoshElement in cz.cuni.amis.pogamut.sposh.exceptions |
|---|
| Methods in cz.cuni.amis.pogamut.sposh.exceptions with parameters of type PoshElement | |
|---|---|
static UnexpectedElementException |
UnexpectedElementException.create(PoshElement element)
Create new unexpected element exception, caller got unexpected PoshElement. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||