|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.elements.PoshElement<THIS,PARENT>
cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement<Adopt,PoshPlan>
cz.cuni.amis.pogamut.sposh.elements.Adopt
public class Adopt
| Field Summary | |
|---|---|
static String |
adName
Property string of competence name |
static DataFlavor |
dataFlavor
Data flavor of adopt class, used for drag-and-drop |
| Fields inherited from class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement |
|---|
IDENT_PATTERN |
| Constructor Summary | |
|---|---|
Adopt(String name,
FormalParameters parameters,
List<Sense> exitCondition,
PrimitiveCall adoptedElement)
|
|
| Method Summary | |
|---|---|
void |
addCondition(Sense sense)
|
TriggeredAction |
getAdoptedElement()
|
DataFlavor |
getDataFlavor()
Get data flavour of posh plan element,used during DnD from palette to PoshScene. |
Trigger<Adopt> |
getExitCondition()
|
List<? extends PoshElement> |
getChildDataNodes()
Get list of children of this node. |
String |
getName()
Get name of the element. |
FormalParameters |
getParameters()
|
LapType |
getType()
Get type of the element. |
boolean |
moveChild(int newIndex,
PoshElement child)
Move child to the @newIndex. |
void |
setAdoptedElement(TriggeredAction adoptedElement)
|
void |
setName(String name)
|
void |
setParameters(FormalParameters parameters)
|
| Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement |
|---|
getElementId, getUnusedName, isUsedName, moveChildInList |
| Methods inherited from class cz.cuni.amis.pogamut.sposh.elements.PoshElement |
|---|
addElementListener, emitChildDeleted, emitChildMove, emitChildNode, firePropertyChange, getElementListeners, getChildId, getChildren, getId, getParent, getRootNode, isChildOfParent, removeElementListener, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DataFlavor dataFlavor
public static final String adName
| Constructor Detail |
|---|
public Adopt(String name,
FormalParameters parameters,
List<Sense> exitCondition,
PrimitiveCall adoptedElement)
| Method Detail |
|---|
public FormalParameters getParameters()
getParameters in interface IParametrizedElementpublic void setParameters(FormalParameters parameters)
setParameters in interface IParametrizedElementpublic String getName()
INamedElement
getName in interface INamedElement
public void setName(String name)
throws InvalidNameException,
DuplicateNameException,
CycleException
InvalidNameException
DuplicateNameException
CycleExceptionpublic void addCondition(Sense sense)
public Trigger<Adopt> getExitCondition()
public TriggeredAction getAdoptedElement()
public void setAdoptedElement(TriggeredAction adoptedElement)
public DataFlavor getDataFlavor()
PoshElement
getDataFlavor in class PoshElement<Adopt,PoshPlan>public LapType getType()
PoshElement
getType in class PoshElement<Adopt,PoshPlan>public List<? extends PoshElement> getChildDataNodes()
PoshElement
getChildDataNodes in class PoshElement<Adopt,PoshPlan>
public boolean moveChild(int newIndex,
PoshElement child)
PoshElement
moveChild in class PoshElement<Adopt,PoshPlan>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||