- Preparing search index...
- The search index is not available
neuroglancer
Class SegmentWidgetFactory<Template>
Constructors
constructor
- new SegmentWidgetFactory<Template>(displayState: undefined | SegmentationDisplayState, template: Template): SegmentWidgetFactory<Template>
-
Type Parameters
-
Template extends {
copyContainerIndex: number;
copyIndex: number;
filterIndex: number;
idContainerIndex: number;
idIndex: number;
labelIndex: number;
template: HTMLDivElement;
unmappedCopyIndex: number;
unmappedIdIndex: number;
visibleIndex: number;
}
Properties
Private
registerEventHandlers
register
Event
Handlers
: undefined | ((element
: HTMLElement, template
: { copyContainerIndex
: number; copyIndex
: number; filterIndex
: number; idContainerIndex
: number; idIndex
: number; labelIndex
: number; template
: HTMLDivElement; unmappedCopyIndex
: number; unmappedIdIndex
: number; visibleIndex
: number; }) => void)
Protected
template
template: Template
Methods
Static
make
- make(displayState: undefined | SegmentationDisplayState, includeUnmapped: boolean): SegmentWidgetFactory<{
copyContainerIndex: number;
copyIndex: number;
filterIndex: number;
idContainerIndex: number;
idIndex: number;
labelIndex: number;
template: HTMLDivElement;
unmappedCopyIndex: number;
unmappedIdIndex: number;
visibleIndex: number;
}>
-
Returns SegmentWidgetFactory<{
copyContainerIndex: number;
copyIndex: number;
filterIndex: number;
idContainerIndex: number;
idIndex: number;
labelIndex: number;
template: HTMLDivElement;
unmappedCopyIndex: number;
unmappedIdIndex: number;
visibleIndex: number;
}>