IT. Expert System.

Java Standard Edition (SE)

Visibility


java.beans

Interface Visibility

  • All Known Subinterfaces:
    BeanContext, BeanContextServices
    All Known Implementing Classes:
    BeanContextServicesSupport, BeanContextSupport


    public interface Visibility
    Under some circumstances a bean may be run on servers where a GUI is not available. This interface can be used to query a bean to determine whether it absolutely needs a gui, and to advise the bean whether a GUI is available.

    This interface is for expert developers, and is not needed for normal simple beans. To avoid confusing end-users we avoid using getXXX setXXX design patterns for these methods.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean avoidingGui()
      Determines whether this bean is avoiding using a GUI.
      void dontUseGui()
      This method instructs the bean that it should not use the Gui.
      boolean needsGui()
      Determines whether this bean needs a GUI.
      void okToUseGui()
      This method instructs the bean that it is OK to use the Gui.
    • Method Detail

      • needsGui

        boolean needsGui()
        Determines whether this bean needs a GUI.
        Returns:
        True if the bean absolutely needs a GUI available in order to get its work done.
      • dontUseGui

        void dontUseGui()
        This method instructs the bean that it should not use the Gui.
      • okToUseGui

        void okToUseGui()
        This method instructs the bean that it is OK to use the Gui.
      • avoidingGui

        boolean avoidingGui()
        Determines whether this bean is avoiding using a GUI.
        Returns:
        true if the bean is currently avoiding use of the Gui. e.g. due to a call on dontUseGui().


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 158 / 158730113. Delta: 0.06481 с