Interface VisionDesignerInterface

    • Method Detail

      • addNewWindow

        void addNewWindow​(ResourcePath parentFolder,
                          int width,
                          int height,
                          java.util.function.Consumer<ResourcePath> onAfter)
        Adds a new window to the FPMIApp being designed
      • cloneComponent

        java.awt.Component cloneComponent​(java.awt.Component comp)
      • openBindingDialog

        void openBindingDialog​(java.awt.Component component,
                               java.lang.String property)
                        throws NotBindableException
        Opens the binding dialog for a given component. The component should be on a window that is currently open for design
        Throws:
        NotBindableException
      • configureBinding

        boolean configureBinding​(java.awt.Component component,
                                 java.lang.String property,
                                 BindingConfiguration configuration)
                          throws java.lang.Exception
        Configures a new property binding for the component.property using the given configuration. The binding type is defined by the configuration's BindingConfiguration.getBindingType()
        Throws:
        java.lang.Exception
      • addWindowDropHandler

        void addWindowDropHandler​(WindowDropHandler handler)
        Add a new drop handler for custom drop types onto windows and templates