Class SpecificConfigComponent<T extends SpecificConfig>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
software.xdev.vaadin.grid_exporter.format.SpecificConfigComponent<T>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,Serializable,Translator
- Direct Known Subclasses:
CSVSeparatorConfigComponent,EncodingConfigComponent,HeaderConfigComponent,HighlightConfigComponent,PageConfigComponent,TitleConfigComponent
public abstract class SpecificConfigComponent<T extends SpecificConfig>
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
implements Translator
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.data.binder.Binder<T>protected final Stringprotected final Translator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSpecificConfigComponent(Translator translator, Supplier<T> newConfigSupplier, String headerToTranslate) -
Method Summary
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContentMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
translator
-
newConfigSupplier
-
header
-
binder
-
-
Constructor Details
-
SpecificConfigComponent
protected SpecificConfigComponent(Translator translator, Supplier<T> newConfigSupplier, String headerToTranslate)
-
-
Method Details
-
getNewConfigSupplier
-
getHeader
-
updateFrom
-
getBean
-
isValid
public boolean isValid() -
translate
- Specified by:
translatein interfaceTranslator- Parameters:
key- to translate- Returns:
- translated String
-