src/share/classes/java/beans/FeatureDescriptor.java
Print this page
rev 10053 : 8044855: Add missing @since tag under java.beans.*
Reviewed-by:
@@ -44,10 +44,12 @@
* It supports some common information that can be set and retrieved for
* any of the introspection descriptors.
* <p>
* In addition it provides an extension mechanism so that arbitrary
* attribute/value pairs can be associated with a design feature.
+ *
+ * @since 1.1
*/
public class FeatureDescriptor {
private static final String TRANSIENT = "transient";
@@ -143,10 +145,11 @@
/**
* The "preferred" flag is used to identify features that are particularly
* important for presenting to humans.
*
* @return True if this feature should be preferentially shown to human users.
+ * @since 1.2
*/
public boolean isPreferred() {
return preferred;
}
@@ -154,10 +157,11 @@
* The "preferred" flag is used to identify features that are particularly
* important for presenting to humans.
*
* @param preferred True if this feature should be preferentially shown
* to human users.
+ * @since 1.2
*/
public void setPreferred(boolean preferred) {
this.preferred = preferred;
}