Klasse NoVNCConsole
java.lang.Object
com.vaadin.flow.component.Component
de.bytestore.hostinger.components.novnc.NoVNCConsole
- Alle implementierten Schnittstellen:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,Serializable
@Tag("novnc-console")
@NpmPackage(value="jquery",version="1.9.1") @NpmPackage(value="@novnc/novnc",version="1.4.0")
@CssImport("./src/novnc-console/novnc-console.css")
@JsModule("./src/novnc-console/novnc-console.js")
public class NoVNCConsole
extends com.vaadin.flow.component.Component
implements com.vaadin.flow.component.HasSize
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
connect()
Connects to the specified server.void
Disconnects the connection to the server.Returns the hostname value for the NoVNCConsole.boolean
Returns whether the NoVNCConsole is currently connected.boolean
Returns the read-only state of the NoVNCConsole.void
setFullscreen
(boolean valueIO) Sets the fullscreen state of the NoVNCConsole.void
setHostname
(String valueIO) Sets the hostname value for the NoVNCConsole.void
setPassword
(String valueIO) Sets the password value for the NoVNCConsole.void
setReadOnly
(boolean valueIO) Sets the read-only state of the NoVNCConsole.void
setUsername
(String valueIO) Sets the username value for the NoVNCConsole.Von Klasse geerbte Methoden com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden com.vaadin.flow.component.AttachNotifier
addAttachListener
Von Schnittstelle geerbte Methoden com.vaadin.flow.component.DetachNotifier
addDetachListener
Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasElement
getElement
Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Felddetails
-
VALUE_HOSTNAME
- Siehe auch:
-
VALUE_READONLY
- Siehe auch:
-
VALUE_FULLSCREEN
- Siehe auch:
-
VALUE_PASSWORD
- Siehe auch:
-
VALUE_USERNAME
- Siehe auch:
-
VALUE_CONNECTION
- Siehe auch:
-
EVENT_CONNECTION_CHANGED
- Siehe auch:
-
-
Konstruktordetails
-
NoVNCConsole
public NoVNCConsole()
-
-
Methodendetails
-
getHostname
Returns the hostname value for the NoVNCConsole.- Gibt zurück:
- the hostname value, or null if not set
-
setHostname
Sets the hostname value for the NoVNCConsole.- Parameter:
valueIO
- the new hostname value to be set
-
isConnected
@Synchronize(property="connection", value="novnc-connection-changed") public boolean isConnected()Returns whether the NoVNCConsole is currently connected.- Gibt zurück:
- true if the NoVNCConsole is connected, false if not connected
-
setPassword
Sets the password value for the NoVNCConsole.- Parameter:
valueIO
- the new password value to be set- Siehe auch:
-
-
ungültiges @see
NoVNCConsole#getPassword()
-
-
setUsername
Sets the username value for the NoVNCConsole.- Parameter:
valueIO
- the new username value to be set
-
isReadOnly
public boolean isReadOnly()Returns the read-only state of the NoVNCConsole.- Gibt zurück:
- true if the NoVNCConsole is read-only, false otherwise
-
setReadOnly
public void setReadOnly(boolean valueIO) Sets the read-only state of the NoVNCConsole.- Parameter:
valueIO
- the boolean value indicating whether the NoVNCConsole should be set as read-only
-
setFullscreen
public void setFullscreen(boolean valueIO) Sets the fullscreen state of the NoVNCConsole.- Parameter:
valueIO
- the boolean value indicating whether the NoVNCConsole should be set as fullscreen
-
connect
public void connect()Connects to the specified server. -
disconnect
public void disconnect()Disconnects the connection to the server. This method calls the "disconnect" JavaScript function of the associated element.
-