License

Copyright 2016 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Hierarchy

  • Tab
    • AnnotationLayerView

Constructors

Properties

annotationColorPicker: undefined | AnnotationColorWidget = undefined
attachedAnnotationStates: Map<AnnotationLayerState, AnnotationLayerViewAttachedState> = ...
cellButton: HTMLElement
cellSession: HTMLDivElement = ...
columnWidths: number[] = []
comButton: HTMLElement
comSession: HTMLDivElement = ...
curCoordinateSpaceGeneration: number = -1
disposedStacks: any
element: HTMLDivElement = ...
globalDimensionIndices: number[] = []
gridTemplate: string = ''
headerRow: HTMLDivElement = ...
layer: __type<(new (...args: any[]) => UserLayer)> & UserLayer
listElements: {
    annotation: Annotation;
    state: AnnotationLayerState;
}[] = []
localDimensionIndices: number[] = []
mutableControls: HTMLDivElement = ...
prevCoordinateSpaceGeneration: number = -1
previousHoverAnnotationLayerState: undefined | AnnotationLayerState = undefined
previousHoverId: undefined | string = undefined
previousSelectedState: undefined | {
    annotationId: string;
    annotationLayerState: AnnotationLayerState;
    pin: boolean;
} = undefined
refCount: number = 1
selectedAnnotationState: CachedLazyDerivedWatchableValue<undefined | {
    annotationId: string;
    annotationLayerState: AnnotationLayerState;
    pin: boolean;
}> = ...
updated: boolean = false
virtualList: VirtualList = ...
virtualListSource: VirtualListSource = ...
visibility: WatchableVisibilityPriority = ...
volumeButton: HTMLElement
volumeSession: HTMLDivElement = ...
wasDisposed: undefined | boolean

Accessors

Methods

  • Returns the level of the annotation id based on heirarchy.

    Returns

    a number indicating the level, eg: if the annotation doesn't have parent level is 0, if the annotation has a parent and if the parent does not have any parent then level is 1 etc.

    Parameters

    • annotationId: string

      Annotation id of input.

    • state: AnnotationLayerState

      Annotation layer state of panel.

    Returns number

Generated using TypeDoc