public class VisItConnection extends VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
IVizConnection
for connecting to
VisItSwtConnection
s.Constructor and Description |
---|
VisItConnection()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets a description of the connection.
|
java.lang.String |
getHost()
Gets the current host associated with the connection.
|
java.lang.String |
getName()
Gets the name of the connection.
|
int |
getNextWindowId()
Gets the next available window ID from the underlying connection.
|
java.lang.String |
getPath()
Gets the installation path to the executable required to run the
associated connection widget.
|
int |
getPort()
Gets the port associated with the connection.
|
boolean |
setDescription(java.lang.String description)
Sets the description of the connection.
|
boolean |
setHost(java.lang.String host)
Sets the host for the connection.
|
boolean |
setName(java.lang.String name)
Sets the name of the connection.
|
boolean |
setPath(java.lang.String path)
Sets the path of the connection.
|
boolean |
setPort(int port)
Sets the port of the connection.
|
addListener, connect, disconnect, getProperties, getProperty, getState, getStatusMessage, getWidget, removeListener, setProperty
public java.lang.String getDescription()
IVizConnection
getDescription
in interface IVizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
getDescription
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
null
, but
may be an empty string.public java.lang.String getHost()
IVizConnection
getHost
in interface IVizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
getHost
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
null
.public java.lang.String getName()
IVizConnection
VizConnectionManager
.getName
in interface IVizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
getName
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
public int getNextWindowId()
public java.lang.String getPath()
IVizConnection
getPath
in interface IVizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
getPath
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
public int getPort()
IVizConnection
getPort
in interface IVizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
getPort
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
public boolean setDescription(java.lang.String description)
VizConnection
VizConnection.setProperty(String, String)
.setDescription
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
description
- The new description of the property.public boolean setHost(java.lang.String host)
VizConnection
VizConnection.setProperty(String, String)
.setHost
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
host
- The host name of the property.public boolean setName(java.lang.String name)
VizConnection
VizConnection.setProperty(String, String)
.setName
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
name
- The new name of the property.public boolean setPath(java.lang.String path)
VizConnection
VizConnection.setProperty(String, String)
.setPath
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
path
- The new path of the property.public boolean setPort(int port)
VizConnection
VizConnection.setProperty(String, String)
.setPort
in class VizConnection<gov.lbnl.visit.swt.VisItSwtConnection>
port
- The new port of the property.