com.hp.lft.sdk.web

Class AreaDescription.Init<T extends AreaDescription.Init<T>>

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • alt

        public T alt(java.lang.String alt)
        Initializes the alternative text to display instead of the image.
        Parameters:
        alt - the alternative text to display instead of the image.
        Returns:
        the description instance with the update state (builder pattern).
      • alt

        public T alt(StringProperty alt)
        Initializes the alternative text to display instead of the image.
        Parameters:
        alt - a StringProperty(or RegExpProperty) representing the alternative text to display instead of the image.
        Returns:
        the description instance with the update state (builder pattern).
      • src

        public T src(java.lang.String src)
        Initializes the image source in URL format.
        Parameters:
        src - the image source in URL format.
        Returns:
        the description instance with the update state (builder pattern).
      • src

        public T src(StringProperty src)
        Initializes the image source in URL format.
        Parameters:
        src - a StringProperty(or RegExpProperty) representing the image source in URL format.
        Returns:
        the description instance with the update state (builder pattern).
      • target

        public T target(java.lang.String target)
        Initializes the name of the frame to navigate when user clicks on the frame.
        Parameters:
        target - the name of the frame to navigate when user clicks on the frame.
        Returns:
        the description instance with the update state (builder pattern).
      • target

        public T target(StringProperty target)
        Initializes the name of the frame to navigate when user clicks on the frame.
        Parameters:
        target - a StringProperty(or RegExpProperty) representing the name of the frame that to navigate when user clicks on the frame.
        Returns:
        the description instance with the update state (builder pattern).
      • href

        public T href(java.lang.String href)
        Initializes the link's target without the last /.
        Parameters:
        href - the link's target without the last /.
        Returns:
        the description instance with the update state (builder pattern).
      • href

        public T href(StringProperty href)
        Initializes the link's target without the last /.
        Parameters:
        href - a StringProperty(or RegExpProperty) representing the link's target without the last /.
        Returns:
        the description instance with the update state (builder pattern).
      • type

        public T type(ImageType type)
        Initializes the image type.
        Parameters:
        type - the image type.
        Returns:
        the description instance with the update state (builder pattern).
      • mapName

        public T mapName(java.lang.String mapName)
        Initializes the name of the map element the image uses to define the area inside the image.
        Parameters:
        mapName - the name of the map element the image uses to define the area inside the image.
        Returns:
        the description instance with the update state (builder pattern).
      • mapName

        public T mapName(StringProperty mapName)
        Initializes the name of the map element the image uses to define the area inside the image.
        Parameters:
        mapName - a StringProperty(or RegExpProperty) representing the name of the map element the image uses to define the area inside the image.
        Returns:
        the description instance with the update state (builder pattern).
      • coords

        public T coords(int[] coords)
        Initializes the coordinates of an area in an image-map. The coordinates format is determined by the shape of the area, in the following manner:
        shape="rect" - x1,y1,x2,y2.
        shape="circle" - x,y,radius
        shape="poly" - x1,y1,x2,y2,..,xn,yn
        Parameters:
        coords - the coordinates of an area in an image-map.
        Returns:
        the description instance with the update state (builder pattern).