Package com.iizigo.panel.wizards
Interface IUICompCreator<UICOMP extends UIComp>
- All Known Implementing Classes:
- NameVSFieldCreator,- TextPromptCreator,- UIComboBoxCreator,- UIContainerCreator,- UITableColumnCreator,- UITableCreator
 - public interface IUICompCreator<UICOMP extends UIComp>Interface used to create the UI component in order to fill in the wizard or to perform auto-creation of VS components.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods Default Methods - Modifier and Type - Method - Description - default java.util.List<VSComponentCreation<?>>- getCreations(UICOMP uiComp, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo)Gets the required VS component creations that are needed.- java.lang.String- getImage()Gets the large image to use, relative the "icons/large" directory.- default boolean- isVirtualSpaceRequired()Returns if the VirtualSpace is required, and if- getCreations(UIComp, EditorVirtualSpace, IPropUndoRedo)will be called.- void- onWizard(AddUICompWizard wizard, UIPanelBase panel, UICOMP uiComp)Called to create required wizard pages.- default boolean- performFinish()Called when the wizard completes.- default boolean- performSilent()Called when silent execution is done and a wizard is not used.
 
- Method Detail- isVirtualSpaceRequired- default boolean isVirtualSpaceRequired() Returns if the VirtualSpace is required, and if- getCreations(UIComp, EditorVirtualSpace, IPropUndoRedo)will be called.
 - getCreations- default java.util.List<VSComponentCreation<?>> getCreations(UICOMP uiComp, EditorVirtualSpace virtualSpace, IPropUndoRedo undoRedo) Gets the required VS component creations that are needed.- Parameters:
- uiComp- The UI component.
- virtualSpace- The VirtualSpace.
- undoRedo- The undo/redo instance.
- Returns:
- A list of VS component creation elements.
 
 - getImage- java.lang.String getImage() Gets the large image to use, relative the "icons/large" directory.
 - onWizard- void onWizard(AddUICompWizard wizard, UIPanelBase panel, UICOMP uiComp) Called to create required wizard pages.- Parameters:
- wizard- The wizard.
- uiComp- The component created.
- panel- The panel.
 
 - performFinish- default boolean performFinish() Called when the wizard completes. Override to process.- Returns:
- true to finish (default), false to abort.
 
 - performSilent- default boolean performSilent() Called when silent execution is done and a wizard is not used. This method is called instead of- performFinish().- Returns:
- true to finish (default), false to abort.