Class SerializedPaletteItem

    • Constructor Detail

      • SerializedPaletteItem

        public SerializedPaletteItem()
    • Method Detail

      • createComponent

        public javax.swing.JComponent createComponent​(VisionDesignerInterface context,
                                                      javax.swing.JComponent dropContainer)
                                               throws java.lang.Exception
        Description copied from interface: ComponentInstantiator
        Create a new instance of the component that this item represents
        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.
      • getData

        public java.lang.String getData()
      • setData

        public void setData​(java.lang.String data)
        Called by the AbstractCustomGroupView when a copy is detected after selecting the capture button.
        Parameters:
        data - Gzipped UTF-8 encoded XML
      • getImageData

        public byte[] getImageData()
      • setImageData

        public void setImageData​(byte[] imageData)
      • setWindow

        @Deprecated
        public void setWindow​(boolean window)
        Deprecated.
      • setVersion

        @Deprecated
        public void setVersion​(int version)
        Deprecated.