Interface IFilterablePrimitive

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getDisabledType()
      Get binary property used internally by the filter mechanism.
      boolean getHiddenType()
      Get binary property used internally by the filter mechanism.
      boolean setDisabledState​(boolean hidden)
      Make the primitive disabled (e.g. if a filter applies).
      void setDisabledType​(boolean isExplicit)
      Set binary property used internally by the filter mechanism.
      void setHiddenType​(boolean isExplicit)
      Set binary property used internally by the filter mechanism.
      boolean unsetDisabledState()
      Remove the disabled flag from the primitive.
    • Method Detail

      • getHiddenType

        boolean getHiddenType()
        Get binary property used internally by the filter mechanism.
        Returns:
        true if this object has the "hidden type" flag enabled
      • getDisabledType

        boolean getDisabledType()
        Get binary property used internally by the filter mechanism.
        Returns:
        true if this object has the "disabled type" flag enabled
      • setDisabledState

        boolean setDisabledState​(boolean hidden)
        Make the primitive disabled (e.g. if a filter applies). To enable the primitive again, use unsetDisabledState.
        Parameters:
        hidden - if the primitive should be completely hidden from view or just shown in gray color.
        Returns:
        true, any flag has changed; false if you try to set the disabled state to the value that is already preset
      • unsetDisabledState

        boolean unsetDisabledState()
        Remove the disabled flag from the primitive. Afterwards, the primitive is displayed normally and can be selected again.
        Returns:
        true if a change occurred
      • setDisabledType

        void setDisabledType​(boolean isExplicit)
        Set binary property used internally by the filter mechanism.
        Parameters:
        isExplicit - new "disabled type" flag value
      • setHiddenType

        void setHiddenType​(boolean isExplicit)
        Set binary property used internally by the filter mechanism.
        Parameters:
        isExplicit - new "hidden type" flag value