/[classpath]/classpath/java/beans/Visibility.java
ViewVC logotype

Diff of /classpath/java/beans/Visibility.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.6 by mkoch, Sun Oct 12 15:29:25 2003 UTC
# Line 58  public interface Visibility { Line 58  public interface Visibility {
58           * Tells whether the Bean can run without a GUI or not.           * Tells whether the Bean can run without a GUI or not.
59           * @return false if Bean can run without a GUI, else true.           * @return false if Bean can run without a GUI, else true.
60           */           */
61          public abstract boolean needsGui();          boolean needsGui();
62    
63          /**          /**
64           * Tells whether Bean is trying not to use the GUI.           * Tells whether Bean is trying not to use the GUI.
65           * If needsGui() is true, this method should always return false.           * If needsGui() is true, this method should always return false.
66           * @return true if definitely not using GUI, otherwise false.           * @return true if definitely not using GUI, otherwise false.
67           */           */
68          public abstract boolean avoidingGui();          boolean avoidingGui();
69    
70          /**          /**
71           * Tells the Bean not to use GUI methods.           * Tells the Bean not to use GUI methods.
72           * If needsGUI() is false, then after this method is called,           * If needsGUI() is false, then after this method is called,
73           * avoidingGui() should return true.           * avoidingGui() should return true.
74           */           */
75          public abstract void dontUseGui();          void dontUseGui();
76    
77          /**          /**
78           * Tells the Bean it may use the GUI.           * Tells the Bean it may use the GUI.
# Line 81  public interface Visibility { Line 81  public interface Visibility {
81           * false, avoidingGui() may return true or false after this method           * false, avoidingGui() may return true or false after this method
82           * is called.           * is called.
83           */           */
84          public abstract void okToUseGui();          void okToUseGui();
85  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26