java.beans.SimpleBeanInfo Java Examples

The following examples show how to use java.beans.SimpleBeanInfo. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DynamicWebServiceTypeGenerator.java    From openbd-core with GNU General Public License v3.0 5 votes vote down vote up
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;
}
 
Example #2
Source File: SimpleBeanInfoTest.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void testGetAdditionalBeanInfo() {
    SimpleBeanInfo info = new SimpleBeanInfo();

    assertNull(info.getAdditionalBeanInfo());
}
 
Example #3
Source File: SimpleBeanInfoTest.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void testGetBeanDescriptor() {
    SimpleBeanInfo info = new SimpleBeanInfo();

    assertNull(info.getBeanDescriptor());
}
 
Example #4
Source File: SimpleBeanInfoTest.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void testGetDefaultEventIndex() {
    SimpleBeanInfo info = new SimpleBeanInfo();

    assertEquals(-1, info.getDefaultEventIndex());
}
 
Example #5
Source File: SimpleBeanInfoTest.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void testGetDefaultPropertyIndex() {
    SimpleBeanInfo info = new SimpleBeanInfo();

    assertEquals(-1, info.getDefaultPropertyIndex());
}
 
Example #6
Source File: SimpleBeanInfoTest.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void testGetEventSetDescriptors() {
    SimpleBeanInfo info = new SimpleBeanInfo();

    assertNull(info.getEventSetDescriptors());
}
 
Example #7
Source File: SimpleBeanInfoTest.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void testGetMethodDescriptors() {
    SimpleBeanInfo info = new SimpleBeanInfo();

    assertNull(info.getMethodDescriptors());
}
 
Example #8
Source File: SimpleBeanInfoTest.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void testGetPropertyDescriptors() {
    SimpleBeanInfo info = new SimpleBeanInfo();

    assertNull(info.getPropertyDescriptors());
}