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

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.OrView
All Implemented Interfaces:
java.lang.Cloneable

public class OrView
extends OperatorView

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

Author:
Amruth Kumar

Constructor Summary
OrView(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

OrView

public OrView(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