本文整理匯總了Java中java.beans.SimpleBeanInfo類的典型用法代碼示例。如果您正苦於以下問題:Java SimpleBeanInfo類的具體用法?Java SimpleBeanInfo怎麽用?Java SimpleBeanInfo使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
SimpleBeanInfo類屬於java.beans包,在下文中一共展示了SimpleBeanInfo類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: startBeanInfoClass
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
private StringBuilder startBeanInfoClass(String pkgName, String clsName) {
StringBuilder buffy = new StringBuilder();
buffy.append("/* This java file was dynamically generated by OpenBlueDragon */" + EOL);
buffy.append("package " + pkgName + ";" + EOL);
buffy.append(EOL);
buffy.append("public class " + clsName + " extends ");
buffy.append(SimpleBeanInfo.class.getName());
buffy.append(" {" + EOL);
return buffy;
}
示例2: testGetAdditionalBeanInfo
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetAdditionalBeanInfo() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertNull(info.getAdditionalBeanInfo());
}
示例3: testGetBeanDescriptor
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetBeanDescriptor() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertNull(info.getBeanDescriptor());
}
示例4: testGetDefaultEventIndex
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetDefaultEventIndex() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertEquals(-1, info.getDefaultEventIndex());
}
示例5: testGetDefaultPropertyIndex
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetDefaultPropertyIndex() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertEquals(-1, info.getDefaultPropertyIndex());
}
示例6: testGetEventSetDescriptors
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetEventSetDescriptors() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertNull(info.getEventSetDescriptors());
}
示例7: testGetIcon
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetIcon() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertNull(info.getIcon(BeanInfo.ICON_COLOR_16x16));
}
示例8: testGetMethodDescriptors
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetMethodDescriptors() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertNull(info.getMethodDescriptors());
}
示例9: testGetPropertyDescriptors
import java.beans.SimpleBeanInfo; //導入依賴的package包/類
public void testGetPropertyDescriptors() {
SimpleBeanInfo info = new SimpleBeanInfo();
assertNull(info.getPropertyDescriptors());
}