Class ImageBooleanSelectActionControl

    • Field Detail

      • ROLLOVER_IMAGE_URI_PROPERTY

        public static final java.lang.String ROLLOVER_IMAGE_URI_PROPERTY
        The rollover image URI bound property.
      • SELECTED_IMAGE_URI_PROPERTY

        public static final java.lang.String SELECTED_IMAGE_URI_PROPERTY
        The selected image URI bound property.
    • Constructor Detail

      • ImageBooleanSelectActionControl

        public ImageBooleanSelectActionControl()
        Default constructor.
      • ImageBooleanSelectActionControl

        public ImageBooleanSelectActionControl​(InfoModel infoModel,
                                               ImageModel imageModel,
                                               ActionModel actionModel,
                                               ValueModel<java.lang.Boolean> valueModel,
                                               Enableable enableable)
        Info model, image model, action model, value model, and enableable object constructor.
        Parameters:
        infoModel - The component info model.
        imageModel - The component image model.
        actionModel - The component action model.
        valueModel - The component value model.
        enableable - The enableable object in which to store enabled status.
        Throws:
        java.lang.NullPointerException - if the given info model, image model, action model, and/or enableable object is null.
      • ImageBooleanSelectActionControl

        public ImageBooleanSelectActionControl​(ValuePrototype<java.lang.Boolean> valuePrototype)
        Prototype constructor.
        Parameters:
        valuePrototype - The prototype on which this component should be based.
    • Method Detail

      • getImageModel

        protected ImageModel getImageModel()
        Returns:
        The image model used by this component.
      • getImageURI

        public java.net.URI getImageURI()
        Specified by:
        getImageURI in interface ImageModel
        Returns:
        The image URI, which may be a resource URI, or null if there is no image URI.
      • setImageURI

        public void setImageURI​(java.net.URI newImageURI)
        Description copied from interface: ImageModel
        Sets the URI of the image. This is a bound property.
        Specified by:
        setImageURI in interface ImageModel
        Parameters:
        newImageURI - The new URI of the image, which may be a resource URI.
        See Also:
        ImageModel.IMAGE_URI_PROPERTY
      • getRolloverImageURI

        public java.net.URI getRolloverImageURI()
        Returns:
        The rollover image URI, which may be a resource URI, or null if there is no rollover image URI.
      • setRolloverImageURI

        public void setRolloverImageURI​(java.net.URI newRolloverImageURI)
        Sets the URI of the rollover image. This is a bound property of type URI.
        Parameters:
        newRolloverImageURI - The new URI of the rollover image, which may be a resource URI.
        See Also:
        ROLLOVER_IMAGE_URI_PROPERTY
      • getSelectedImageURI

        public java.net.URI getSelectedImageURI()
        Returns:
        The selected image URI, which may be a resource URI, or null if there is no selected image URI.
      • setSelectedImageURI

        public void setSelectedImageURI​(java.net.URI newSelectedImageURI)
        Sets the URI of the selected image. This is a bound property of type URI.
        Parameters:
        newSelectedImageURI - The new URI of the selected image, which may be a resource URI.
        See Also:
        SELECTED_IMAGE_URI_PROPERTY