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 forChartColorPaletteDescription
.
-
-
Constructor Summary
Constructors Constructor Description ChartColorPaletteDescriptionDetailedModel(ChartColorPaletteDescription description, IColorProvider colorProvider, IV8Project v8project, org.eclipse.emf.ecore.EStructuralFeature feature, IChartPaletteColorsProvider paletteColorsProvider)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartColorPaletteDescription
getChartColorPaletteDescription()
Returns the chart color palette description.ICustomColorPaletteModel
getCustomPalette()
Returns custom palette colors.org.eclipse.emf.ecore.EStructuralFeature
getFeature()
Returns corresponding feature.IColorModel
getGradientPaletteEndColor()
Returns end color for gradient palette.IValue<Integer>
getGradientPaletteMaxColors()
Returns count of the gradient colors.IColorModel
getGradientPaletteStartColor()
Returns start color for gradient palette.IChartPaletteColorsProvider
getPaletteColorsProvider()
Returns chart palette colors provider.IValue<PaletteKind>
getPaletteKind()
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 Detail
-
ChartColorPaletteDescriptionDetailedModel
public ChartColorPaletteDescriptionDetailedModel(ChartColorPaletteDescription description, IColorProvider colorProvider, IV8Project v8project, org.eclipse.emf.ecore.EStructuralFeature feature, IChartPaletteColorsProvider paletteColorsProvider)
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
paletteColorsProvider
- the chart palette colors provider
-
-
Method Detail
-
getPaletteKind
public IValue<PaletteKind> getPaletteKind()
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns palette kind.- Specified by:
getPaletteKind
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- palette kind, never
null
-
getGradientPaletteStartColor
public IColorModel 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
public IColorModel 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
public ICustomColorPaletteModel getCustomPalette()
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns custom palette colors.- Specified by:
getCustomPalette
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- custom palette colors, never
null
-
getGradientPaletteMaxColors
public IValue<Integer> 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
public ChartColorPaletteDescription 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
public IChartPaletteColorsProvider getPaletteColorsProvider()
Description copied from interface:IChartColorPaletteDescriptionDetailedModel
Returns chart palette colors provider.- Specified by:
getPaletteColorsProvider
in interfaceIChartColorPaletteDescriptionDetailedModel
- Returns:
- chart palette colors provider, never
null
-
-