public class FunctionColumnParametersHeaderMetaData extends EditablePopupHeaderMetaData<HasParametersControl,ParametersPopoverView.Presenter>
cellEditorControls, editor, editorTitle
Constructor and Description |
---|
FunctionColumnParametersHeaderMetaData(Supplier<Optional<FunctionDefinition>> functionSupplier,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
CellEditorControlsView.Presenter cellEditorControls,
ParametersPopoverView.Presenter editor,
Optional<String> editorTitle,
FunctionGrid gridWidget) |
Modifier and Type | Method and Description |
---|---|
String |
getColumnGroup() |
Optional<String> |
getPlaceHolder()
Returns 'place holder' text to show if the
GridColumn.HeaderMetaData.getTitle() is StringUtils.isEmpty(String) |
protected HasParametersControl |
getPresenter() |
String |
getTitle() |
com.ait.lienzo.client.core.shape.Group |
render(org.uberfire.ext.wires.core.grids.client.widget.context.GridHeaderColumnRenderContext context,
double blockWidth,
double blockHeight)
Delegates rendering to the
GridColumn.HeaderMetaData . |
destroyResources, edit, setColumnGroup, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSupportedEditAction, renderPlaceHolder
public FunctionColumnParametersHeaderMetaData(Supplier<Optional<FunctionDefinition>> functionSupplier, org.jboss.errai.ui.client.local.spi.TranslationService translationService, CellEditorControlsView.Presenter cellEditorControls, ParametersPopoverView.Presenter editor, Optional<String> editorTitle, FunctionGrid gridWidget)
protected HasParametersControl getPresenter()
getPresenter
in class EditablePopupHeaderMetaData<HasParametersControl,ParametersPopoverView.Presenter>
public String getColumnGroup()
public String getTitle()
public com.ait.lienzo.client.core.shape.Group render(org.uberfire.ext.wires.core.grids.client.widget.context.GridHeaderColumnRenderContext context, double blockWidth, double blockHeight)
EditableHeaderMetaData
GridColumn.HeaderMetaData
.context
- The context of a Grid's cell header during the rendering phase.blockWidth
- Width of the GridColumn.HeaderMetaData
column(s) block.blockHeight
- Width of the GridColumn.HeaderMetaData
row(s) block.public Optional<String> getPlaceHolder()
EditableHeaderMetaData
GridColumn.HeaderMetaData.getTitle()
is StringUtils.isEmpty(String)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.