Hosanna UI API v1.30.2-next
    Preparing search index...

    Interface for row list component.

    interface ISGNRowList {
        animateToItem?: number;
        boundView?: unknown;
        change?: { [key: string]: any };
        childRenderOrder?: string;
        clippingRect?: number[];
        columnSpacings?: number[];
        columnWidths?: number[];
        content?: ISGNNode;
        currFocusColumn?: number;
        currFocusFeedbackOpacity?: number;
        currFocusRow?: number;
        currFocusSection?: number;
        div?: HTMLDivElement;
        drawFocusFeedback?: boolean;
        drawFocusFeedbackOnTop?: boolean;
        enableRenderTracking?: boolean;
        fadeFocusFeedbackWhenAutoScrolling?: boolean;
        failedBitmapOpacity?: number;
        failedBitmapUri?: string;
        fixedLayout?: boolean;
        focusable?: boolean;
        focusBitmapBlendColor?: IColor;
        focusBitmapUri?: string;
        focusColumn?: number;
        focusedChild?: ISGNNode;
        focusFootprintBitmapUri?: string;
        focusFootprintBlendColor?: IColor;
        focusRow?: number;
        focusXOffset?: number[];
        horizFocusAnimationStyle?: string;
        id: string;
        imageWellBitmapUri?: string;
        indefiniteRowItemCount?: boolean[];
        inheritParentOpacity?: boolean;
        inheritParentTransform?: boolean;
        itemClippingRect?: any;
        itemComponentName?: string;
        itemcurrFocusFeedbackOpacity?: number;
        itemFocused?: number;
        itemSelected?: number;
        itemSize?: any;
        itemSpacing?: any;
        itemUnfocused?: number;
        jumpToItem?: number;
        jumpToRowItem?: number[];
        loadingBitmapOpacity?: number;
        loadingBitmapUri?: string;
        muteAudioGuide?: boolean;
        nativeGlass?: SGNativeGlassEffect;
        numColumns?: number;
        numRenderPasses?: number;
        numRows?: number;
        opacity: number;
        renderPass?: number;
        renderTracking?: string;
        rotation: number;
        rowCounterRightOffset?: number;
        rowFocusAnimationStyle?: string;
        rowHeights?: number[];
        rowItemFocused?: number[];
        rowItemSelected?: number[];
        rowItemSize?: { x: number; y: number }[];
        rowItemSpacing?: { x: number; y: number }[];
        rowLabelColor?: IColor;
        rowLabelFont?: ISGROFont;
        rowLabelOffset?: { x: number; y: number }[];
        rowSpacings?: number[];
        rowTitleComponentName?: string;
        scale: [number, number];
        scaleRotateCenter: [number, number];
        sectionDividerBitmapUri?: string;
        sectionDividerFont?: ISGROFont;
        sectionDividerHeight?: number;
        sectionDividerLeftOffset?: number;
        sectionDividerMinWidth?: number;
        sectionDividerSpacing?: number;
        sectionDividerTextColor?: IColor;
        sectionDividerWidth?: number;
        showRowCounter?: boolean[];
        showRowCounterForShortRows?: boolean;
        showRowLabel?: boolean[];
        skipFocusAnimations?: boolean;
        translation: [number, number];
        variableWidthItems?: boolean[];
        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;
        CallFunc(funcName: string, ...args: unknown[]): unknown;
        Clear(): any;
        clone(isDeepCopy: boolean): any;
        Count(): number;
        createChild<T extends ISGNNode = ISGNNode>(nodeType: string): T;
        createChildren<T extends ISGNNode = ISGNNode>(
            num_children: number,
            subtype: string,
        ): T[];
        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<T = unknown>(fieldName: string): T;
        getFields(): JsonData;
        getFieldType(fieldName: string): string;
        getFieldTypes(): string[];
        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(): string[];
        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

    animateToItem? boundView? change? childRenderOrder? clippingRect? columnSpacings? columnWidths? content? currFocusColumn? currFocusFeedbackOpacity? currFocusRow? currFocusSection? div? drawFocusFeedback? drawFocusFeedbackOnTop? enableRenderTracking? fadeFocusFeedbackWhenAutoScrolling? failedBitmapOpacity? failedBitmapUri? fixedLayout? focusable? focusBitmapBlendColor? focusBitmapUri? focusColumn? focusedChild? focusFootprintBitmapUri? focusFootprintBlendColor? focusRow? focusXOffset? horizFocusAnimationStyle? id imageWellBitmapUri? indefiniteRowItemCount? inheritParentOpacity? inheritParentTransform? itemClippingRect? itemComponentName? itemcurrFocusFeedbackOpacity? itemFocused? itemSelected? itemSize? itemSpacing? itemUnfocused? jumpToItem? jumpToRowItem? loadingBitmapOpacity? loadingBitmapUri? muteAudioGuide? nativeGlass? numColumns? numRenderPasses? numRows? opacity renderPass? renderTracking? rotation rowCounterRightOffset? rowFocusAnimationStyle? rowHeights? rowItemFocused? rowItemSelected? rowItemSize? rowItemSpacing? rowLabelColor? rowLabelFont? rowLabelOffset? rowSpacings? rowTitleComponentName? scale scaleRotateCenter sectionDividerBitmapUri? sectionDividerFont? sectionDividerHeight? sectionDividerLeftOffset? sectionDividerMinWidth? sectionDividerSpacing? sectionDividerTextColor? sectionDividerWidth? showRowCounter? showRowCounterForShortRows? showRowLabel? skipFocusAnimations? translation variableWidthItems? vertFocusAnimationStyle? visible wrapDividerBitmapUri? wrapDividerHeight? wrapDividerWidth?

    Methods

    Properties

    animateToItem?: number

    Target item to animate to

    boundView?: unknown
    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?: HTMLDivElement
    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

    failedBitmapOpacity?: number

    Opacity of bitmap shown when item fails to load

    failedBitmapUri?: string

    URI for bitmap shown when item fails to load

    fixedLayout?: boolean

    Use fixed layout

    focusable?: boolean

    Is focusable

    focusBitmapBlendColor?: IColor

    Focus bitmap blend color

    focusBitmapUri?: string

    Focus bitmap URI

    focusColumn?: number

    Focused column

    focusedChild?: ISGNNode

    Focused child

    focusFootprintBitmapUri?: string

    Focus footprint bitmap URI

    focusFootprintBlendColor?: IColor

    Focus footprint blend color

    focusRow?: number

    Focused row

    focusXOffset?: number[]

    X-axis focus offsets for rows

    horizFocusAnimationStyle?: string

    Horizontal focus animation style

    id: string

    Node ID

    imageWellBitmapUri?: string

    URI for image well bitmap

    indefiniteRowItemCount?: boolean[]

    Whether rows have indefinite item counts

    inheritParentOpacity?: boolean

    Inherit parent opacity

    inheritParentTransform?: boolean

    Inherit parent transform

    itemClippingRect?: any

    Item clipping rectangle

    itemComponentName?: string

    Component name for list items

    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

    jumpToRowItem?: number[]

    Target item indices to jump to per row

    loadingBitmapOpacity?: number

    Opacity of bitmap shown while item is loading

    loadingBitmapUri?: string

    URI for bitmap shown while item is loading

    muteAudioGuide?: boolean

    Mute audio guide

    nativeGlass?: SGNativeGlassEffect

    Native glass/backdrop effect. Apple uses blur; Android renders a lightweight tint/border fallback.

    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

    rowCounterRightOffset?: number

    Right offset for row counter

    rowFocusAnimationStyle?: string

    Animation style for row focus

    rowHeights?: number[]

    Array of row heights

    rowItemFocused?: number[]

    Indices of focused items per row

    rowItemSelected?: number[]

    Indices of selected items per row

    rowItemSize?: { x: number; y: number }[]

    Size of items per row

    rowItemSpacing?: { x: number; y: number }[]

    Spacing between items per row

    rowLabelColor?: IColor

    Color of row labels

    rowLabelFont?: ISGROFont

    Font settings for row labels

    rowLabelOffset?: { x: number; y: number }[]

    Position offset for row labels

    rowSpacings?: number[]

    Array of row spacings

    rowTitleComponentName?: string

    Component name for row titles

    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?: IColor

    Section divider text color

    sectionDividerWidth?: number

    Section divider width

    showRowCounter?: boolean[]

    Whether to show row counter per row

    showRowCounterForShortRows?: boolean

    Whether to show counter for short rows

    showRowLabel?: boolean[]

    Whether to show labels per row

    skipFocusAnimations?: boolean

    Skip focus animations

    translation: [number, number]

    Translation values

    variableWidthItems?: boolean[]

    Whether items have variable widths per row

    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

    • Adds field to node

      Parameters

      • fieldName: string
      • type: string
      • alwayNotify: boolean

      Returns boolean

    • Adds multiple fields

      Parameters

      • fields: any

      Returns boolean

    • Adds or replaces a key-value pair

      Parameters

      • key: string
      • value: any

      Returns any

    • Appends another associative array

      Parameters

      • aa: any

      Returns any

    • Appends multiple child nodes

      Parameters

      • child_nodes: any

      Returns boolean

    • Parameters

      • funcName: string
      • ...args: unknown[]

      Returns unknown

    • Clones node

      Parameters

      • isDeepCopy: boolean

      Returns any

    • Deletes an item by key

      Parameters

      • key: string

      Returns boolean

    • Checks if a key exists

      Parameters

      • key: string

      Returns boolean

    • Finds node by name

      Parameters

      • name: string

      Returns any

    • Gets child node at index

      Parameters

      • index: number

      Returns any

    • Gets multiple child nodes

      Parameters

      • num_children: number
      • index: number

      Returns any

    • Gets field value

      Type Parameters

      • T = unknown

      Parameters

      • fieldName: string

      Returns T

    • Gets field type

      Parameters

      • fieldName: string

      Returns string

    • Checks if field exists

      Parameters

      • fieldName: string

      Returns boolean

    • Inserts multiple child nodes at index

      Parameters

      • child_nodes: any
      • index: number

      Returns boolean

    • Checks if nodes are same

      Parameters

      • node: any

      Returns boolean

    • Checks if node is subtype

      Parameters

      • nodeType: string

      Returns boolean

    • Gets local sub-item bounding rect

      Parameters

      • itemnumber: string

      Returns I2DRectangle

    • Looks up a value by key

      Parameters

      • key: string

      Returns any

    • Looks up a value by key (case insensitive)

      Parameters

      • key: string

      Returns any

    • Observes field changes

      Parameters

      • fieldName: string
      • functionName: Function
      • OptionalinfoFields: string[]

      Returns boolean

    • Parameters

      • fieldName: string
      • functionName: string
      • OptionalinfoFields: string[]

      Returns boolean

    • Parameters

      • fieldName: string
      • port: any
      • OptionalinfoFields: string[]

      Returns boolean

    • Observes field changes with scope

      Parameters

      • fieldName: string
      • functionName: string
      • OptionalinfoFields: string[]

      Returns boolean

    • Parameters

      • fieldName: string
      • functionName: Function
      • OptionalinfoFields: string[]

      Returns boolean

    • Parameters

      • fieldName: string
      • port: any
      • OptionalinfoFields: string[]

      Returns boolean

    • Gets parent subtype

      Parameters

      • nodeType: string

      Returns string

    • Queues field updates

      Parameters

      • queueNode: boolean

      Returns boolean

    • Removes child node at index

      Parameters

      • index: number

      Returns boolean

    • Removes multiple child nodes at index

      Parameters

      • num_children: number
      • index: number

      Returns boolean

    • Removes field

      Parameters

      • fieldName: string

      Returns boolean

    • Removes multiple fields

      Parameters

      • fieldNames: any

      Returns boolean

    • Changes node parent

      Parameters

      • newParent: ISGNNode
      • adjustTransform: boolean

      Returns boolean

    • Replaces multiple child nodes at index

      Parameters

      • child_nodes: any
      • index: number

      Returns boolean

    • Gets scene sub-item bounding rect

      Parameters

      • itemnumber: string

      Returns I2DRectangle

    • Sets field value

      Parameters

      • fieldName: string
      • value: any

      Returns boolean

    • Sets multiple field values

      Parameters

      • fields: any

      Returns boolean

    • Sets node focus

      Parameters

      • on: boolean

      Returns boolean

    • Sets HTTP agent

      Parameters

      • HTTP_agent: any

      Returns boolean

    • Signals beacon

      Parameters

      • beacon: string

      Returns number

    • Gets sub-item bounding rect

      Parameters

      • itemnumber: string

      Returns I2DRectangle

    • Stops observing field

      Parameters

      • fieldName: string

      Returns boolean

    • Stops observing scoped field

      Parameters

      • fieldName: string

      Returns boolean

    • Updates node fields

      Parameters

      • fields: any
      • OptionaladdFields: boolean

      Returns any