public class ConsumerFactory extends Object
Constructor and Description |
---|
ConsumerFactory() |
Modifier and Type | Method and Description |
---|---|
static <T,W extends org.gwtbootstrap3.client.ui.TextBox,E extends SingleValueDOMElement<T,W>,F extends SingleValueSingletonDOMElementFactory<T,W,E>> |
makeOnCreationCallback(F factory,
org.uberfire.ext.wires.core.grids.client.model.GridCell<T> cell)
Callback to set the value of a TextBox based on the Cells value.
|
static <T,W extends org.gwtbootstrap3.client.ui.ListBox,E extends MultiValueDOMElement<T,W>,F extends MultiValueSingletonDOMElementFactory<T,W,E>> |
makeOnCreationCallback(F factory,
org.uberfire.ext.wires.core.grids.client.model.GridCell<T> cell,
Map<String,String> enumLookups)
Callback to select an item in a ListBox based on the Cells value.
|
static <E extends SingleValueDOMElement<Date,org.uberfire.ext.widgets.common.client.common.DatePicker>> |
makeOnCreationCallback(org.uberfire.ext.wires.core.grids.client.model.GridCell<Date> cell)
Callback to set the value of a DatePicker based on the Cells value.
|
static <E extends SingleValueDOMElement<Date,org.uberfire.ext.widgets.common.client.common.DatePicker>> |
makeOnDisplayDatePickerCallback()
Callback to set the Focus on the DatePicker.
|
static <T,W extends org.gwtbootstrap3.client.ui.ListBox,E extends MultiValueDOMElement<T,W>> |
makeOnDisplayListBoxCallback()
Callback to set the Focus on the ListBox.
|
static <T,W extends org.gwtbootstrap3.client.ui.TextBox,E extends SingleValueDOMElement<T,W>> |
makeOnDisplayTextBoxCallback()
Callback to set the Focus on the TextBox.
|
public static <T,W extends org.gwtbootstrap3.client.ui.TextBox,E extends SingleValueDOMElement<T,W>,F extends SingleValueSingletonDOMElementFactory<T,W,E>> Consumer<E> makeOnCreationCallback(F factory, org.uberfire.ext.wires.core.grids.client.model.GridCell<T> cell)
factory
- Factory that can convert Cells' values to String.cell
- The Cell to be rendered.public static <T,W extends org.gwtbootstrap3.client.ui.TextBox,E extends SingleValueDOMElement<T,W>> Consumer<E> makeOnDisplayTextBoxCallback()
public static <T,W extends org.gwtbootstrap3.client.ui.ListBox,E extends MultiValueDOMElement<T,W>,F extends MultiValueSingletonDOMElementFactory<T,W,E>> Consumer<E> makeOnCreationCallback(F factory, org.uberfire.ext.wires.core.grids.client.model.GridCell<T> cell, Map<String,String> enumLookups)
factory
- Factory that can convert Cells' values to String.cell
- The Cell to be rendered.public static <T,W extends org.gwtbootstrap3.client.ui.ListBox,E extends MultiValueDOMElement<T,W>> Consumer<E> makeOnDisplayListBoxCallback()
public static <E extends SingleValueDOMElement<Date,org.uberfire.ext.widgets.common.client.common.DatePicker>> Consumer<E> makeOnCreationCallback(org.uberfire.ext.wires.core.grids.client.model.GridCell<Date> cell)
cell
- The Cell to be rendered.public static <E extends SingleValueDOMElement<Date,org.uberfire.ext.widgets.common.client.common.DatePicker>> Consumer<E> makeOnDisplayDatePickerCallback()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.