Class ChartScaleDetailedModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.CompoundModel
-
- com._1c.g5.v8.dt.form.ui.chart.aef.models.ChartScaleDetailedModel
-
- All Implemented Interfaces:
ICompoundModel
,IModel
,IValidable
,IModelApiAwareModel
,IChartScaleDetailedModel
public class ChartScaleDetailedModel extends CompoundModel implements IChartScaleDetailedModel
Detailed model forChartScale
.
-
-
Constructor Summary
Constructors Constructor Description ChartScaleDetailedModel(ChartScale chartScale, Version version, IV8Project v8project, IEditingLanguageManager languageManager, IModelEditingSupport modelEditingSupport, IColorProvider colorProvider, IFontProvider fontProvider, IModelObjectFactory chartObjectsFactory, IBorderProvider borderProvider)
The contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartScale
getChartScale()
Gets chart scale.IColorModel
getGridLineColorValue()
Gets model value for editing chart scale's "grid line color" property.IValue<GridLinesShowMode>
getGridLinesShowModeValue()
Gets model value for editing chart scale's "grid lines show mode" property.com._1c.g5.v8.dt.form.ui.internal.chart.aef.models.IChartLineModel
getGridLineValue()
Gets model value for editing chart scale's "grid line" property.IValue<Integer>
getLabelAngleValue()
Gets model value for editing chart scale's "label angle" property.IColorModel
getLabelColorValue()
Gets model value for editing chart scale's "label color" property.IFontSelectionModel
getLabelFontValue()
Gets model value for editing chart scale's "label font" property.IMultilanguageModel
getLabelFormatValue()
Gets model value for editing chart scale's "label format" property.IValue<LabelsOrientation>
getLabelOrientationValue()
Gets model value for editing chart scale's "label orientation" property.IValue<Integer>
getMaxLabelLinesValue()
Gets model value for editing chart scale's "max label lines" property.IModelApi
getModelApi()
Returns the model API.IValue<ScaleLabelLocation>
getScaleLabelLocationValue()
Gets model value for editing chart scale's "scale label position" property.IColorModel
getScaleLineColorValue()
Gets model value for editing chart scale's "scale line color" property.com._1c.g5.v8.dt.form.ui.internal.chart.aef.models.IChartLineModel
getScaleLineValue()
Gets model value for editing chart scale's "scale line" property.IValue<ScaleLocation>
getScaleLocationValue()
Gets model value for editing chart scale's "scale position" property.IValue<ScaleMarkLocation>
getScaleMarkLocationValue()
Gets model value for editing chart scale's "scale mark position" property.IValue<Integer>
getScaleStepValue()
Gets model value for editing chart scale's "scale step" property.IValue<ShowOnChart>
getShowInChart()
Gets model value for editing chart scale's "show in chart" property.IValue<ShowChartScaleTitle>
getShowTitleValue()
Gets model value for editing chart scale's "show title" property.com._1c.g5.v8.dt.form.ui.internal.chart.aef.models.labelarea.ILabelAreaModel
getTitleAreaValue()
Gets model value for editing chart scale's "title area" property.IValue<ScaleTitlePlacement>
getTitlePlacementValue()
Gets model value for editing chart scale's "title placement" property.IValue<ScaleTitleTextSource>
getTitleTextSourceValue()
Gets model value for editing chart scale's "title text source" property.IMultilanguageModel
getTitleTextValue()
Gets model value for editing chart scale's "title text" property.Version
getVersion()
Gets the version.void
setModelApi(IModelApi modelApi)
Sets the specified API to the model.-
Methods inherited from class com._1c.g5.aef2.models.CompoundModel
addModel, dispose, getChange, getModels, isOnline, setComponent, validate
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, notifyModelChanged, notifyModelCommitted, removeModelListener, setOnline, toString
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.models.ICompoundModel
getModels
-
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.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Constructor Detail
-
ChartScaleDetailedModel
public ChartScaleDetailedModel(ChartScale chartScale, Version version, IV8Project v8project, IEditingLanguageManager languageManager, IModelEditingSupport modelEditingSupport, IColorProvider colorProvider, IFontProvider fontProvider, IModelObjectFactory chartObjectsFactory, IBorderProvider borderProvider)
The contructor.- Parameters:
chartScale
- the chart scale, cannot be {code null}.version
- the version, cannot be {code null}.v8project
- the project, cannot be {code null}.languageManager
- the language manager, cannot be {code null}.modelEditingSupport
- the model editing support, cannot be {code null}.colorProvider
- the color provider, cannot be {code null}.fontProvider
- the font provider, cannot be {code null}.chartObjectsFactory
- the charts objects factory, cannot benull
.borderProvider
- the border provider, cannot be {code null}.
-
-
Method Detail
-
getChartScale
public ChartScale getChartScale()
Description copied from interface:IChartScaleDetailedModel
Gets chart scale.- Specified by:
getChartScale
in interfaceIChartScaleDetailedModel
- Returns:
- the chart scale.
-
getModelApi
public IModelApi getModelApi()
Description copied from interface:IModelApiAwareModel
Returns the model API.- Specified by:
getModelApi
in interfaceIModelApiAwareModel
- Returns:
- the model API or
null
if it is not set.
-
getGridLineColorValue
public IColorModel getGridLineColorValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "grid line color" property. (since version 8.3.11)- Specified by:
getGridLineColorValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getGridLineValue
public com._1c.g5.v8.dt.form.ui.internal.chart.aef.models.IChartLineModel getGridLineValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "grid line" property. (since version 8.3.11)- Specified by:
getGridLineValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getLabelAngleValue
public IValue<Integer> getLabelAngleValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "label angle" property. (since version 8.3.11)- Specified by:
getLabelAngleValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getLabelColorValue
public IColorModel getLabelColorValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "label color" property. (since version 8.3.11)- Specified by:
getLabelColorValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getLabelFontValue
public IFontSelectionModel getLabelFontValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "label font" property. (since version 8.3.11)- Specified by:
getLabelFontValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getLabelFormatValue
public IMultilanguageModel getLabelFormatValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "label format" property. (since version 8.3.11)- Specified by:
getLabelFormatValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getLabelOrientationValue
public IValue<LabelsOrientation> getLabelOrientationValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "label orientation" property. (since version 8.3.11)- Specified by:
getLabelOrientationValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getMaxLabelLinesValue
public IValue<Integer> getMaxLabelLinesValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "max label lines" property. (since version 8.3.11)- Specified by:
getMaxLabelLinesValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getScaleLabelLocationValue
public IValue<ScaleLabelLocation> getScaleLabelLocationValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "scale label position" property. (since version 8.3.11)- Specified by:
getScaleLabelLocationValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getScaleLineColorValue
public IColorModel getScaleLineColorValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "scale line color" property. (since version 8.3.11)- Specified by:
getScaleLineColorValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getScaleLineValue
public com._1c.g5.v8.dt.form.ui.internal.chart.aef.models.IChartLineModel getScaleLineValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "scale line" property. (since version 8.3.11)- Specified by:
getScaleLineValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getScaleMarkLocationValue
public IValue<ScaleMarkLocation> getScaleMarkLocationValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "scale mark position" property. (since version 8.3.11)- Specified by:
getScaleMarkLocationValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getShowInChart
public IValue<ShowOnChart> getShowInChart()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "show in chart" property. (since version 8.3.11)- Specified by:
getShowInChart
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getScaleLocationValue
public IValue<ScaleLocation> getScaleLocationValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "scale position" property. (since version 8.3.11)- Specified by:
getScaleLocationValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getScaleStepValue
public IValue<Integer> getScaleStepValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "scale step" property. (since version 8.3.11)- Specified by:
getScaleStepValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getGridLinesShowModeValue
public IValue<GridLinesShowMode> getGridLinesShowModeValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "grid lines show mode" property. (since version 8.3.11)- Specified by:
getGridLinesShowModeValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getShowTitleValue
public IValue<ShowChartScaleTitle> getShowTitleValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "show title" property.- Specified by:
getShowTitleValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getTitleAreaValue
public com._1c.g5.v8.dt.form.ui.internal.chart.aef.models.labelarea.ILabelAreaModel getTitleAreaValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "title area" property.- Specified by:
getTitleAreaValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getTitlePlacementValue
public IValue<ScaleTitlePlacement> getTitlePlacementValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "title placement" property.- Specified by:
getTitlePlacementValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getTitleTextSourceValue
public IValue<ScaleTitleTextSource> getTitleTextSourceValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "title text source" property.- Specified by:
getTitleTextSourceValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getTitleTextValue
public IMultilanguageModel getTitleTextValue()
Description copied from interface:IChartScaleDetailedModel
Gets model value for editing chart scale's "title text" property.- Specified by:
getTitleTextValue
in interfaceIChartScaleDetailedModel
- Returns:
- model value.
-
getVersion
public Version getVersion()
Description copied from interface:IChartScaleDetailedModel
Gets the version.- Specified by:
getVersion
in interfaceIChartScaleDetailedModel
- Returns:
- the version.
-
setModelApi
public void setModelApi(IModelApi modelApi)
Description copied from interface:IModelApiAwareModel
Sets the specified API to the model.- Specified by:
setModelApi
in interfaceIModelApiAwareModel
- Parameters:
modelApi
- the API, can benull
.
-
-