All Implemented Interfaces:
BeanInfo
Direct Known Subclasses:
AbstractButtonBeanInfo, AlarmJournalTableBeanInfo, AlarmStatusTableBeanInfo, AlertSummaryTableBeanInfo, BasicContainerBeanInfo, ColumnSelectorPanelBeanInfo, EquipmentScheduleViewBeanInfo, FileExplorerBeanInfo, LanguageSelectorBeanInfo, LinearScaleBeanInfo, MovingAnalogIndicatorBeanInfo, PathBasedVisionShapeBeanInfo, PDFViewerBeanInfo, PMIBarChartBeanInfo, PMIBarcodeBeanInfo, PMIBoxWhiskerChartBeanInfo, PMIChartBeanInfo, PMICheckBoxBeanInfo, PMICircleBeanInfo, PMIComboBoxBeanInfo, PMICommentsPanel2BeanInfo, PMICommentsPanelBeanInfo, PMICompassBeanInfo, PMICylindricalTankBeanInfo, PMIDateRangeBeanInfo, PMIDateTimeSelectorBeanInfo, PMIDayViewBeanInfo, PMIDigitalDisplayBeanInfo, PMIEasyChartBeanInfo, PMIEditorPaneBeanInfo, PMIFillLevelIndicatorBeanInfo, PMIFormattedTextFieldBeanInfo, PMIGanttChartBeanInfo, PMIImageBeanInfo, PMIIPCamViewerBeanInfo, PMILabelBeanInfo, PMILightrailSignalBeanInfo, PMILineBeanInfo, PMIListBeanInfo, PMIMeterBeanInfo, PMIMomentaryButton2BeanInfo, PMIMomentaryButtonBeanInfo, PMIMonthViewBeanInfo, PMIMultiStateIndicatorBeanInfo, PMINStateButtonBeanInfo, PMINumericLabelBeanInfo, PMINumericTextFieldBeanInfo, PMIPaintableCanvasBeanInfo, PMIPasswordFieldBeanInfo, PMIPieChartBeanInfo, PMIPipeBeanInfo, PMIPipeJointBeanInfo, PMIPolygonBeanInfo, PMIProgressBarBeanInfo, PMIRadioButtonBeanInfo, PMIRectangleBeanInfo, PMISignalGeneratorBeanInfo, PMISliderBeanInfo, PMISoundComponentBeanInfo, PMISpinnerBeanInfo, PMIStatusChartBeanInfo, PMITableBeanInfo, PMITabStripBeanInfo, PMITextAreaBeanInfo, PMITextFieldBeanInfo, PMIThermometerBeanInfo, PMITimerBeanInfo, PMIToggleButtonBeanInfo, PMITrackSegmentBeanInfo, PMITreeViewBeanInfo, PMIWeekViewBeanInfo, RadarChart2BeanInfo, RadarChartBeanInfo, ReportPanelBeanInfo, ReportViewerBeanInfo, RosterManagementPanelBeanInfo, RowSelectorTreeBeanInfo, ScheduleManagementPanelBeanInfo, SFCMonitoringPanelBeanInfo, ShapeGroupBeanInfo, SparklineChartBeanInfo, TagBrowseTreeBeanInfo, TemplateCanvasBeanInfo, TemplateHolderBeanInfo, TemplateRepeaterBeanInfo, UserManagementPanelBeanInfo, VisionAdvancedTableBeanInfo, VisionTemplateBeanInfo

public class CommonBeanInfo extends DefaultBeanInfo
CommonBeanInfo is the base class of all BeanInfo classes used by the Vision module. When you make a subclass of CommonBeanInfo, you'll override initProperties() and DefaultBeanInfo.getIcon(int). You may also override initEventSets().
  • Field Details

    • TAG_DROP_HANDLER_KEY

      public static final String TAG_DROP_HANDLER_KEY
      See Also:
    • DOUBLE_CLICK_CUSTOMIZER_KEY

      public static final String DOUBLE_CLICK_CUSTOMIZER_KEY
      Use this as a key on your bean descriptor whose value is your customizer's VALUE_NAME to make double-clicking on your bean open up that customizer.
      See Also:
    • DOUBLE_CLICK_HANDLER

      public static final String DOUBLE_CLICK_HANDLER
      Use this as a key on your bean descriptor whose value is an instance of DoubleClickHandler, and that double-click handler will be called on double-clicks of instances of this bean
      See Also:
    • EDIT_CLICK_HANDLER

      public static final String EDIT_CLICK_HANDLER
      Use this as a key on your bean descriptor whose value is an instance of DoubleClickHandler, and that edit-click will be called when your bean is edit-clicked. An edit-click is a click on an already selected component.
      See Also:
    • RIGHT_CLICK_HANDLER

      public static final String RIGHT_CLICK_HANDLER
      Use this key on your bean descriptor if you want to add custom actions to the right-click menu of your component. The value should be an instance of ComponentPopupInitializer.
      See Also:
    • SECURITY_RESTRICTIONS

      public static final String SECURITY_RESTRICTIONS
      This key is used on the bean descriptor to hold a List<ComponentRestriction> that are compatible with this bean type. CommonBeanInfo will automatically add the following:
      • A VisibilityRestriction to any bean that exposes its visible property.
      • An EnabledRestriction to any bean that is a --something or other for new enabled stuff--
      • An OverlayRestriction to any bean that is a QualityMonitor.
      See Also:
    • TERM_FINDER_CLASS

      public static final String TERM_FINDER_CLASS
      The class that should be instantiated as a custom translation term finder. If not set, a standard component finder will be used.
      See Also:
    • CAT_COMMON

      public static final String CAT_COMMON
      See Also:
    • CAT_APPEARANCE

      public static final String CAT_APPEARANCE
      See Also:
    • CAT_POSITION

      public static final String CAT_POSITION
      See Also:
    • CAT_BEHAVIOR

      public static final String CAT_BEHAVIOR
      See Also:
    • CAT_DATA

      public static final String CAT_DATA
      See Also:
    • CAT_LAYOUT

      public static final String CAT_LAYOUT
      See Also:
    • CAT_DEPRECATED

      public static final String CAT_DEPRECATED
      See Also:
  • Constructor Details

    • CommonBeanInfo

      public CommonBeanInfo(Class c)
      Use this constructor for components with no customizers
    • CommonBeanInfo

      @Deprecated public CommonBeanInfo(Class c, Class customizer)
      Deprecated.
    • CommonBeanInfo

      public CommonBeanInfo(Class c, CustomizerDescriptor... custDesc)
      Use this constructor if your component uses customizers. Common customizers have static descriptors available. For example, your subclass might call this constructor as follows if it has dynamic properties and styles:

       super(MyComponent.class,
         new CustomizerDescriptor[] {
           DynamicPropertyProviderCustomizer.VALUE_DESCRIPTOR,
           StyleCustomizer.VALUE_DESCRIPTOR });
       
  • Method Details