| Modifier and Type | Field and Description |
|---|---|
protected boolean |
editableHeaders
flag to know if the headers are editable or not (as in the DMN-scenario case);
true on instantiation |
protected FactIdentifier |
factIdentifier
The
FactIdentifier mapped to this column; default to FactIdentifier.EMPTY |
protected ScenarioHeaderMetaData |
informationHeaderMetaData |
protected boolean |
instanceAssigned
flag to know if an instance has been already assigned to this column;
false on instantiation |
protected boolean |
propertyAssigned
flag to know if a property has been already assigned to this column;
false on instantiation |
protected ScenarioHeaderMetaData |
propertyHeaderMetaData |
| Constructor and Description |
|---|
ScenarioGridColumn(List<org.uberfire.ext.wires.core.grids.client.model.GridColumn.HeaderMetaData> headerMetaData,
org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.GridColumnRenderer<String> columnRenderer,
double width,
boolean isMovable,
org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,? extends com.google.gwt.user.client.ui.Widget,? extends org.uberfire.ext.wires.core.grids.client.widget.dom.impl.BaseDOMElement<String,? extends com.google.gwt.user.client.ui.Widget>> factory,
String placeHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
edit(org.uberfire.ext.wires.core.grids.client.model.GridCell<String> cell,
org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context,
Consumer<org.uberfire.ext.wires.core.grids.client.model.GridCellValue<String>> callback) |
FactIdentifier |
getFactIdentifier() |
ScenarioHeaderMetaData |
getInformationHeaderMetaData() |
String |
getPlaceHolder() |
ScenarioHeaderMetaData |
getPropertyHeaderMetaData() |
boolean |
isEditableHeaders() |
boolean |
isInstanceAssigned() |
boolean |
isPropertyAssigned() |
boolean |
isReadOnly()
Dynamically evaluated status to know if the values of the given column are editable or not
|
void |
setEditableHeaders(boolean editableHeaders)
Set to
false to prevent/avoid header editing |
void |
setFactIdentifier(FactIdentifier factIdentifier) |
void |
setFactory(org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,? extends com.google.gwt.user.client.ui.Widget,? extends org.uberfire.ext.wires.core.grids.client.widget.dom.impl.BaseDOMElement<String,? extends com.google.gwt.user.client.ui.Widget>> factory)
Set the factory used for creation of the editing
DOMElement |
void |
setInstanceAssigned(boolean instanceAssigned)
Set to
true if an instance has been assigned, false otherwise. |
void |
setPlaceHolder(String placeHolder) |
void |
setPropertyAssigned(boolean propertyAssigned)
Set to
true if a property has been assigned, false otherwise. |
String |
toString() |
equals, getColumnRenderer, getColumnWidthMode, getHeaderMetaData, getIndex, getLink, getMaximumWidth, getMinimumWidth, getWidth, hashCode, isFloatable, isLinked, isMovable, isResizable, isVisible, setColumnWidthMode, setFloatable, setIndex, setLink, setMaximumWidth, setMinimumWidth, setMovable, setResizable, setVisible, setWidthprotected final ScenarioHeaderMetaData informationHeaderMetaData
protected final ScenarioHeaderMetaData propertyHeaderMetaData
protected boolean instanceAssigned
false on instantiationprotected boolean propertyAssigned
false on instantiationprotected boolean editableHeaders
true on instantiationprotected FactIdentifier factIdentifier
FactIdentifier mapped to this column; default to FactIdentifier.EMPTYpublic ScenarioGridColumn(List<org.uberfire.ext.wires.core.grids.client.model.GridColumn.HeaderMetaData> headerMetaData, org.uberfire.ext.wires.core.grids.client.widget.grid.renderers.columns.GridColumnRenderer<String> columnRenderer, double width, boolean isMovable, org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,? extends com.google.gwt.user.client.ui.Widget,? extends org.uberfire.ext.wires.core.grids.client.widget.dom.impl.BaseDOMElement<String,? extends com.google.gwt.user.client.ui.Widget>> factory, String placeHolder)
public void edit(org.uberfire.ext.wires.core.grids.client.model.GridCell<String> cell, org.uberfire.ext.wires.core.grids.client.widget.context.GridBodyCellRenderContext context, Consumer<org.uberfire.ext.wires.core.grids.client.model.GridCellValue<String>> callback)
public void setFactory(org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,? extends com.google.gwt.user.client.ui.Widget,? extends org.uberfire.ext.wires.core.grids.client.widget.dom.impl.BaseDOMElement<String,? extends com.google.gwt.user.client.ui.Widget>> factory)
DOMElementfactory - public boolean isReadOnly()
public boolean isInstanceAssigned()
public void setInstanceAssigned(boolean instanceAssigned)
true if an instance has been assigned, false otherwise.
Setting this to false automatically set to false also propertyAssignedinstanceAssigned - public boolean isPropertyAssigned()
public void setPropertyAssigned(boolean propertyAssigned)
true if a property has been assigned, false otherwise.
Setting this to true automatically set to true also instanceAssignedpropertyAssigned - public boolean isEditableHeaders()
public void setEditableHeaders(boolean editableHeaders)
false to prevent/avoid header editingeditableHeaders - public void setPlaceHolder(String placeHolder)
setPlaceHolder in class org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridColumn<String>public ScenarioHeaderMetaData getInformationHeaderMetaData()
public ScenarioHeaderMetaData getPropertyHeaderMetaData()
public String getPlaceHolder()
getPlaceHolder in class org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridColumn<String>public FactIdentifier getFactIdentifier()
public void setFactIdentifier(FactIdentifier factIdentifier)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.