Class DcsChartReferenceLineGridComponent
- 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<ChartReferenceLineGridItem,IndexedChartReferenceLine,IChartReferenceLineGridModel,ChartReferenceLine>
-
- com._1c.g5.v8.dt.form.ui.chart.aef.components.reference.ChartReferenceLineGridComponent
-
- com._1c.g5.v8.dt.dcs.ui.aef.component.chart.reference.DcsChartReferenceLineGridComponent
-
- All Implemented Interfaces:
IComponent<IChartReferenceLineGridModel>
,IEventChannel
public class DcsChartReferenceLineGridComponent extends ChartReferenceLineGridComponent
Grid component forChartReferenceLine
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description DcsChartReferenceLineGridComponent(IChartReferenceParameterization referenceLineParameterization)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValueComponent
createValueComponent(IndexedChartReference<ChartReferenceLine> 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(ChartReferenceLineGridItem item)
Post process item after it fields was set.-
Methods inherited from class com._1c.g5.v8.dt.form.ui.chart.aef.components.reference.ChartReferenceLineGridComponent
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
-
DcsChartReferenceLineGridComponent
public DcsChartReferenceLineGridComponent(IChartReferenceParameterization referenceLineParameterization)
The constructor.- Parameters:
referenceLineParameterization
- the chart reference line dialog parameterization, cannot benull
-
-
Method Detail
-
createValueComponent
protected ValueComponent createValueComponent(IndexedChartReference<ChartReferenceLine> 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<ChartReferenceLineGridItem,IndexedChartReferenceLine,IChartReferenceLineGridModel,ChartReferenceLine>
- 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:ChartReferenceLineGridComponent
Returns grid columns count.- Overrides:
getColumnsCount
in classChartReferenceLineGridComponent
- Returns:
- grid columns count.
-
getComponentIndex
protected int getComponentIndex(int columnIndex, int rowIndex)
Description copied from class:ChartReferenceLineGridComponent
Returns index of component in given column and row.- Overrides:
getComponentIndex
in classChartReferenceLineGridComponent
- Parameters:
columnIndex
- - column index.rowIndex
- - row index.- Returns:
- index of component in given column and row.
-
postProcessItem
protected void postProcessItem(ChartReferenceLineGridItem item)
Description copied from class:ChartReferenceLineGridComponent
Post process item after it fields was set.- Overrides:
postProcessItem
in classChartReferenceLineGridComponent
- Parameters:
item
- - item to process. Cannot benull
.
-
-