public abstract class AbstractLocalizedTextFieldsFrame extends AbstractFrame
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
Frame.MessageMode, Frame.MessageType, Frame.NotificationType, Frame.Wrapper
ExpandingLayout.ExpandDirection
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider
Modifier and Type | Field and Description |
---|---|
protected Actions |
actions |
protected CollectionContainer<AttributeLocaleData> |
collectionContainer |
protected DataGrid<AttributeLocaleData> |
dataGrid |
protected static java.lang.String |
DESCRIPTION |
protected GlobalConfig |
globalConfig |
protected static java.lang.String |
LANGUAGE_WITH_CODE |
protected MessageTools |
messageTools |
protected Metadata |
metadata |
protected MetadataTools |
metadataTools |
protected static java.lang.String |
NAME |
protected Notifications |
notifications |
protected UiComponents |
uiComponents |
frame, messages
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Constructor and Description |
---|
AbstractLocalizedTextFieldsFrame() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
configureColumns(DataGrid<AttributeLocaleData> dataGrid) |
protected abstract void |
createColumns(DataGrid<AttributeLocaleData> dataGrid) |
protected DataGridItems<AttributeLocaleData> |
getDataGridItems(java.util.Map<java.lang.String,java.util.Locale> map) |
protected java.lang.String |
getValues(java.lang.String paramName) |
void |
init(java.util.Map<java.lang.String,java.lang.Object> params)
Called by the framework after creation of all components and before showing the screen.
|
protected void |
initEditAction(DataGrid<AttributeLocaleData> dataGrid) |
protected void |
setColumnDescriptionProvider(DataGrid.Column<AttributeLocaleData> column,
java.lang.String paramName) |
protected void |
setValues(java.lang.String localeBundle,
java.lang.String paramName) |
add, add, addAction, addAction, addFacet, addStyleName, dispose, expand, expand, formatMessage, getAction, getActions, getAlignment, getCaption, getCompanion, getComponent, getComponent, getComponent, getComponents, getComposition, getContext, getDescription, getDsContext, getExpandDirection, getExpandRatio, getFacet, getFacets, getFrame, getFrameOwner, getHeight, getHeightSizeUnit, getIcon, getMargin, getMessage, getMessagesPack, getOwnComponent, getOwnComponents, getOwnComponentsStream, getParent, getSpacing, getStyleName, getWidth, getWidthSizeUnit, getWindowManager, getWrappedFrame, indexOf, init, isEnabled, isEnabledRecursive, isExpanded, isResponsive, isValid, isVisible, isVisibleRecursive, remove, removeAction, removeAction, removeAll, removeAllActions, removeFacet, removeStyleName, resetExpanded, setAlignment, setCaption, setCompanion, setDescription, setDsContext, setEnabled, setExpandRatio, setFragment, setFrame, setHeight, setIcon, setIconFromSet, setId, setMargin, setMessagesPack, setParent, setResponsive, setSpacing, setStyleName, setVisible, setWidth, setWrappedFrame, showValidationErrors, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, validate, validate, validateAll, withUnwrapped, withUnwrappedComposition
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getBeanLocator, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setBeanLocator, setExtensions, setHostController, setScreenData, setUiEventListeners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFacetNN
getXmlDescriptor, setXmlDescriptor
getActionNN, getSubPart
getComponentNN
add, focusFirstComponent, getComponentNN, remove
getHeightUnits, getId, getWidthUnits, isEnabledItself, isVisibleItself, requestFocus, setHeightAuto, setHeightFull, setSizeAuto, setSizeFull, setWidthAuto, setWidthFull
openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openFrame, openFrame, openLookup, openLookup, openLookup, openLookup, openWindow, openWindow, showMessageDialog, showNotification, showNotification, showNotification, showOptionDialog, showOptionDialog, showWebPage
@Inject protected GlobalConfig globalConfig
@Inject protected UiComponents uiComponents
@Inject protected Actions actions
@Inject protected Notifications notifications
@Inject protected Metadata metadata
@Inject protected MetadataTools metadataTools
@Inject protected MessageTools messageTools
protected static java.lang.String LANGUAGE_WITH_CODE
protected static java.lang.String NAME
protected static java.lang.String DESCRIPTION
protected CollectionContainer<AttributeLocaleData> collectionContainer
protected DataGrid<AttributeLocaleData> dataGrid
public void init(java.util.Map<java.lang.String,java.lang.Object> params)
AbstractFrame
init
in class AbstractFrame
params
- parameters passed from caller's code, usually from
HasWindowManager.openWindow(String, WindowManager.OpenType)
and similar methods, or set in
screens.xml
for this registered screenprotected DataGridItems<AttributeLocaleData> getDataGridItems(java.util.Map<java.lang.String,java.util.Locale> map)
protected void initEditAction(DataGrid<AttributeLocaleData> dataGrid)
protected void setColumnDescriptionProvider(DataGrid.Column<AttributeLocaleData> column, @Nullable java.lang.String paramName)
protected void setValues(java.lang.String localeBundle, java.lang.String paramName)
protected java.lang.String getValues(java.lang.String paramName)
protected abstract void createColumns(DataGrid<AttributeLocaleData> dataGrid)
protected abstract void configureColumns(DataGrid<AttributeLocaleData> dataGrid)