@Dependent public class DisabledExperimentalLayoutComponent extends Object implements LayoutDragComponent
converter, FORMAT
Constructor and Description |
---|
DisabledExperimentalLayoutComponent(DisabledFeatureComponent component,
org.jboss.errai.ui.client.local.spi.TranslationService translationService) |
Modifier and Type | Method and Description |
---|---|
String |
getDragComponentTitle()
The title displayed in the component drag palette.
|
String |
getFeatureId() |
com.google.gwt.user.client.ui.IsWidget |
getPreviewWidget(RenderingContext ctx)
Widget shown during the layout edition.
|
com.google.gwt.user.client.ui.IsWidget |
getShowWidget(RenderingContext ctx)
The widget that display and provides all the component features.
|
void |
setFeatureId(String featureId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentPart, getDragComponentIconClass, getPropertyCategories, removeCurrentWidget
@Inject public DisabledExperimentalLayoutComponent(DisabledFeatureComponent component, org.jboss.errai.ui.client.local.spi.TranslationService translationService)
public String getDragComponentTitle()
LayoutDragComponent
getDragComponentTitle
in interface LayoutDragComponent
public com.google.gwt.user.client.ui.IsWidget getPreviewWidget(RenderingContext ctx)
LayoutDragComponent
Notice this is just a widget preview, so not all the component features need to be available at preview time. Just a widget that gives the user an idea of how the final component might look like.
getPreviewWidget
in interface LayoutDragComponent
ctx
- The context for the component being renderedpublic com.google.gwt.user.client.ui.IsWidget getShowWidget(RenderingContext ctx)
LayoutDragComponent
getShowWidget
in interface LayoutDragComponent
ctx
- The context for the component being renderedpublic String getFeatureId()
public void setFeatureId(String featureId)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.