List of usage examples for java.beans BeanInfo getAdditionalBeanInfo
BeanInfo[] getAdditionalBeanInfo();
From source file:BeanPropertyTableModel.java
private void processBeanInfo(BeanInfo info, Vector<Object> columnData) throws InvocationTargetException, IllegalAccessException { BeanInfo[] extra = info.getAdditionalBeanInfo(); if (extra != null) { for (int i = 0; i < extra.length; ++i) { processBeanInfo(extra[i], columnData); }/*from www.jav a 2s .c o m*/ } PropertyDescriptor[] propDesc = info.getPropertyDescriptors(); for (int i = 0; i < propDesc.length; ++i) { final String propName = propDesc[i].getName(); final Method getter = propDesc[i].getReadMethod(); if (propName != null && getter != null) { Vector<Object> line = generateLine(propName, _bean, getter); if (line != null) { columnData.add(line); } } } }