Package com.vaadin.ui

Class BrowserFrame

    • Constructor Detail

      • BrowserFrame

        public BrowserFrame()
        Creates a new empty browser frame.
      • BrowserFrame

        public BrowserFrame​(String caption)
        Creates a new empty browser frame with the given caption.
        Parameters:
        caption - The caption for the component
      • BrowserFrame

        public BrowserFrame​(String caption,
                            Resource source)
        Creates a new browser frame with the given caption and content.
        Parameters:
        caption - The caption for the component.
        source - A Resource representing the Web page that should be displayed.
    • Method Detail

      • getState

        protected BrowserFrameState getState()
        Description copied from class: AbstractComponent
        Returns the shared state bean with information to be sent from the server to the client. Subclasses should override this method and set any relevant fields of the state returned by super.getState().
        Overrides:
        getState in class AbstractEmbedded
        Returns:
        updated component shared state