hosanna-ui-docs - v0.9.0
    Preparing search index...

    Interface for grid layout with array-based content.

    interface ISGNArrayGrid {
        animateToItem?: number;
        boundView: undefined | IHosannaView<ViewState>;
        change?: { [key: string]: any };
        childRenderOrder?: string;
        clippingRect?: number[];
        columnSpacings?: number[];
        columnWidths?: number[];
        content?: ISGNNode;
        currFocusColumn?: number;
        currFocusFeedbackOpacity?: number;
        currFocusRow?: number;
        currFocusSection?: number;
        div: undefined | HTMLDivElement;
        drawFocusFeedback?: boolean;
        drawFocusFeedbackOnTop?: boolean;
        enableRenderTracking?: boolean;
        fadeFocusFeedbackWhenAutoScrolling?: boolean;
        fixedLayout?: boolean;
        focusable?: boolean;
        focusBitmapBlendColor?: sgApi.IColor;
        focusBitmapUri?: string;
        focusColumn?: number;
        focusedChild?: void;
        focusFootprintBitmapUri?: string;
        focusFootprintBlendColor?: sgApi.IColor;
        focusRow?: number;
        horizFocusAnimationStyle?: string;
        id: string;
        inheritParentOpacity?: boolean;
        inheritParentTransform?: boolean;
        itemClippingRect?: any;
        itemcurrFocusFeedbackOpacity?: number;
        itemFocused?: number;
        itemSelected?: number;
        itemSize?: any;
        itemSpacing?: any;
        itemUnfocused?: number;
        jumpToItem?: number;
        muteAudioGuide?: boolean;
        numColumns?: number;
        numRenderPasses?: number;
        numRows?: number;
        opacity: number;
        renderPass?: number;
        renderTracking?: string;
        rotation: number;
        rowHeights?: number[];
        rowSpacings?: number[];
        scale: [number, number];
        scaleRotateCenter: [number, number];
        sectionDividerBitmapUri?: string;
        sectionDividerFont?: ISGROFont;
        sectionDividerHeight?: number;
        sectionDividerLeftOffset?: number;
        sectionDividerMinWidth?: number;
        sectionDividerSpacing?: number;
        sectionDividerTextColor?: sgApi.IColor;
        sectionDividerWidth?: number;
        skipFocusAnimations?: boolean;
        translation: [number, number];
        vertFocusAnimationStyle?: string;
        visible: boolean;
        wrapDividerBitmapUri?: string;
        wrapDividerHeight?: number;
        wrapDividerWidth?: number;
        addField(fieldName: string, type: string, alwayNotify: boolean): boolean;
        addFields(fields: any): boolean;
        AddReplace(key: string, value: any): any;
        ancestorBoundingRect(
            ancestor: undefined | null | ISGROSGNode,
        ): I2DRectangle;
        ancestorSubBoundingRect(
            itemnumber: string,
            ancestor: ISGROSGNode,
        ): I2DRectangle;
        Append(aa: any): any;
        appendChild(child: ISGNNode): boolean;
        appendChildren(child_nodes: any): boolean;
        boundingRect(): I2DRectangle;
        Clear(): any;
        clone(isDeepCopy: boolean): any;
        Count(): number;
        createChild(nodeType: string): any;
        createChildren(num_children: number, subtype: string): any;
        Delete(key: string): boolean;
        DoesExist(key: string): boolean;
        findNode(name: string): any;
        getAll(): any;
        getAllMeta(): any;
        getChild(index: number): any;
        getChildCount(): number;
        getChildren(num_children: number, index: number): any;
        getField(fieldName: string): any;
        getFields(): any;
        getFieldType(fieldName: string): string;
        getFieldTypes(): any;
        getHttpAgent(): any;
        getParent(): undefined | ISGNNode;
        getRoots(): any;
        getRootsMeta(): any;
        getScene(): ISGNNode;
        hasField(fieldName: string): boolean;
        hasFocus(): boolean;
        insertChild(child: ISGNNode, index: number): boolean;
        insertChildren(child_nodes: any, index: number): boolean;
        isInFocusChain(): boolean;
        isSameNode(node: any): boolean;
        isSubtype(nodeType: string): boolean;
        Items(): any;
        Keys(): any;
        localBoundingRect(): I2DRectangle;
        localSubBoundingRect(itemnumber: string): I2DRectangle;
        Lookup(key: string): any;
        LookupCI(key: string): any;
        mount(): void;
        observeField(
            fieldName: string,
            functionName: Function,
            infoFields?: string[],
        ): boolean;
        observeField(
            fieldName: string,
            functionName: string,
            infoFields?: string[],
        ): boolean;
        observeField(fieldName: string, port: any, infoFields?: string[]): boolean;
        observeFieldScoped(
            fieldName: string,
            functionName: string,
            infoFields?: string[],
        ): boolean;
        observeFieldScoped(
            fieldName: string,
            functionName: Function,
            infoFields?: string[],
        ): boolean;
        observeFieldScoped(
            fieldName: string,
            port: any,
            infoFields?: string[],
        ): boolean;
        parentSubtype(nodeType: string): string;
        queueFields(queueNode: boolean): boolean;
        removeChild(child: ISGNNode): boolean;
        removeChildIndex(index: number): boolean;
        removeChildren(child_nodes: ISGNNode[]): boolean;
        removeChildrenIndex(num_children: number, index: number): boolean;
        removeField(fieldName: string): boolean;
        removeFields(fieldNames: any): boolean;
        render(): void;
        reparent(newParent: ISGNNode, adjustTransform: boolean): boolean;
        replaceChild(newChild: ISGNNode, index: number): boolean;
        replaceChildren(child_nodes: any, index: number): boolean;
        sceneBoundingRect(): I2DRectangle;
        sceneSubBoundingRect(itemnumber: string): I2DRectangle;
        setField(fieldName: string, value: any): boolean;
        setFields(fields: any): boolean;
        setFocus(on: boolean): boolean;
        setHttpAgent(HTTP_agent: any): boolean;
        SetModeCaseSensitive(): any;
        showDebugBounds(show: boolean): void;
        signalBeacon(beacon: string): number;
        subBoundingRect(itemnumber: string): I2DRectangle;
        subtype(): string;
        threadinfo(): any;
        unmount(): void;
        unobserveField(fieldName: string): boolean;
        unobserveFieldScoped(fieldName: string): boolean;
        update(fields: any, addFields?: boolean): any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    animateToItem?: number

    Target item to animate to

    boundView: undefined | IHosannaView<ViewState>

    The view instance bound to this renderable.

    change?: { [key: string]: any }

    Change object

    childRenderOrder?: string

    Child render order

    clippingRect?: number[]

    Clipping rectangle

    columnSpacings?: number[]

    Array of column spacing values

    columnWidths?: number[]

    Array of column width values

    content?: ISGNNode

    Grid content node

    currFocusColumn?: number

    Currently focused column

    currFocusFeedbackOpacity?: number

    Current focus feedback opacity

    currFocusRow?: number

    Currently focused row

    currFocusSection?: number

    Currently focused section

    div: undefined | HTMLDivElement

    The root HTML div element for this renderable, if any.

    drawFocusFeedback?: boolean

    Whether to draw focus feedback

    drawFocusFeedbackOnTop?: boolean

    Whether to draw focus feedback on top

    enableRenderTracking?: boolean

    Enable render tracking

    fadeFocusFeedbackWhenAutoScrolling?: boolean

    Fade focus feedback during auto-scroll

    fixedLayout?: boolean

    Use fixed layout

    focusable?: boolean

    Is focusable

    focusBitmapBlendColor?: sgApi.IColor

    Focus bitmap blend color

    focusBitmapUri?: string

    Focus bitmap URI

    focusColumn?: number

    Focused column

    focusedChild?: void

    Focused child

    focusFootprintBitmapUri?: string

    Focus footprint bitmap URI

    focusFootprintBlendColor?: sgApi.IColor

    Focus footprint blend color

    focusRow?: number

    Focused row

    horizFocusAnimationStyle?: string

    Horizontal focus animation style

    id: string

    Node ID

    inheritParentOpacity?: boolean

    Inherit parent opacity

    inheritParentTransform?: boolean

    Inherit parent transform

    itemClippingRect?: any

    Item clipping rectangle

    itemcurrFocusFeedbackOpacity?: number

    Item focus feedback opacity

    itemFocused?: number

    Currently focused item

    itemSelected?: number

    Currently selected item

    itemSize?: any

    Item size

    itemSpacing?: any

    Item spacing

    itemUnfocused?: number

    Currently unfocused item

    jumpToItem?: number

    Target item to jump to

    muteAudioGuide?: boolean

    Mute audio guide

    numColumns?: number

    Number of columns

    numRenderPasses?: number

    Number of render passes

    numRows?: number

    Number of rows

    opacity: number

    Opacity value

    renderPass?: number

    Render pass

    renderTracking?: string

    Render tracking

    rotation: number

    Rotation angle

    rowHeights?: number[]

    Array of row heights

    rowSpacings?: number[]

    Array of row spacings

    scale: [number, number]

    Scale values

    scaleRotateCenter: [number, number]

    Scale/rotate center point

    sectionDividerBitmapUri?: string

    Section divider bitmap URI

    sectionDividerFont?: ISGROFont

    Section divider font

    sectionDividerHeight?: number

    Section divider height

    sectionDividerLeftOffset?: number

    Section divider left offset

    sectionDividerMinWidth?: number

    Section divider minimum width

    sectionDividerSpacing?: number

    Section divider spacing

    sectionDividerTextColor?: sgApi.IColor

    Section divider text color

    sectionDividerWidth?: number

    Section divider width

    skipFocusAnimations?: boolean

    Skip focus animations

    translation: [number, number]

    Translation values

    vertFocusAnimationStyle?: string

    Vertical focus animation style

    visible: boolean

    Visibility

    wrapDividerBitmapUri?: string

    Wrap divider bitmap URI

    wrapDividerHeight?: number

    Wrap divider height

    wrapDividerWidth?: number

    Wrap divider width

    Methods