|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface View
The view of the application
Field Summary | |
---|---|
static java.lang.String |
ActCmdADVOPC_CANCEL
Constant for Action Command in controller. |
static java.lang.String |
ActCmdADVOPC_OK
Constant for Action Command in controller. |
static java.lang.String |
ActCmdCONN_ADVOPC
Constant for Action Command in controller. |
static java.lang.String |
ActCmdCONN_CANCEL
Constant for Action Command in controller. |
static java.lang.String |
ActCmdCONN_OK
Constant for Action Command in controller. |
static java.lang.String |
ActCmdPANEL_ABOUT
Constant for Action Command in controller. |
static java.lang.String |
ActCmdPANEL_CLOSE
Constant for Action Command in controller. |
static java.lang.String |
ActCmdPANEL_CONFIG
Constant for Action Command in controller. |
static java.lang.String |
ActCmdPANEL_CONN
Constant for Action Command in controller. |
static java.lang.String |
ActCmdPANEL_DISC
Constant for Action Command in controller. |
static java.lang.String |
ActCmdPANEL_SCRSHOT
Constant for Action Command in controller. |
static java.lang.String |
ActCmdPANEL_SHOWLOG
Constant for Action Command in controller. |
static java.lang.String |
ActCmdSCRSHOT_CANCEL
Constant for Action Command in controller. |
static java.lang.String |
ActCmdSCRSHOT_OK
Constant for Action Command in controller. |
Method Summary | |
---|---|
void |
closeAdvancedConnectionSettingsPanel()
Close the dialog box to change the advanced setting of the connection. |
void |
closeConnectToServerPanel()
Close the dialog box to connect to a server. |
void |
closeGetScreenShotPanel()
Close the dialog box for getting a screen shot. |
void |
controller(Controller ctr)
Adds the controller ctr to all the buttons of the View |
java.lang.String |
getControlPort()
Gets the control port from a dialog box. |
java.lang.String |
getDataPort()
Gets the data port from a dialog box. |
java.awt.image.BufferedImage |
getImage()
Gets a screenshot of the video. |
java.lang.String |
getIPServer()
Gets the IP address of the server from a dialog box. |
java.lang.String |
getResolution()
Gets the desired resolution of the screen. |
java.lang.String |
getScreenShotURL()
Gets the url where the screenshot will be saved. |
void |
reloadLog()
Reloads the log file. |
void |
setStatusInfo(java.lang.String status)
Changes the status message. |
boolean |
showAboutInfo()
Shows information about the application. |
void |
showAdvancedConnectionSettingsPanel()
Shows the dialog box to change the advanced setting of the connection. |
void |
showConnectToServerPanel()
Shows the dialog box to connect to a server. |
void |
showGetScreenShotPanel()
Shows the dialog box for getting a screen shot. |
boolean |
showImage(java.awt.image.BufferedImage frame)
Shows an image in the panel. |
boolean |
showLog()
Reads a log file and shows its content in a added window. |
Field Detail |
---|
static final java.lang.String ActCmdPANEL_CONN
static final java.lang.String ActCmdPANEL_DISC
static final java.lang.String ActCmdPANEL_CLOSE
static final java.lang.String ActCmdPANEL_CONFIG
static final java.lang.String ActCmdPANEL_SCRSHOT
static final java.lang.String ActCmdPANEL_SHOWLOG
static final java.lang.String ActCmdPANEL_ABOUT
static final java.lang.String ActCmdCONN_OK
static final java.lang.String ActCmdCONN_CANCEL
static final java.lang.String ActCmdCONN_ADVOPC
static final java.lang.String ActCmdADVOPC_OK
static final java.lang.String ActCmdADVOPC_CANCEL
static final java.lang.String ActCmdSCRSHOT_CANCEL
static final java.lang.String ActCmdSCRSHOT_OK
Method Detail |
---|
void showConnectToServerPanel() throws VigiaClientException
VigiaClientException
- error from the View.void closeConnectToServerPanel() throws VigiaClientException
VigiaClientException
- error from the View.void showAdvancedConnectionSettingsPanel() throws VigiaClientException
VigiaClientException
- error from the View.void closeAdvancedConnectionSettingsPanel() throws VigiaClientException
VigiaClientException
- error from the View.java.lang.String getIPServer() throws VigiaClientException
VigiaClientException
- error from the View.java.lang.String getDataPort() throws VigiaClientException
VigiaClientException
- error from the View.java.lang.String getControlPort() throws VigiaClientException
VigiaClientException
- error from the View.java.lang.String getResolution() throws VigiaClientException
VigiaClientException
- error from the View.boolean showImage(java.awt.image.BufferedImage frame) throws VigiaClientException
frame
- the image to show.
VigiaClientException
- error from the View.java.awt.image.BufferedImage getImage() throws VigiaClientException
VigiaClientException
- error from the View.void showGetScreenShotPanel() throws VigiaClientException
VigiaClientException
- error from the View.void closeGetScreenShotPanel() throws VigiaClientException
VigiaClientException
- error from the View.java.lang.String getScreenShotURL() throws VigiaClientException
VigiaClientException
- error from the View.boolean showLog() throws VigiaClientException
VigiaClientException
- error from the View.boolean showAboutInfo() throws VigiaClientException
VigiaClientException
- error from the View.void controller(Controller ctr)
ctr
- the controller.void setStatusInfo(java.lang.String status)
status
- The status message.void reloadLog() throws VigiaClientException
VigiaClientException
- error from the View.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |