|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--moves.EuMove | +--moves.constructFamily
This abstract class is behind all the LEA moves AddCenter, AddFull, CastAsInterval, ConstructCircle, ConstructLine, SetRadius. It will extend also to the abstract class constructFamilyWithBeacon which is in turn behind AddEnds, Call, CastAsArc, CastAsHalfLine and FindIntersection. These moves are characterized by the following properties:
Field Summary |
Fields inherited from class moves.EuMove |
allowedSegments, in, out |
Constructor Summary | |
constructFamily(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon,
java.lang.String inmodes,
java.lang.String outmodes)
This constructor checks syntax, given full information from a LEA program. |
|
constructFamily(java.util.Vector inputs,
java.util.Vector results,
java.util.Vector newResults,
interagents.EuLab lab,
java.lang.String inmodes,
java.lang.String outmodes)
This constructor creates, given a selection of objects from a user, a move which the user may elect to perform. |
Method Summary | |
protected void |
ex(interagents.EuLab lab)
Performs the constructions and resolves output, identical in main and macro mode |
protected void |
findAllConstructs(interagents.explicitHolder results,
interagents.EuLab lab)
Does all constructions and places them in the provided explicitHolder. |
protected void |
issueBeacon(interagents.joinedWrapper findings,
interagents.EuLab lab)
Does nothing, but is overwritten in constructFamilyWithBeacon |
protected int |
postprocess(interagents.EuLab lab,
librarian.ppProcessor ppp)
Performs various postprocessing of the move, updating the ppProcessor if necessary. |
protected void |
refineConstructs(interagents.joinedWrapper findings,
interagents.EuLab lab)
Does nothing, but is overwritten in constructFamilyWithBeacon |
Methods inherited from class moves.EuMove |
checkSegment, executeMacro, executeMain, executeSegmentOnly, exMacro, exMain, getFirstOutIndex, initArguments, initBeacon, iobUsageChecks, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postMacro, postMain, preMacro, preMain, preprocess, specialSegmentOK, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public constructFamily(interagents.finalWrapper in, interagents.finalWrapper out, fundamentals.EuArguments args, int beacon, java.lang.String inmodes, java.lang.String outmodes) throws DesignException
in
- the input @see finalWrapperout
- the output @see finalWrapperargs
- argumentsbeacon
- a beacon, or 0 if no such was requestedpublic constructFamily(java.util.Vector inputs, java.util.Vector results, java.util.Vector newResults, interagents.EuLab lab, java.lang.String inmodes, java.lang.String outmodes) throws LeaException
lab
- the current EuLabMethod Detail |
protected void ex(interagents.EuLab lab) throws LeaException
ex
in class EuMove
lab
- the EuLab in which to put the constructions and get
the objects to perform them
LeaException
protected void findAllConstructs(interagents.explicitHolder results, interagents.EuLab lab) throws LeaException
results
- an explicitHolderlab
- the EuLab in which to get the objects with which to construct
LeaRuntimeException
- if problems in construction
LeaException
protected void refineConstructs(interagents.joinedWrapper findings, interagents.EuLab lab) throws LeaException
LeaException
protected void issueBeacon(interagents.joinedWrapper findings, interagents.EuLab lab) throws LeaException
findings
- a joinedWrapper with the found objectslab
- the current EuLab
LeaException
protected int postprocess(interagents.EuLab lab, librarian.ppProcessor ppp) throws LeaException
postprocess
in class EuMove
ppp
- the ppProcessor to be updated
LeaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |