Package com.iizigo.link.ui
Interface IUIBuilderFromVS<VS_COMP extends VSComponent>
- All Superinterfaces:
- IUIBuilder
- All Known Implementing Classes:
- ButtonBuilder,- ComboBoxBuilder,- MenuItemBuilder,- TextAreaBuilder,- TextBuilder
The interface used for UI builders from VirtualSpace.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- default void- addSubOperations- (IEUIContainer container, IAdaptable source, Collection<UIBuilderSubOperation> subOps) Adds the operation node(s) for presentation in the link wizard main page.- void- addSubOperations- (IEUIContainer container, VS_COMP comp, Collection<UIBuilderSubOperation> subOps) Adds the operation(s) for the VS component builder operation.- default boolean- canBuild- (IEUIContainer container, IAdaptable source) Returns if this property container could potentially be link capable.Returns the source VS component class.- Methods inherited from interface com.iizigo.link.ui.IUIBuilder- getBuildDescription, getUIBuildComponents
- Method Details- getVSComponentClassReturns the source VS component class.- Returns:
- The VS component class.
 
- canBuildReturns if this property container could potentially be link capable.- This call is done many times during drag-drop and must be very fast and not cause too much garbage collection. - Specified by:
- canBuildin interface- IUIBuilder
- Parameters:
- container- The target container.
- source- The adaptable source.
- Returns:
- true if the builder supports building with the data.
 
- addSubOperationsdefault void addSubOperations- (IEUIContainer container, IAdaptable source, Collection<UIBuilderSubOperation> subOps) Adds the operation node(s) for presentation in the link wizard main page. This method is called only if the builder supports the adaptable component.- Specified by:
- addSubOperationsin interface- IUIBuilder
- Parameters:
- container- The container.
- source- The adaptable source.
- subOps- The build sub-operations.
 
- addSubOperationsvoid addSubOperations- (IEUIContainer container, VS_COMP comp, Collection<UIBuilderSubOperation> subOps) Adds the operation(s) for the VS component builder operation. This method is only called when verified that this operation really can be built.- Parameters:
- container- The container.
- comp- The VS component.
- subOps- The build sub-operations.