Class PMIMomentaryButtonBeanInfo
- All Implemented Interfaces:
- BeanInfo,- SwingConstants
- 
Field SummaryFields 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_CLASSFields 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_MASKFields inherited from interface java.beans.BeanInfoICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32Fields inherited from interface javax.swing.SwingConstantsBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidDeprecated.Subclasses should override this to add custom mappings to the default tag drop handler.getIcon(int kind) Deprecated.protected voidinitDesc()Deprecated.Implement this function to initialize the BeanDescriptor.protected voidDeprecated.Called to add the event sets that this component will fire and should be handled by user scripting.protected voidDeprecated.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 opaqueMethods inherited from class com.inductiveautomation.vision.api.designer.beans.CommonBeanInfoaddCursorCode, addCursorCode, addDataQuality, addFocusEvents, addInputEventSets, addJComponentEventSets, addKeyEvents, addRotation, addVisualProps, createTagDropHandler, initComponentRestrictions, installTagDropHandlerMethods 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, getIconPath, getIconPrefix, getIconResource, getMethodDescriptors, getPropertyDescriptors, initMethods, removeProp, setBackgroundProperty, setBackgroundProperty, setFlags, setFlags, setForegroundProperty, setForegroundProperty, toStringMethods inherited from class java.beans.SimpleBeanInfogetAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, loadImage
- 
Constructor Details- 
PMIMomentaryButtonBeanInfopublic PMIMomentaryButtonBeanInfo()Deprecated.
 
- 
- 
Method Details- 
initPropertiesDeprecated.Description 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:
- IntrospectionException
- See Also:
 
- 
configureTagDropHandlerDeprecated.Description copied from class:CommonBeanInfoSubclasses should override this to add custom mappings to the default tag drop handler. By default the only mapping installed is to bind the component's toolTipText property to the tag's Tooltip property. Example. Suppose your component has an integer property named "myValue " and when a SQLTag was dropped on your component you want to set up a tag binding for "myValue" to the sqltag's value. You'd configure the tag drop handler like this: handler.addBinding(TagProp.Value, "myValue"); - Overrides:
- configureTagDropHandlerin class- CommonBeanInfo
 
- 
initEventSetsDeprecated.Description copied from class:CommonBeanInfoCalled to add the event sets that this component will fire and should be handled by user scripting. By default this implementation adds common JComponent events scuh as propertyChange, mouse, and mouseMotion To add a new eventSet, call DefaultBeanInfo.addEventSet(Class, String, Class, String)or one of its overloads.- Overrides:
- initEventSetsin class- CommonBeanInfo
- Throws:
- IntrospectionException
 
- 
getIconDeprecated.- Specified by:
- getIconin interface- BeanInfo
- Overrides:
- getIconin class- DefaultBeanInfo
 
- 
initDescprotected void initDesc()Deprecated.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
 
 
-