@minecraft
    正在准备搜索索引...

    接口 IListPaneViewControlPane

    View control for a list pane to manage how slots are displayed

    interface IListPaneViewControlPane {
        id: string;
        isFilterActive: boolean;
        visible: boolean;
        getActionState(id: string): ListViewControlActionState;
        setActionEnabledState(id: string, enabled: boolean): void;
        setActionStates(newActions: ListViewControlAction[]): void;
        setVisible(visible: boolean): void;
        updateActionState(id: string, newState: ListViewControlActionState): void;
    }
    索引

    属性

    id: string

    Unique identifier

    isFilterActive: boolean

    Active state of the filter

    visible: boolean

    Visible state of the pane

    方法

    • 参数

      • id: string

        Identifier for the action

      • enabled: boolean

        New action enabled state

      返回 void

      Updates enabled state of the existing action

    • 参数

      • visible: boolean

        New visibility state

      返回 void

      Updates visible state of the pane