public class ConnectionBar extends java.lang.Object implements UserInteractionWidget
Modifier and Type | Field and Description |
---|---|
static java.text.SimpleDateFormat |
sdf |
Constructor and Description |
---|
ConnectionBar(ClientDisplay parentdisplay,
java.lang.String originurl,
java.lang.String questionmarkicon)
Creates a new connection bar, and configures the JAVAFX nodes
|
Modifier and Type | Method and Description |
---|---|
void |
disableDuringServerRequest()
Called before a request to server
|
void |
enableAfterServerResponse()
Called after server response has
been processed
|
javafx.scene.control.TextField |
getAddress() |
javafx.scene.layout.Pane |
getPane() |
void |
setBackActive()
puts the connection bar back active
|
void |
setPageAddress(java.lang.String fulladdress) |
void |
triggerLaunchAddress()
starts the process to connecting to the server with the addres given in the
connection bar
|
public ConnectionBar(ClientDisplay parentdisplay, java.lang.String originurl, java.lang.String questionmarkicon)
parentdisplay
- parent client displayoriginurl
- URL to show if specified (may be null)questionmarkicon
- URL of the icon to display the clientpublic javafx.scene.control.TextField getAddress()
public void triggerLaunchAddress()
public javafx.scene.layout.Pane getPane()
public void setBackActive()
public void disableDuringServerRequest()
UserInteractionWidget
disableDuringServerRequest
in interface UserInteractionWidget
public void enableAfterServerResponse()
UserInteractionWidget
enableAfterServerResponse
in interface UserInteractionWidget
public void setPageAddress(java.lang.String fulladdress)
fulladdress
- enters the given address in the connection bar