visibility

Defines the visibility of the Component. The values can be Visibility.VISIBLE or Visibility.INVISIBLE. The default value Visibility.VISIBLE which means is the same as View.VISIBLE; i.e. the component will be invisible but still occupy space. Note: Using this API will not change how Visibility Events are dispatched; onVisible and/or onInvisible will work as if this property was not in use.