Interface VisionDesignerInterface
- 
- All Superinterfaces:
- VisionClientInterface
 - All Known Implementing Classes:
- VisionDesignerImpl
 
 public interface VisionDesignerInterface extends VisionClientInterface 
- 
- 
Field Summary- 
Fields inherited from interface com.inductiveautomation.vision.api.client.VisionClientInterfaceVISION_MODULE_ID
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddNewWindow(ResourcePath parentFolder, int width, int height, java.util.function.Consumer<ResourcePath> onAfter)Adds a new window to theFPMIAppbeing designedvoidaddWindowDropHandler(WindowDropHandler handler)Add a new drop handler for custom drop types onto windows and templatesjava.awt.ComponentcloneComponent(java.awt.Component comp)booleanconfigureBinding(java.awt.Component component, java.lang.String property, BindingConfiguration configuration)Configures a new property binding for the component.property using the given configuration.DesignerPrefsgetCurrentPrefs()DesignerContextgetDesignerContext()PalettegetPalette()WindowWorkspacegetWorkspace()voidopenBindingDialog(java.awt.Component component, java.lang.String property)Opens the binding dialog for a given component.voidremoveWindowDropHandler(WindowDropHandler handler)Removes a drop handler for custom drop types onto windows and templates- 
Methods inherited from interface com.inductiveautomation.vision.api.client.VisionClientInterfaceaddExtensibleBindingType, addWindowListener, getBindingType, getGuiUtil, getGuiUtil, getNavUtil, getNavUtil, removeWindowListener
 
- 
 
- 
- 
- 
Method Detail- 
getPalettePalette getPalette() 
 - 
addNewWindowvoid addNewWindow(ResourcePath parentFolder, int width, int height, java.util.function.Consumer<ResourcePath> onAfter) Adds a new window to theFPMIAppbeing designed
 - 
cloneComponentjava.awt.Component cloneComponent(java.awt.Component comp) 
 - 
getCurrentPrefsDesignerPrefs getCurrentPrefs() 
 - 
getWorkspaceWindowWorkspace getWorkspace() 
 - 
getDesignerContextDesignerContext getDesignerContext() 
 - 
openBindingDialogvoid openBindingDialog(java.awt.Component component, java.lang.String property) throws NotBindableExceptionOpens the binding dialog for a given component. The component should be on a window that is currently open for design- Throws:
- NotBindableException
 
 - 
configureBindingboolean configureBinding(java.awt.Component component, java.lang.String property, BindingConfiguration configuration) throws java.lang.ExceptionConfigures a new property binding for the component.property using the given configuration. The binding type is defined by the configuration'sBindingConfiguration.getBindingType()- Throws:
- java.lang.Exception
 
 - 
addWindowDropHandlervoid addWindowDropHandler(WindowDropHandler handler) Add a new drop handler for custom drop types onto windows and templates
 - 
removeWindowDropHandlervoid removeWindowDropHandler(WindowDropHandler handler) Removes a drop handler for custom drop types onto windows and templates
 
- 
 
-