Class TableCellConsumerFactoryAdapter
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.nasdanika.html.model.html.gen.HtmlElementAdapter<M,T>
-
- org.nasdanika.html.model.html.gen.HtmlElementConsumerFactoryAdapter<M,HTMLElement<?>>
-
- org.nasdanika.html.model.bootstrap.gen.BootstrapElementConsumerFactoryAdapter<TableCell,RowContainer.Row>
-
- org.nasdanika.html.model.bootstrap.gen.TableCellConsumerFactoryAdapter
-
- All Implemented Interfaces:
Adapter,Adapter.Internal,ConsumerFactory<HTMLElement<?>>,ContextualFactory<Consumer<HTMLElement<?>>>,ExecutionParticipantFactory<Consumer<HTMLElement<?>>>,Factory<Context,Consumer<HTMLElement<?>>>
public class TableCellConsumerFactoryAdapter extends BootstrapElementConsumerFactoryAdapter<TableCell,RowContainer.Row>
Adds a cell to the consumed row.- Author:
- Pavel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
Nested classes/interfaces inherited from interface org.nasdanika.common.ConsumerFactory
ConsumerFactory.Provider
-
-
Field Summary
-
Fields inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
adapterFactory
-
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
-
-
Constructor Summary
Constructors Constructor Description TableCellConsumerFactoryAdapter(TableCell tableCell, AdapterFactory adapterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Function<HTMLElement<?>,HTMLElement<?>>createConfigureFunction(Context context)protected Function<RowContainer.Row,RowContainer.Row.Cell>createTableCellFunction(Context context)TakesRowContainer, creates a row, configures and returns for passing to cell consumers.-
Methods inherited from class org.nasdanika.html.model.bootstrap.gen.BootstrapElementConsumerFactoryAdapter
getWrapper, toHTMLElement
-
Methods inherited from class org.nasdanika.html.model.html.gen.HtmlElementConsumerFactoryAdapter
build, create, createConsumer, isAdapterForType
-
Methods inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
createApplyAttributesAndContentFunction, getContent, getRegisteredAdapter, getRootAdapterFactory, getTarget
-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged, setTarget, unsetTarget
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nasdanika.common.ConsumerFactory
asBiSupplierFunctionFactory, asFunctionFactory, contextify
-
-
-
-
Constructor Detail
-
TableCellConsumerFactoryAdapter
public TableCellConsumerFactoryAdapter(TableCell tableCell, AdapterFactory adapterFactory)
-
-
Method Detail
-
createConfigureFunction
protected Function<HTMLElement<?>,HTMLElement<?>> createConfigureFunction(Context context) throws Exception
- Overrides:
createConfigureFunctionin classBootstrapElementConsumerFactoryAdapter<TableCell,RowContainer.Row>- Throws:
Exception
-
createTableCellFunction
protected Function<RowContainer.Row,RowContainer.Row.Cell> createTableCellFunction(Context context)
TakesRowContainer, creates a row, configures and returns for passing to cell consumers.- Parameters:
context-- Returns:
- Row instance to pass to cell consumers.
-
-