Interface Visibility

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Visibility
The role of an object that can be visible or not.
Since:
2.0-ALPHA-1
Author:
Fabrizio Giudici
Stereotype:
Role
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Class<Visibility>
     
    static final Visibility
    A role that is always invisible.
    static final Visibility
    A role that is always visible.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the current visibility status.
  • Field Details

    • _Visible_

      static final Class<Visibility> _Visible_
    • VISIBLE

      static final Visibility VISIBLE
      A role that is always visible.
    • INVISIBLE

      static final Visibility INVISIBLE
      A role that is always invisible.
  • Method Details

    • isVisible

      boolean isVisible()
      Returns the current visibility status.
      Returns:
      true if the object is visible