Interface IChartReferenceLineGridModel
-
- All Superinterfaces:
IEditableModel
,IGridModel<IndexedChartReferenceLine>
,IModel
,IModelApiAwareModel
,IValidable
- All Known Implementing Classes:
DcsChartReferenceLineGridModel
public interface IChartReferenceLineGridModel extends IGridModel<IndexedChartReferenceLine>, IModelApiAwareModel
Interface for model for chart reference line in grid.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChartReferenceLine
addReferenceLine()
Creates new chart reference line and adds it to array.Chart
getChart()
Gets the chart object.IEditingLanguageManager
getLanguageManager()
Gets the language manager.IV8Project
getProject()
Gets the project.ChartReferenceLines
getReferenceLines()
Gets the modelled chart reference line.boolean
isReadOnly()
Checks if this model is read only.void
removeReferenceLine(ChartReferenceLine referenceLine)
Removes chart reference line from array.-
Methods inherited from interface com._1c.g5.aef2.models.IEditableModel
isEditable, setEditable
-
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.models.IGridModel
getChildren, getElements, getParent, getSelectedElementModel, hasChildren
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.v8.dt.aef2.IModelApiAwareModel
getModelApi, setModelApi
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Method Detail
-
addReferenceLine
ChartReferenceLine addReferenceLine()
Creates new chart reference line and adds it to array.- Returns:
- The created chart reference line
-
getLanguageManager
IEditingLanguageManager getLanguageManager()
Gets the language manager.- Returns:
- The language manager, never
null
-
getReferenceLines
ChartReferenceLines getReferenceLines()
Gets the modelled chart reference line.- Returns:
- The chart reference line array, never
null
-
isReadOnly
boolean isReadOnly()
Checks if this model is read only.- Returns:
true
if this model is read only
-
removeReferenceLine
void removeReferenceLine(ChartReferenceLine referenceLine)
Removes chart reference line from array.- Parameters:
referenceLine
- the chart reference line for removal
-
getProject
IV8Project getProject()
Gets the project.- Returns:
- The project, never
null
-
getChart
Chart getChart()
Gets the chart object.- Returns:
- the chart, never
null
-
-