Package com.vaadin.ui

Class Flash

    • Constructor Detail

      • Flash

        public Flash()
        Deprecated.
        Creates a new empty Flash component.
      • Flash

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

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

      • getState

        protected FlashState getState()
        Deprecated.
        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
      • setCodebase

        public void setCodebase​(String codebase)
        Deprecated.
        This attribute specifies the base path used to resolve relative URIs specified by the classid, data, and archive attributes. When absent, its default value is the base URI of the current document.
        Parameters:
        codebase - The base path
      • getCodebase

        public String getCodebase()
        Deprecated.
        Returns the codebase.
        Returns:
        Current codebase.
        Since:
        7.4.1
        See Also:
        setCodebase(String)
      • setCodetype

        public void setCodetype​(String codetype)
        Deprecated.
        This attribute specifies the content type of data expected when downloading the object specified by classid. This attribute is optional but recommended when classid is specified since it allows the user agent to avoid loading information for unsupported content types. When absent, it defaults to the value of the type attribute.
        Parameters:
        codetype - the codetype to set.
      • getCodetype

        public String getCodetype()
        Deprecated.
        Returns the current codetype.
        Returns:
        Current codetype.
        Since:
        7.4.1
        See Also:
        setCodetype(String)
      • setArchive

        public void setArchive​(String archive)
        Deprecated.
        This attribute may be used to specify a space-separated list of URIs for archives containing resources relevant to the object, which may include the resources specified by the classid and data attributes. Preloading archives will generally result in reduced load times for objects. Archives specified as relative URIs should be interpreted relative to the codebase attribute.
        Parameters:
        archive - Space-separated list of URIs with resources relevant to the object
      • getArchive

        public String getArchive()
        Deprecated.
        Returns current archive.
        Returns:
        Current archive.
        Since:
        7.4.1
        See Also:
        setArchive(String)
      • setStandby

        public void setStandby​(String standby)
        Deprecated.
        Sets standby.
        Parameters:
        standby - Standby string.
      • getStandby

        public String getStandby()
        Deprecated.
        Returns standby.
        Returns:
        Standby string.
        Since:
        7.4.1
      • setParameter

        public void setParameter​(String name,
                                 String value)
        Deprecated.
        Sets an object parameter. Parameters are optional information, and they are passed to the instantiated object. Parameters are are stored as name value pairs. This overrides the previous value assigned to this parameter.
        Parameters:
        name - the name of the parameter.
        value - the value of the parameter.
      • getParameter

        public String getParameter​(String name)
        Deprecated.
        Gets the value of an object parameter. Parameters are optional information, and they are passed to the instantiated object. Parameters are are stored as name value pairs.
        Returns:
        the Value of parameter or null if not found.
      • removeParameter

        public void removeParameter​(String name)
        Deprecated.
        Removes an object parameter from the list.
        Parameters:
        name - the name of the parameter to remove.
      • writeDesign

        public void writeDesign​(org.jsoup.nodes.Element design,
                                DesignContext designContext)
        Deprecated.
        Description copied from interface: Component
        Writes the component state to the given design.

        The component is responsible not only for writing its own state but also for ensuring that its children write their state to the design.

        This method must not modify the component state.

        Specified by:
        writeDesign in interface Component
        Overrides:
        writeDesign in class AbstractEmbedded
        Parameters:
        design - The element to write the component state to. Any previous attributes or child nodes are not cleared.
        designContext - The DesignContext instance used for writing the design
      • readDesign

        public void readDesign​(org.jsoup.nodes.Element design,
                               DesignContext designContext)
        Deprecated.
        Description copied from interface: Component
        Reads the component state from the given design.

        The component is responsible not only for updating its own state but also for ensuring that its children update their state based on the design.

        It is assumed that the component is in its default state when this method is called. Reading should only take into consideration attributes specified in the design and not reset any unspecified attributes to their defaults.

        This method must not modify the design.

        Specified by:
        readDesign in interface Component
        Overrides:
        readDesign in class AbstractEmbedded
        Parameters:
        design - The element to obtain the state from
        designContext - The DesignContext instance used for parsing the design