public class ProgressPanel extends VirtualComponentAdapter
ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_QUESTION, ICON_WARNING, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES| Constructor and Description |
|---|
ProgressPanel(VirtualPanel parent,
ProgressListener listener)
Creates and displays the progress panel.
|
ProgressPanel(VirtualSessionManager vsm,
ProgressListener listener)
Creates and displays the progress panel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
allowCancel(boolean allow)
Make it possible/impossible to cancel the current task.
|
void |
destroy()
Destroys the progress panel.
|
boolean |
isCanceled()
Checks if it is canceled.
|
void |
onAction(VirtualPanel vp,
String controlID)
The cancel action.
|
boolean |
onPanelClosing(VirtualPanel vp)
Panels is closed, cancel.
|
void |
requestFocus()
Requests focus.
|
void |
setOperation(String text,
String param)
Sets the current operation.
|
void |
setProgress(int currentOperation,
int totalOperations)
Sets the progress bar.
|
onAction, onAction, onCheckedChange, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange, onSelectionChangedonModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelCreate, onPanelDestroyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonPageActivated, onPanelClose, onPanelCreate, onPanelDestroypublic ProgressPanel(VirtualPanel parent, ProgressListener listener)
public ProgressPanel(VirtualSessionManager vsm, ProgressListener listener)
public void requestFocus()
public void setProgress(int currentOperation,
int totalOperations)
public void onAction(VirtualPanel vp, String controlID)
onAction in class VirtualComponentAdapterpublic boolean onPanelClosing(VirtualPanel vp)
onPanelClosing in interface VirtualPanelListeneronPanelClosing in class VirtualPanelAdapterVirtualPanelAdapter.onPanelClose(se.entra.phantom.server.VirtualPanel)public void destroy()
public void allowCancel(boolean allow)
boolean - public boolean isCanceled()
Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.