Class JavaBeanPaletteItem

    • Constructor Detail

      • JavaBeanPaletteItem

        public JavaBeanPaletteItem​(java.lang.String className)
                            throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • JavaBeanPaletteItem

        public JavaBeanPaletteItem​(java.lang.Class beanClass)
    • Method Detail

      • createComponent

        public javax.swing.JComponent createComponent​(VisionDesignerInterface context,
                                                      javax.swing.JComponent drop)
                                               throws java.lang.Exception
        Description copied from interface: ComponentInstantiator
        Create a new instance of the component that this item represents
        Throws:
        java.lang.Exception
      • createJavaBean

        public static javax.swing.JComponent createJavaBean​(java.lang.Class beanClass)
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isSelectable

        public boolean isSelectable()
        Description copied from interface: PaletteItem
        Can this palette item ever become selected? Palette items are selected so that the user may specify their components' exact bounds on the window.