java.lang.Object
io.qt.QtObject
io.qt.scxml.QScxmlExecutableContent.ForeachInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QScxmlExecutableContent
Represents a foreach construct
Java wrapper for Qt class QScxmlExecutableContent::ForeachInfo
- Since:
- This class was introduced in Qt 5.8.
-
Constructor Summary
ConstructorDescriptionSeeQScxmlExecutableContent::ForeachInfo::
ForeachInfo() ForeachInfo
(int array, int item, int index, int context) SeeQScxmlExecutableContent::ForeachInfo::
ForeachInfo{qint32, qint32, qint32, qint32} SeeQScxmlExecutableContent::ForeachInfo::
ForeachInfo(QScxmlExecutableContent::ForeachInfo) -
Method Summary
Modifier and TypeMethodDescriptionfinal int
array()
Name of the array that is iterated overclone()
Creates and returns a copy of this object.final int
context()
For evaluating the expressionfinal int
index()
Name of the index variablefinal int
item()
Name of the iteration variablefinal void
setArray
(int array) Name of the array that is iterated overfinal void
setContext
(int context) For evaluating the expressionfinal void
setIndex
(int index) Name of the index variablefinal void
setItem
(int item) Name of the iteration variableMethods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
ForeachInfo
public ForeachInfo()See
QScxmlExecutableContent::ForeachInfo::
ForeachInfo() -
ForeachInfo
See
QScxmlExecutableContent::ForeachInfo::
ForeachInfo(QScxmlExecutableContent::ForeachInfo) - Parameters:
other
-
-
ForeachInfo
public ForeachInfo(int array, int item, int index, int context) See
QScxmlExecutableContent::ForeachInfo::
ForeachInfo{qint32, qint32, qint32, qint32} - Parameters:
array
-item
-index
-context
-
-
-
Method Details
-
setArray
Name of the array that is iterated over
- Parameters:
array
-
-
array
Name of the array that is iterated over
- Returns:
-
setContext
For evaluating the expression
- Parameters:
context
-
-
context
For evaluating the expression
- Returns:
-
setIndex
Name of the index variable
- Parameters:
index
-
-
index
Name of the index variable
- Returns:
-
setItem
Name of the iteration variable
- Parameters:
item
-
-
item
Name of the iteration variable
- Returns:
-
clone
Creates and returns a copy of this object.
See
QScxmlExecutableContent::ForeachInfo::
ForeachInfo(QScxmlExecutableContent::ForeachInfo)
-