|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.beans.SimpleBeanInfo | +--com.ibm.mm.beans.gui.CMBVersionsViewerBeanInfo
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
CMBVersionsViewerBeanInfo()
|
Method Summary | |
java.beans.BeanInfo[] |
getAdditionalBeanInfo()
Gets a BeanInfo for the superclass of this bean. |
java.awt.Image |
getIcon(int nIconKind)
Gets an image that can be used to visually represent this bean (in the toolbar, on a form, etc). |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Gets the BeanDescriptor for this bean. |
Methods inherited from class java.beans.SimpleBeanInfo |
getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMBVersionsViewerBeanInfo()
Method Detail |
public java.beans.BeanInfo[] getAdditionalBeanInfo()
getAdditionalBeanInfo
in class java.beans.SimpleBeanInfo
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
public BeanDescriptor getBeanDescriptor()
{
// use symantec bean descriptor if possible
try {
if (getClass().getClassLoader().loadClass("symantec.itools.beans.SymantecBeanDescriptor") != null) {
Class c = getClass().getClassLoader().loadClass("com.ibm.mm.beans.gui.PSymantecSupport");
Method m = c.getMethod("getVersionsViewerBeanDescriptor",new Class[] {beanClass.getClass()});
BeanDescriptor desc = (BeanDescriptor)m.invoke(null,new Object[] {beanClass});
return desc;
}
} catch (NullPointerException e) {
} catch (ClassNotFoundException e) {
} catch (InvocationTargetException e) {
} catch (NoSuchMethodException e) {
} catch (IllegalAccessException e) {
}
// otherwise, use generic
return super.getBeanDescriptor();
}
public java.awt.Image getIcon(int nIconKind)
getIcon
in class java.beans.SimpleBeanInfo
iconKind
- the type of icon desired, one of: BeanInfo.ICON_MONO_16x16,
BeanInfo.ICON_COLOR_16x16, BeanInfo.ICON_MONO_32x32, or BeanInfo.ICON_COLOR_32x32.BeanInfo.ICON_MONO_16x16
,
BeanInfo.ICON_COLOR_16x16
,
BeanInfo.ICON_MONO_32x32
,
BeanInfo.ICON_COLOR_32x32
|
EIP JavaBeans | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |