Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/beans/BeanDescriptor.java
/*
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.beans;
import java.lang.ref.Reference;
import javax.swing.SwingContainer;
/**
* A BeanDescriptor provides global information about a "bean",
* including its Java class, its displayName, etc.
* <p>
* This is one of the kinds of descriptor returned by a BeanInfo object,
* which also returns descriptors for properties, method, and events.
*
* @since 1.1
*/
public class BeanDescriptor extends FeatureDescriptor {
private Reference<? extends Class<?>> beanClassRef;
private Reference<? extends Class<?>> customizerClassRef;
/**
* Create a BeanDescriptor for a bean that doesn't have a customizer.
*
* @param beanClass The Class object of the Java class that implements
* the bean. For example sun.beans.OurButton.class.
*/
public BeanDescriptor(Class<?> beanClass) {
this(beanClass, null);
}
/**
* Create a BeanDescriptor for a bean that has a customizer.
*
* @param beanClass The Class object of the Java class that implements
* the bean. For example sun.beans.OurButton.class.
* @param customizerClass The Class object of the Java class that implements
* the bean's Customizer. For example sun.beans.OurButtonCustomizer.class.
*/
public BeanDescriptor(Class<?> beanClass, Class<?> customizerClass) {
this.beanClassRef = getWeakReference(beanClass);
this.customizerClassRef = getWeakReference(customizerClass);
String name = beanClass.getName();
while (name.indexOf('.') >= 0) {
name = name.substring(name.indexOf('.')+1);
}
setName(name);
JavaBean annotation = beanClass.getAnnotation(JavaBean.class);
if (annotation != null) {
setPreferred(true);
String description = annotation.description();
if (!description.isEmpty()) {
setShortDescription(description);
}
}
SwingContainer container = beanClass.getAnnotation(SwingContainer.class);
if (container != null) {
setValue("isContainer", container.value());
setValue("containerDelegate", container.delegate());
}
}
/**
* Gets the bean's Class object.
*
* @return The Class object for the bean.
*/
public Class<?> getBeanClass() {
return (this.beanClassRef != null)
? this.beanClassRef.get()
: null;
}
/**
* Gets the Class object for the bean's customizer.
*
* @return The Class object for the bean's customizer. This may
* be null if the bean doesn't have a customizer.
*/
public Class<?> getCustomizerClass() {
return (this.customizerClassRef != null)
? this.customizerClassRef.get()
: null;
}
/*
* Package-private dup constructor
* This must isolate the new object from any changes to the old object.
*/
BeanDescriptor(BeanDescriptor old) {
super(old);
beanClassRef = old.beanClassRef;
customizerClassRef = old.customizerClassRef;
}
void appendTo(StringBuilder sb) {
appendTo(sb, "beanClass", this.beanClassRef);
appendTo(sb, "customizerClass", this.customizerClassRef);
}
}
⏎ java/beans/BeanDescriptor.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, ≈882🔥, 5💬
Popular Posts:
What Is HttpComponents httpclient-4.2.2.jar? HttpComponents httpclient-4.2.2.jar is the JAR file for...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
Apache Avalon began in 1999 as the Java Apache Server Framework and in late 2002 separated from the ...
JDK 17 jdk.javadoc.jmod is the JMOD file for JDK 17 Java Document tool, which can be invoked by the ...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...