|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPandora.NDRuleController
public class NDRuleController
Implements the correct NDRule when a first line and a rule have been selected.
Constructor Summary | |
---|---|
NDRuleController(java.lang.String rule,
ProofLine firstLine,
ProofBox proof)
Constructs a NDRuleController. |
Method Summary | |
---|---|
void |
addLine(ProofLine line)
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 rule, ProofLine firstLine, ProofBox proof)
rule
- String representing the selected RulefirstLine
- the ProofLine which has been selectedproof
- the ProofBox which contains the selected lineMethod Detail |
---|
public void initialise() throws java.lang.Exception
java.lang.Exception
public boolean haveAll()
public void apply() throws java.lang.Exception
java.lang.Exception
public void addLine(ProofLine line) throws java.lang.Exception
line
- 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 |