import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { GraphicVariableOption, GraphicVariable, GraphicSymbol, Visualization } from '@dvl-fw/core'; import { LegendService } from '../../shared/services/legend/legend.service'; /** * mav-graphic-variable-icon component declaration, responsible for showing the icons for graphic-variables */ export declare class GraphicVariableIconComponent implements OnInit, OnChanges { private legendService; /** * Input of graphic-variable-option whose icon is to be displayed */ graphicVariableOption: GraphicVariableOption; /** * Input of graphic-symbol-option to which the graphic-variable-option belongs */ graphicSymbolOption: GraphicSymbol; /** * Input of active visualization */ visualization: Visualization; /** * Input boolean to indicate if the visualization is static/dynamic */ isStaticVisualization: boolean; /** * icon visualization instance */ legend: Visualization; /** * graphic-variable whose icon is to be displayed */ graphicVariable: GraphicVariable; /** * Creates an instance of graphic variable icon component. * @param legendService instance of LegendService */ constructor(legendService: LegendService); /** * init lifecycle hook for this component, invokes createIcon() method */ ngOnInit(): void; /** * on changes lifecycle hook of this component * @param changes The changed properties object */ ngOnChanges(changes: SimpleChanges): void; /** * Creates the icon */ createIcon(): void; }