本文整理汇总了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());
}