@ApplicationScoped public class LayoutComponentPalettePresenter extends Object implements LayoutDragComponentPalette
| Modifier and Type | Class and Description |
|---|---|
static interface |
LayoutComponentPalettePresenter.View |
| Constructor and Description |
|---|
LayoutComponentPalettePresenter() |
LayoutComponentPalettePresenter(LayoutComponentPalettePresenter.View view,
org.jboss.errai.ioc.client.api.ManagedInstance<LayoutDragComponentGroupPresenter> layoutDragComponentGroupInstance,
ClientExperimentalFeaturesRegistryService experimentalFeaturesRegistryService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDraggableComponent(String groupName,
String componentId,
LayoutDragComponent component) |
void |
addDraggableGroup(LayoutComponentPaletteGroupProvider groupProvider) |
void |
addDraggableGroups(Collection<LayoutComponentPaletteGroupProvider> groupProviders) |
void |
clear() |
Map<String,LayoutDragComponentGroupPresenter> |
getLayoutDragComponentGroups() |
UberElement<LayoutComponentPalettePresenter> |
getView() |
boolean |
hasDraggableComponent(String groupName,
String componentId) |
boolean |
hasDraggableGroup(String groupName) |
void |
removeDraggableComponent(String groupName,
String componentId) |
void |
removeDraggableGroup(String groupName) |
public LayoutComponentPalettePresenter()
@Inject public LayoutComponentPalettePresenter(LayoutComponentPalettePresenter.View view, org.jboss.errai.ioc.client.api.ManagedInstance<LayoutDragComponentGroupPresenter> layoutDragComponentGroupInstance, ClientExperimentalFeaturesRegistryService experimentalFeaturesRegistryService)
public UberElement<LayoutComponentPalettePresenter> getView()
public Map<String,LayoutDragComponentGroupPresenter> getLayoutDragComponentGroups()
public void clear()
clear in interface LayoutDragComponentPalettepublic void addDraggableGroups(Collection<LayoutComponentPaletteGroupProvider> groupProviders)
addDraggableGroups in interface LayoutDragComponentPalettepublic void addDraggableGroup(LayoutComponentPaletteGroupProvider groupProvider)
addDraggableGroup in interface LayoutDragComponentPalettepublic void removeDraggableGroup(String groupName)
removeDraggableGroup in interface LayoutDragComponentPalettepublic boolean hasDraggableGroup(String groupName)
hasDraggableGroup in interface LayoutDragComponentPalettepublic void addDraggableComponent(String groupName, String componentId, LayoutDragComponent component)
addDraggableComponent in interface LayoutDragComponentPalettepublic void removeDraggableComponent(String groupName, String componentId)
removeDraggableComponent in interface LayoutDragComponentPalettepublic boolean hasDraggableComponent(String groupName, String componentId)
hasDraggableComponent in interface LayoutDragComponentPaletteCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.