|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.NDRuleController
public class NDRuleController
Implements the correct NDRule when a first line and a rule have been selected.
| Constructor Summary | |
|---|---|
NDRuleController(java.lang.String pRule,
ProofLine pFirstLine,
ProofBox pProof)
Constructs a NDRuleController. |
|
| Method Summary | |
|---|---|
void |
addLine(ProofLine pLine)
Adds the given ProofLine to the proof as extra input. |
void |
apply()
Called by RuleController to apply the RAPRule. |
boolean |
haveAll()
Returns true if the rule has all of the required input lines. |
void |
initialise()
Called by RuleController to add the first line to the rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NDRuleController(java.lang.String pRule,
ProofLine pFirstLine,
ProofBox pProof)
throws java.lang.Exception
pRule - String representing the selected RulepFirstLine - the ProofLine which has been selectedpProof - the ProofBox which contains the selected line
java.lang.Exception| Method Detail |
|---|
public void initialise()
throws java.lang.Exception
java.lang.Exceptionpublic boolean haveAll()
public void apply()
throws java.lang.Exception
java.lang.Exception
public void addLine(ProofLine pLine)
throws java.lang.Exception
pLine - the ProofLine to be added to the proof
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||