private final class ThinClient.HidingProcessor
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private boolean |
hidden
The state of the HIDDEN attribute.
|
private boolean |
noPause
NO-PAUSE flag
|
private int |
widgetId
Widget ID.
|
Modifier | Constructor and Description |
---|---|
private |
HidingProcessor(int widgetId,
boolean noPause,
boolean hidden)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
hideDialog(Frame frame)
Hide dialog frame.
|
private void |
hideFrame(Widget comp,
boolean noPause)
Hide Frame widget.
|
private void |
hideWidget(Widget comp)
Hide regular widget.
|
private void |
hideWidgetsInFrame(Frame frame)
Hide inner widgets in frame.
|
private void |
hideWorker(int widgetId,
boolean noPause)
Hiding worker.
|
void |
run() |
private void |
switchLabelsEmptyMode(Frame frame)
Switch special label handling flag.
|
private boolean |
validateHide(Widget widget)
Checks whether the supplied
widget is allowed
to be hidden. |
private final int widgetId
private final boolean noPause
private boolean hidden
private HidingProcessor(int widgetId, boolean noPause, boolean hidden)
widgetId
- Widget ID.noPause
- NO-PAUSE flag.hidden
- If true
, set the HIDDEN attribute.public void run()
run
in interface java.lang.Runnable
Runnable.run()
private boolean validateHide(Widget widget)
widget
is allowed
to be hidden. If so, returns true
or false
otherwise.widget
- A widget reference.private void hideWorker(int widgetId, boolean noPause)
widgetId
- Widget IDnoPause
- NO-PAUSE flagprivate void hideWidget(Widget comp)
comp
- Widget to hide.private void hideFrame(Widget comp, boolean noPause)
comp
- Frame to hide.noPause
- NO-PAUSE flag.private void hideDialog(Frame frame)
frame
- Dialog to hide.private void hideWidgetsInFrame(Frame frame)
frame
- Input frame.private void switchLabelsEmptyMode(Frame frame)
frame
- Frame to process.