public class CustomView
extends java.lang.Object
Constructor and Description |
---|
CustomView(DBHandler dbHandler,
SCADASystem scadaSys,
Viewer viewer,
java.lang.String ipAddr,
int viewNumber)
This creates a new instance of CustomView
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
getPane()
This method returns the panel that the view was drawn on
|
public CustomView(DBHandler dbHandler, SCADASystem scadaSys, Viewer viewer, java.lang.String ipAddr, int viewNumber)
dbHandler
- The DBHandler to be used with the SCADA.dbscadaSys
- The SCADASystem that is linked with the same DBHandlerviewer
- The viewer which will display viewsipAddr
- The IP address of the server ("" if not applicable)viewNumber
- The view number on the viewer (0 if first, 1 if second, etc.)