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 Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static class 
     
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    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
    Sets the hostname value for the NoVNCConsole.
    void
    Sets the password value for the NoVNCConsole.
    void
    setReadOnly(boolean valueIO)
    Sets the read-only state of the NoVNCConsole.
    void
    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

  • Konstruktordetails

    • NoVNCConsole

      public NoVNCConsole()
  • Methodendetails

    • getHostname

      public String getHostname()
      Returns the hostname value for the NoVNCConsole.
      Gibt zurück:
      the hostname value, or null if not set
    • setHostname

      public void setHostname(String valueIO)
      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

      public void setPassword(String valueIO)
      Sets the password value for the NoVNCConsole.
      Parameter:
      valueIO - the new password value to be set
      Siehe auch:
      • ungültiges @see
        NoVNCConsole#getPassword()
    • setUsername

      public void setUsername(String valueIO)
      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.