org.globus.cog.util.beans
Class CoGBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by org.globus.cog.util.beans.CoGBeanInfo
All Implemented Interfaces:
BeanInfo
Direct Known Subclasses:
CoGAboutBeanInfo

public class CoGBeanInfo
extends SimpleBeanInfo

Base BeanInfo class for CoG beans that simplifies the definition of icons


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
CoGBeanInfo(String iconName)
           
 
Method Summary
 Image getIcon(int type)
           
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, getPropertyDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoGBeanInfo

public CoGBeanInfo(String iconName)
Method Detail

getIcon

public Image getIcon(int type)
Specified by:
getIcon in interface BeanInfo
Overrides:
getIcon in class SimpleBeanInfo