| Modifier and Type | Field and Description |
|---|---|
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(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,
ScenarioCellTextAreaSingletonDOMElementFactory factory,
String placeHolder) |
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,
ScenarioCellTextAreaSingletonDOMElementFactory 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 |
isInstanceAssigned() |
boolean |
isPropertyAssigned() |
boolean |
isReadOnly()
Dynamically evaluated status to know if the values of the given column are editable or not
|
void |
setFactIdentifier(FactIdentifier factIdentifier) |
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, getHeaderMetaData, getIndex, getLink, getMaximumWidth, getMinimumWidth, getWidth, hashCode, isFloatable, isLinked, isMovable, isResizable, isVisible, 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 FactIdentifier factIdentifier
FactIdentifier mapped to this column; default to FactIdentifier.EMPTYpublic ScenarioGridColumn(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,
ScenarioCellTextAreaSingletonDOMElementFactory factory,
String placeHolder)
public 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, ScenarioCellTextAreaSingletonDOMElementFactory 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 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 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–2018 JBoss by Red Hat. All rights reserved.