public class AttributesLocationFrame extends AbstractFrame
Modifier and Type | Class and Description |
---|---|
static interface |
AttributesLocationFrame.Companion |
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 java.util.List<DataGrid<CategoryAttribute>> |
childComponents |
protected LookupField<java.lang.Integer> |
columnsCountLookupField |
protected AttributesLocationFrame.Companion |
companion |
protected GlobalConfig |
config |
protected java.util.List<java.util.List<CategoryAttribute>> |
dataContainers |
static java.lang.String |
EMPTY_ATTRIBUTE_NAME |
protected HBoxLayout |
hBox |
protected Metadata |
metadata |
protected MetadataTools |
metadataTools |
protected int[] |
rowsCounts |
protected java.util.List<CategoryAttribute> |
sourceDataContainer |
protected DataGrid<CategoryAttribute> |
sourceDataGrid |
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 |
---|
AttributesLocationFrame() |
Modifier and Type | Method and Description |
---|---|
protected void |
addColumn(int index,
int elementsCount) |
protected DataGrid<CategoryAttribute> |
createDataGrid(int i) |
protected CategoryAttribute |
createEmptyAttribute() |
protected java.util.List<java.lang.Integer> |
getLookupOptionsList() |
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 |
initTargetGrids(int columnsCount) |
protected void |
removeColumn(int index) |
void |
saveCoordinates() |
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, validate, validate, validateAll
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
public static java.lang.String EMPTY_ATTRIBUTE_NAME
@Inject protected UiComponents uiComponents
@Inject protected MetadataTools metadataTools
@Inject protected Metadata metadata
@Inject protected GlobalConfig config
@Inject protected DataGrid<CategoryAttribute> sourceDataGrid
@Inject protected LookupField<java.lang.Integer> columnsCountLookupField
@Inject protected HBoxLayout hBox
protected java.util.List<CategoryAttribute> sourceDataContainer
protected java.util.List<java.util.List<CategoryAttribute>> dataContainers
protected java.util.List<DataGrid<CategoryAttribute>> childComponents
protected int[] rowsCounts
protected AttributesLocationFrame.Companion companion
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 void initTargetGrids(int columnsCount)
protected void addColumn(int index, int elementsCount)
protected void removeColumn(int index)
protected DataGrid<CategoryAttribute> createDataGrid(int i)
protected CategoryAttribute createEmptyAttribute()
protected java.util.List<java.lang.Integer> getLookupOptionsList()
public void saveCoordinates()