Class VisualState

  • All Implemented Interfaces:
    IVisualState

    public class VisualState
    extends java.lang.Object
    implements IVisualState
    The Class VisualState, a simple implementation of IVisualState.
    • Constructor Detail

      • VisualState

        public VisualState()
    • Method Detail

      • getActionTargetFeedback

        public int getActionTargetFeedback()
        Description copied from interface: IVisualState
        Returns the action target feedback. It indicates, if a certain action (e.g. drag & drop) can be performed with this visual element as a target.
        Specified by:
        getActionTargetFeedback in interface IVisualState
        Returns:
        The action target feedback.
      • setActionTargetFeedback

        public void setActionTargetFeedback​(int feedback)
        Description copied from interface: IVisualState
        Sets the action target feedback. It indicates, if a certain action (e.g. drag & drop) can be performed with this visual element as a target.
        Specified by:
        setActionTargetFeedback in interface IVisualState
        Parameters:
        feedback - The action target feedback to set.
      • getSelectionFeedback

        public int getSelectionFeedback()
        Description copied from interface: IVisualState
        Returns the selection feedback. It indicates if the visual element is selected.
        Specified by:
        getSelectionFeedback in interface IVisualState
        Returns:
        The selection feedback.
      • setSelectionFeedback

        public void setSelectionFeedback​(int feedback)
        Description copied from interface: IVisualState
        Sets the selection feedback. It indicates if the visual element is selected.
        Specified by:
        setSelectionFeedback in interface IVisualState
        Parameters:
        feedback - The selection feedback to set.
      • setHoverFeedback

        public void setHoverFeedback​(int feedback)
        Description copied from interface: IVisualState
        Sets the hover feedback. It indicates if the visual element is hovered.
        Specified by:
        setHoverFeedback in interface IVisualState
        Parameters:
        feedback - The selection feedback to set.
      • getHoverFeedback

        public int getHoverFeedback()
        Description copied from interface: IVisualState
        Gets the hover feedback.
        Specified by:
        getHoverFeedback in interface IVisualState
        Returns:
        the int hover feedback.