<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Interface java.beans.Visibility
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.beans.html">This Package</a>  <a href="java.beans.VetoableChangeListener.html#_top_">Previous</a>  <a href="Package-java.beans.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface java.beans.Visibility
</h1>
<dl>
  <dt> public interface <b>Visibility</b>
</dl>
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.
 <p>
 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.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#avoidingGui()"><b>avoidingGui</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#dontUseGui()"><b>dontUseGui</b></a>()
  <dd>  This method instructs the bean that it should not use the Gui.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#needsGui()"><b>needsGui</b></a>()
  <dd>  
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#okToUseGui()"><b>okToUseGui</b></a>()
  <dd>  This method instructs the bean that it is OK to use the Gui.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="needsGui()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="needsGui"><b>needsGui</b></a>
<pre>
 public abstract boolean needsGui()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> True if the bean absolutely needs a GUI available in
		order to get its work done.
  </dl></dd>
</dl>
<a name="dontUseGui()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="dontUseGui"><b>dontUseGui</b></a>
<pre>
 public abstract void dontUseGui()
</pre>
<dl>
  <dd> This method instructs the bean that it should not use the Gui.
<p>
</dl>
<a name="okToUseGui()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="okToUseGui"><b>okToUseGui</b></a>
<pre>
 public abstract void okToUseGui()
</pre>
<dl>
  <dd> This method instructs the bean that it is OK to use the Gui.
<p>
</dl>
<a name="avoidingGui()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="avoidingGui"><b>avoidingGui</b></a>
<pre>
 public abstract boolean avoidingGui()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> true if the bean is currently avoiding use of the Gui.
   e.g. due to a call on dontUseGui().
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.beans.html">This Package</a>  <a href="java.beans.VetoableChangeListener.html#_top_">Previous</a>  <a href="Package-java.beans.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
