Class BasicContainerBeanInfo
- java.lang.Object
- 
- java.beans.SimpleBeanInfo
- 
- com.inductiveautomation.vision.api.designer.beans.DefaultBeanInfo
- 
- com.inductiveautomation.vision.api.designer.beans.CommonBeanInfo
- 
- com.inductiveautomation.factorypmi.designer.beaninfo.BasicContainerBeanInfo
 
 
 
 
- 
- All Implemented Interfaces:
- java.beans.BeanInfo
 
 public class BasicContainerBeanInfo extends CommonBeanInfo 
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.vision.api.designer.beans.CommonBeanInfoCAT_APPEARANCE, CAT_BEHAVIOR, CAT_COMMON, CAT_DATA, CAT_DEPRECATED, CAT_LAYOUT, CAT_POSITION, DOUBLE_CLICK_CUSTOMIZER_KEY, DOUBLE_CLICK_HANDLER, EDIT_CLICK_HANDLER, RIGHT_CLICK_HANDLER, SECURITY_RESTRICTIONS, TAG_DROP_HANDLER_KEY, TERM_FINDER_CLASS
 - 
Fields inherited from class com.inductiveautomation.vision.api.designer.beans.DefaultBeanInfobeanClass, BOUND_MASK, CATEGORY_KEY, CONSTRAINED_MASK, DISPLAY_ORDER_KEY, EXPERT_MASK, HIDDEN_MASK, log, NO_MASK, NOT_BINDABLE_KEY, NOT_BINDABLE_MASK, NOT_TRANSLATABLE_KEY, NOT_TRANSLATABLE_MASK, PREFERRED_MASK, PREFFERED_MASK, TRANSIENT_KEY, TRANSIENT_MASK
 
- 
 - 
Constructor SummaryConstructors Constructor Description BasicContainerBeanInfo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TagDropHandlercreateTagDropHandler()Creates the tag drop handler to be installed for this component.protected java.lang.StringgetIconPrefix()protected voidinitComponentRestrictions(java.util.List<ComponentRestriction> restrictions)Adds appropriate restrictions based on the bean's attributes.protected voidinitDesc()Implement this function to initialize the BeanDescriptor.protected voidinitProperties()CommonBeanInfo adds common properties, such as: preferredSize (hidden, for serialization) bounds (hidden, for serialization) name componentEnabled if the component is an EnabledEx visible border toolTipText font foreground background opaque- 
Methods inherited from class com.inductiveautomation.vision.api.designer.beans.CommonBeanInfoaddCursorCode, addCursorCode, addDataQuality, addFocusEvents, addInputEventSets, addJComponentEventSets, addKeyEvents, addRotation, addVisualProps, configureTagDropHandler, initEventSets, installTagDropHandler
 - 
Methods inherited from class com.inductiveautomation.vision.api.designer.beans.DefaultBeanInfoaddBoundProp, addBoundProp, addEnumProp, addEnumProp, addEnumProp, addEnumProp, addEventSet, addEventSet, addEventSet, addEventSet, addMethod, addMethod, addMethod, addProp, addProp, addProp, addProp, addProp, addTransientProp, addTransientProp, addTransientProp, createProp, createProp, createProp, findProperty, getBeanDescriptor, getEventSetDescriptors, getIcon, getIconPath, getIconResource, getMethodDescriptors, getPropertyDescriptors, initMethods, removeProp, setBackgroundProperty, setBackgroundProperty, setFlags, setFlags, setForegroundProperty, setForegroundProperty, toString
 
- 
 
- 
- 
- 
Method Detail- 
initDescprotected void initDesc() Description copied from class:DefaultBeanInfoImplement this function to initialize the BeanDescriptor. UseDefaultBeanInfo.getBeanDescriptor()to find the bean descriptor and set it's meta props to be appropriate values for this bean.- Overrides:
- initDescin class- DefaultBeanInfo
 
 - 
initComponentRestrictionsprotected void initComponentRestrictions(java.util.List<ComponentRestriction> restrictions) Description copied from class:CommonBeanInfoAdds appropriate restrictions based on the bean's attributes.- Overrides:
- initComponentRestrictionsin class- CommonBeanInfo
- See Also:
- CommonBeanInfo.SECURITY_RESTRICTIONS
 
 - 
initPropertiesprotected void initProperties() throws java.beans.IntrospectionExceptionDescription copied from class:CommonBeanInfoCommonBeanInfo adds common properties, such as: - preferredSize (hidden, for serialization)
- bounds (hidden, for serialization)
- name
- componentEnabled if the component is an EnabledEx
- visible
- border
- toolTipText
- font
- foreground
- background
- opaque
 It is typical to override this function and then call super(). If you want to hide some of these functions, call removeProp with their names. After that you can add your own properties. Remember, only properties you add here will be serialized on your component. All properties must have proper getter/setter functions. If you need a property to be serialized but not shown, use the HIDDEN_MASK. If you want to expose a read-only bound property, use HIDDEN_MASK | BOUND_MASK. - Overrides:
- initPropertiesin class- CommonBeanInfo
- Throws:
- java.beans.IntrospectionException
- See Also:
- CommonBeanInfo.addCursorCode(),- CommonBeanInfo.addDataQuality(),- CommonBeanInfo.addVisualProps()
 
 - 
createTagDropHandlerprotected TagDropHandler createTagDropHandler() Description copied from class:CommonBeanInfoCreates the tag drop handler to be installed for this component. Default implementation creates aDefaultTagDropHandler- Overrides:
- createTagDropHandlerin class- CommonBeanInfo
 
 - 
getIconPrefixprotected java.lang.String getIconPrefix() - Overrides:
- getIconPrefixin class- DefaultBeanInfo
 
 
- 
 
-