Package org.mozilla.zest.core.v1
Class ZestControl
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestControl
-
- Direct Known Subclasses:
ZestControlLoopBreak,ZestControlLoopNext,ZestControlReturn
public abstract class ZestControl extends ZestStatement
An abstract class representing statements that change the flow of statements
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestControl()Instantiates a new zest action.ZestControl(int index)Instantiates a new zest action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSameSubclass(ZestElement ze)Checks if is same subclass.-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
deepCopy, getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, isPassive, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Method Detail
-
isSameSubclass
public boolean isSameSubclass(ZestElement ze)
Description copied from class:ZestElementChecks if is same subclass.- Overrides:
isSameSubclassin classZestStatement- Parameters:
ze- the ze- Returns:
- true, if is same subclass
-
-