public interface Visibility
此界面是为专家开发的,不需要普通的简单的豆子。为避免混淆,最终我们避免使用getXXX setXXX设计模式的方法。
Modifier and Type | Method and Description |
---|---|
boolean |
avoidingGui()
确定这个是否避免使用一个图形用户界面。
|
void |
dontUseGui()
此方法指示它不应该使用的图形用户界面的。
|
boolean |
needsGui()
确定这个豆是否需要一个图形用户界面。
|
void |
okToUseGui()
此方法指示使用“图形用户界面”的“”“”“”。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.