org.problets.domain.model.expression.node.operator.logical
Class AndView

java.lang.Object
  extended by org.problets.domain.model.expression.node.NodeView
      extended by org.problets.domain.model.expression.node.operator.OperatorView
          extended by org.problets.domain.model.expression.node.operator.logical.AndView
All Implemented Interfaces:
java.lang.Cloneable

public class AndView
extends OperatorView

To keep track of displaying an AND expression, particularly, short circuiting an expression and bailing out on inappropriate operands for Java/C#

Author:
Amruth Kumar

Constructor Summary
AndView(NodeModel inOperator)
           
 
Method Summary
 void explain(java.util.Vector explanation)
          Graphically explains the evaluation of the expression as opposed to textual explanation by the model
 
Methods inherited from class org.problets.domain.model.expression.node.operator.OperatorView
getContentWidth, getCopyIfExists
 
Methods inherited from class org.problets.domain.model.expression.node.NodeView
classifyNodes, clone, getBackupLeftX, getBackupRightX, getContent, getFontMetrics, getLeftChild, getLeftMax, getLeftMin, getLeftX, getNode, getNodeView, getRightChild, getRightMax, getRightMin, getRightX, getSideEffects, getValue, isCovered, paintExpression, print, setLeftChild, setRightChild, toString, typeset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AndView

public AndView(NodeModel inOperator)
Method Detail

explain

public void explain(java.util.Vector explanation)
Graphically explains the evaluation of the expression as opposed to textual explanation by the model

Overrides:
explain in class OperatorView