biouml.standard.type
Class GenericEntityBeanInfo

java.lang.Object
  extended byjava.beans.SimpleBeanInfo
      extended bycom.beanexplorer.beans.BeanInfoEx
          extended bybiouml.standard.type.GenericEntityBeanInfo
All Implemented Interfaces:
java.beans.BeanInfo, com.beanexplorer.beans.BeanInfoConstants
Direct Known Subclasses:
KineticTypeBeanInfo, ReferrerBeanInfo, SpecieReferenceBeanInfo, UnitBeanInfo

public class GenericEntityBeanInfo
extends com.beanexplorer.beans.BeanInfoEx

Utility class containing common metada for all generic entities.


Field Summary
 
Fields inherited from class com.beanexplorer.beans.BeanInfoEx
beanClass, beanDescriptor, beanEditorClass, cat, catErrorMethod, childResources, compositeEditorLayoutManager, compositeEditorPropertyList, displayNameMethod, editorPreferredSize, helpId, hidden, hideChildren, isLOG4JPresent, noRecursionCheck, parentResources, properties, readOnly, resources, simple, substituteByChild
 
Fields inherited from interface com.beanexplorer.beans.BeanInfoConstants
BEAN_DISPLAY_NAME, CAN_BE_NULL, CHILD_DISPLAY_NAME, CHILD_READ_ONLY, COMPOSITE_EDITOR_LAYOUT_MANAGER, COMPOSITE_EDITOR_PROPERTY_LIST, DEFAULT_VALUE, DISPLAY_NAME, EDITOR_PREFERRED_SIZE, FORMAT_MASK, HELP_ID, HIDDEN, HIDE_CHILDREN, NO_RECURSION_CHECK, NODE_ICON_COLOR_16x16, NODE_ICON_COLOR_32x32, NODE_ICON_MONO_16x16, NODE_ICON_MONO_32x32, ORDER, PARENT_RESOURCES, RAW_VALUE, READ_ONLY, RESOURCES, SIMPLE, SUBSTITUTE_BY_CHILD, TOOLTIP
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
protected GenericEntityBeanInfo(java.lang.Class beanClass, java.lang.String key)
           
protected GenericEntityBeanInfo(java.lang.Class beanClass, java.lang.String key, java.lang.String messageBundle)
          Note: key can be null.
 
Method Summary
 void initProperties()
           
 void setHtmlDisplayName(java.lang.String programmaticName, java.lang.String htmlName)
          Set up display name in HtmlPropertyInspector for the given property.
 
Methods inherited from class com.beanexplorer.beans.BeanInfoEx
add, add, add, add, add, add, add, add, addHidden, addHidden, findPropertyDescriptor, findPropertyIndex, getBeanDescriptor, getIcon, getPropertyDescriptors, getResourceString, initResources, logError, logError, setBeanEditor, setCompositeEditor, setDisplayNameMethod, setEditorPreferredSize, setHelpId, setHidden, setHideChildren, setNoRecursionCheck, setReadOnly, setSimple, setSubstituteByChild
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, 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

GenericEntityBeanInfo

protected GenericEntityBeanInfo(java.lang.Class beanClass,
                                java.lang.String key)

GenericEntityBeanInfo

protected GenericEntityBeanInfo(java.lang.Class beanClass,
                                java.lang.String key,
                                java.lang.String messageBundle)
Note: key can be null. In this case subclass can set up necessary MessageBundle and then initialise beanDescriptor properly.

Method Detail

initProperties

public void initProperties()
                    throws java.lang.Exception
Throws:
java.lang.Exception

setHtmlDisplayName

public void setHtmlDisplayName(java.lang.String programmaticName,
                               java.lang.String htmlName)
Set up display name in HtmlPropertyInspector for the given property.



Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.