|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.server.VirtualPanelAdapter
se.entra.phantom.server.VirtualComponentAdapter
se.entra.phantom.server.rconsole.AdminConfigUpgrade
public class AdminConfigUpgrade
This class handles the configuration of the Upgrade dialog box.
| Field Summary |
|---|
| Fields inherited from interface se.entra.phantom.server.VirtualPanelListener |
|---|
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 Summary | |
|---|---|
AdminConfigUpgrade(ClientSessionManager csm,
VirtualPanel vp)
Creates the ports instance. |
|
| Method Summary | |
|---|---|
void |
initialize(VirtualPanel vp)
Initializes the list box. |
void |
onAction(VirtualPanel vp,
String controlID)
Push buttons and menu items generates this event when selected. |
void |
onDirectoryList(VirtualPanel vp,
AdminFileTransferInterface ft,
AdminConfigFileTransferItem[] files)
Returns the list of all files or directories in the requested directory. |
void |
onFileDownload(VirtualPanel vp,
AdminFileTransferInterface ft,
int totalSize,
byte[] data)
A piece of the download data of a file (data is null when canceled). |
void |
onFileSelected(VirtualPanel vp,
AdminFileTransferInterface ft,
String fileName,
int size)
A file has been selected in the dialog box (or canceled if file name is null). |
void |
onFileTransferError(VirtualPanel vp,
AdminFileTransferInterface ft,
String errorMessage)
Called whenever a file transfer error occurs. |
void |
onFileUpload(VirtualPanel vp,
AdminFileTransferInterface ft)
The client is ready to receive next chunk of data. |
void |
onFileUploadComplete(VirtualPanel vp,
AdminFileTransferInterface ft)
The client confirms that the file transfer is completed. |
boolean |
onPanelClosing(VirtualPanel vp)
Called when the close button of a panel is pressed, but before any other processing has been done. |
void |
onPanelDestroy(VirtualPanel panel)
Called to inform the listener that the panel is destroyed. |
void |
onTargetFileSelected(VirtualPanel vp,
AdminFileTransferInterface ft,
String directory)
A target file has been selected, on the client side, in the dialog box (or cancelled if file name is null). |
void |
run()
Check the downloaded file. |
| Methods inherited from class se.entra.phantom.server.VirtualComponentAdapter |
|---|
onAction, onAction, onCheckedChange, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange, onSelectionChanged |
| Methods inherited from class se.entra.phantom.server.VirtualPanelAdapter |
|---|
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelCreate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface se.entra.phantom.server.VirtualPanelListener |
|---|
onPageActivated, onPanelClose, onPanelCreate |
| Constructor Detail |
|---|
public AdminConfigUpgrade(ClientSessionManager csm,
VirtualPanel vp)
| Method Detail |
|---|
public void initialize(VirtualPanel vp)
public boolean onPanelClosing(VirtualPanel vp)
onPanelClose is called.
onPanelClosing in interface VirtualPanelListeneronPanelClosing in class VirtualPanelAdapterVirtualPanelAdapter.onPanelClose(se.entra.phantom.server.VirtualPanel)public void onPanelDestroy(VirtualPanel panel)
Closes any currently opened file transfer.
onPanelDestroy in interface VirtualPanelListeneronPanelDestroy in class VirtualPanelAdapter
public void onAction(VirtualPanel vp,
String controlID)
onAction in class VirtualComponentAdapter
public void onFileTransferError(VirtualPanel vp,
AdminFileTransferInterface ft,
String errorMessage)
onFileTransferError in interface AdminFileTransferListener
public void onFileSelected(VirtualPanel vp,
AdminFileTransferInterface ft,
String fileName,
int size)
onFileSelected in interface AdminFileTransferListener
public void onDirectoryList(VirtualPanel vp,
AdminFileTransferInterface ft,
AdminConfigFileTransferItem[] files)
onDirectoryList in interface AdminFileTransferListener
public void onFileDownload(VirtualPanel vp,
AdminFileTransferInterface ft,
int totalSize,
byte[] data)
onFileDownload in interface AdminFileTransferListenerpublic void run()
run in interface Runnable
public void onFileUpload(VirtualPanel vp,
AdminFileTransferInterface ft)
AdminFileTransferListener
onFileUpload in interface AdminFileTransferListener
public void onTargetFileSelected(VirtualPanel vp,
AdminFileTransferInterface ft,
String directory)
AdminFileTransferListener
onTargetFileSelected in interface AdminFileTransferListener
public void onFileUploadComplete(VirtualPanel vp,
AdminFileTransferInterface ft)
AdminFileTransferListener
onFileUploadComplete in interface AdminFileTransferListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||