Class JStmtWhile
- java.lang.Object
- 
- com.inductiveautomation.snap.javatree.JNode
- 
- com.inductiveautomation.snap.javatree.JStmt
- 
- com.inductiveautomation.snap.javatree.JStmtWhile
 
 
 
- 
 public class JStmtWhile extends JStmt A Java statement for WhileStatement.
- 
- 
Field SummaryFields Modifier and Type Field Description JExprconditionalJStmtstatement
 - 
Constructor SummaryConstructors Constructor Description JStmtWhile()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JStmtBlockgetBlock()Returns the statement block.JExprgetConditional()Returns the conditional.JStmtgetStatement()Returns the statement.booleanisBlock()Returns whether statement has a block associated with it.voidsetConditional(JExpr aCond)Sets the conditional.voidsetStatement(JStmt aStmt)Sets the statement.- 
Methods inherited from class com.inductiveautomation.snap.javatree.JNodeaddChild, buildChildren, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNameImpl, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
 
- 
 
- 
- 
- 
Method Detail- 
getConditionalpublic JExpr getConditional() Returns the conditional.
 - 
setConditionalpublic void setConditional(JExpr aCond) Sets the conditional.
 - 
getStatementpublic JStmt getStatement() Returns the statement.
 - 
setStatementpublic void setStatement(JStmt aStmt) Sets the statement.
 - 
isBlockpublic boolean isBlock() Returns whether statement has a block associated with it.
 - 
getBlockpublic JStmtBlock getBlock() Returns the statement block.
 
- 
 
-