synapsi.gui
Interface GuiForMain
- All Known Implementing Classes:
- NeuronMainWindow
- public interface GuiForMain
Interface to access synapsi.gui package.
Method Summary |
void |
addClientToGroup(java.lang.String clientIP,
java.lang.String groupID)
Adds a client to specified group |
void |
setClientActive(java.lang.String clientIP,
boolean active)
Sets a client in/active in the main window of the GUI
(NeuronMainWindow). |
void |
setClientVersion(java.lang.String clientIP,
java.lang.String version)
Sets a new version to a client in the clients list in
the main window. |
setClientActive
public void setClientActive(java.lang.String clientIP,
boolean active)
- Sets a client in/active in the main window of the GUI
(NeuronMainWindow). The activity is shown with a
letter 'A' in clients list.
- Parameters:
clientIP
- The IP of the client to be activated.active
- Parameter to tell whether the client
is set to active (true) or inactive (false).
setClientVersion
public void setClientVersion(java.lang.String clientIP,
java.lang.String version)
- Sets a new version to a client in the clients list in
the main window.
- Parameters:
clientIP
- The IP of the client to be modified.version
- The new version to the specified client.
addClientToGroup
public void addClientToGroup(java.lang.String clientIP,
java.lang.String groupID)
- Adds a client to specified group
- Parameters:
clientIP
- The IP of the client to be movedgroupID
- The group where to move client