public class SpareIteration
extends java.lang.Object
Since VIEW may display only part of the iteration data, in some cases it is necessary to save iteration data in temporary container before processing conditional UP/DOWN and then display them at correct position. This class is used as a helper container for iteration data between VIEW and conditional UP/DOWN processing.
Modifier and Type | Field and Description |
---|---|
private ScreenBuffer |
frameBuf
The current values of widgets.
|
private boolean |
isView
DISPLAY/VIEW flag.
|
private Widget<?> |
widget
The frame or widget.
|
private int[] |
widgetIds
Array of field level widget IDs.
|
Constructor and Description |
---|
SpareIteration(Widget<?> widget,
ScreenBuffer frameBuf,
int[] widgetIds,
boolean isView)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
view()
Display saved data.
|
private final Widget<?> widget
private final ScreenBuffer frameBuf
private final int[] widgetIds
private final boolean isView
public SpareIteration(Widget<?> widget, ScreenBuffer frameBuf, int[] widgetIds, boolean isView)
widget
- The frame or widget.frameBuf
- The current values of widgets.widgetIds
- Array of field level widget IDs.isView
- true
if parameters are for VIEW,
false
for DISPLAY.