Class DcsChartReferenceBandGridComponent
- java.lang.Object
-
- com._1c.g5.aef2.components.Component<M,P>
-
- com._1c.g5.aef2.standard.components.StandardComponent<M,P>
-
- com._1c.g5.aef2.standard.components.AbstractControlComponent<M,P,GridViewModel>
-
- com._1c.g5.v8.dt.ui.aef.component.AbstractGridComponent<T,ME,M,VoidParameterization>
-
- com._1c.g5.v8.dt.form.ui.internal.chart.aef.components.reference.AbstractChartReferenceGridComponent<ChartReferenceBandGridItem,IndexedChartReferenceBand,IChartReferenceBandGridModel,ChartReferenceBand>
-
- com._1c.g5.v8.dt.form.ui.chart.aef.components.reference.ChartReferenceBandGridComponent
-
- com._1c.g5.v8.dt.dcs.ui.aef.component.chart.reference.DcsChartReferenceBandGridComponent
-
- All Implemented Interfaces:
IComponent<IChartReferenceBandGridModel>
,IEventChannel
public class DcsChartReferenceBandGridComponent extends ChartReferenceBandGridComponent
Grid component forChartReferenceBand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description DcsChartReferenceBandGridComponent(IChartReferenceParameterization referenceBandParameterization)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValueComponent
createValueComponent(IndexedChartReference<ChartReferenceBand> element, org.eclipse.emf.ecore.EStructuralFeature feature)
Creates component forValue
.protected int
getColumnsCount()
Returns grid columns count.protected int
getComponentIndex(int columnIndex, int rowIndex)
Returns index of component in given column and row.protected void
postProcessItem(ChartReferenceBandGridItem item)
Post process item after it fields was set.-
Methods inherited from class com._1c.g5.v8.dt.form.ui.chart.aef.components.reference.ChartReferenceBandGridComponent
createColumnStructure, createComponent, createContentProvider, dispose, getLanguageCode, setEditingContextTo
-
Methods inherited from class com._1c.g5.v8.dt.form.ui.internal.chart.aef.components.reference.AbstractChartReferenceGridComponent
createColorComponent, createEditableCombo, createEnumComponent, createEquationAreaComponent, createLineStyleComponent, createSpinnerComponent, createTextComponent, getDialogType, newColumn
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractGridComponent
createColumn, createColumn, createControlViewModel, createGridInput, disposeViewModels, getItemByModelElement, getModelElementByItem, handleCellDisposalEvent, handleCheckBoxCellEvent, refreshGrid, refreshGridItem
-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
createViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, disposeComponents, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
-
-
-
-
Constructor Detail
-
DcsChartReferenceBandGridComponent
public DcsChartReferenceBandGridComponent(IChartReferenceParameterization referenceBandParameterization)
The constructor.- Parameters:
referenceBandParameterization
- chart reference band dialog parameterization, cannot benull
-
-
Method Detail
-
createValueComponent
protected ValueComponent createValueComponent(IndexedChartReference<ChartReferenceBand> element, org.eclipse.emf.ecore.EStructuralFeature feature)
Description copied from class:com._1c.g5.v8.dt.form.ui.internal.chart.aef.components.reference.AbstractChartReferenceGridComponent
Creates component forValue
.- Overrides:
createValueComponent
in classcom._1c.g5.v8.dt.form.ui.internal.chart.aef.components.reference.AbstractChartReferenceGridComponent<ChartReferenceBandGridItem,IndexedChartReferenceBand,IChartReferenceBandGridModel,ChartReferenceBand>
- Parameters:
element
- the indexed chart reference line / band, cannot benull
feature
- the feature corresponding to the component, cannot benull
- Returns:
- the Value component, never
null
-
getColumnsCount
protected int getColumnsCount()
Description copied from class:ChartReferenceBandGridComponent
Returns grid columns count.- Overrides:
getColumnsCount
in classChartReferenceBandGridComponent
- Returns:
- grid columns count.
-
getComponentIndex
protected int getComponentIndex(int columnIndex, int rowIndex)
Description copied from class:ChartReferenceBandGridComponent
Returns index of component in given column and row.- Overrides:
getComponentIndex
in classChartReferenceBandGridComponent
- Parameters:
columnIndex
- - column index.rowIndex
- - row index.- Returns:
- index of component in given column and row.
-
postProcessItem
protected void postProcessItem(ChartReferenceBandGridItem item)
Description copied from class:ChartReferenceBandGridComponent
Post process item after it fields was set.- Overrides:
postProcessItem
in classChartReferenceBandGridComponent
- Parameters:
item
- - item to process. Cannot benull
.
-
-