Class ChartColorPaletteDescriptionDetailedModel
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.ChartColorPaletteDescriptionDetailedModel
- All Implemented Interfaces:
ICompoundModel
,IModel
,IValidable
,IChartColorPaletteDescriptionDetailedModel
public class ChartColorPaletteDescriptionDetailedModel
extends CompoundModel
implements IChartColorPaletteDescriptionDetailedModel
Detailed model for
ChartColorPaletteDescription
.-
Constructor Summary
ConstructorsConstructorDescriptionChartColorPaletteDescriptionDetailedModel
(ChartColorPaletteDescription description, IColorProvider colorProvider, IV8Project v8project, org.eclipse.emf.ecore.EStructuralFeature feature, IChartPaletteColorsProvider paletteColorsProvider, IEditingLanguageManager languageManager) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the chart color palette description.Returns custom palette colors.org.eclipse.emf.ecore.EStructuralFeature
Returns corresponding feature.Returns end color for gradient palette.Returns count of the gradient colors.Returns start color for gradient palette.Returns chart palette colors provider.Returns palette kind.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 Details
-
ChartColorPaletteDescriptionDetailedModel
public ChartColorPaletteDescriptionDetailedModel(ChartColorPaletteDescription description, IColorProvider colorProvider, IV8Project v8project, org.eclipse.emf.ecore.EStructuralFeature feature, IChartPaletteColorsProvider paletteColorsProvider, IEditingLanguageManager languageManager) The constructor.- Parameters:
description
- the chart color palette description, cannot benull
v8project
- the project, cannot benull
colorProvider
- the color provider, cannot benull
feature
- the feature forChartColorPaletteDescription
, cannot benull
paletteColorsProvider
- the chart palette colors provider, cannot benull
languageManager
- the language manager, cannot benull
-
-
Method Details
-
getPaletteKind
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns palette kind.- Specified by:
getPaletteKind
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- palette kind, never
null
-
getGradientPaletteStartColor
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns start color for gradient palette.- Specified by:
getGradientPaletteStartColor
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- start color for gradient palette, never
null
-
getGradientPaletteEndColor
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns end color for gradient palette.- Specified by:
getGradientPaletteEndColor
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- end color for gradient palette, never
null
-
getCustomPalette
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns custom palette colors.- Specified by:
getCustomPalette
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- custom palette colors, never
null
-
getGradientPaletteMaxColors
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns count of the gradient colors.- Specified by:
getGradientPaletteMaxColors
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- count of the gradient colors, never
null
-
getChartColorPaletteDescription
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns the chart color palette description.- Specified by:
getChartColorPaletteDescription
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- the chart color palette description, never
null
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns corresponding feature.- Specified by:
getFeature
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- corresponding feature
-
getPaletteColorsProvider
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns chart palette colors provider.- Specified by:
getPaletteColorsProvider
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- chart palette colors provider, never
null
-