<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>state_editor · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-theme-api/theme-api.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="simple_state_editor.html" />
    
    
    <link rel="prev" href="sign_initial_editor.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">总览</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    概览
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../START.html">
            
                <a href="../../START.html">
            
                    
                    起步
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">通用规范</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../../OVERVIEW.html">
            
                <a href="../../OVERVIEW.html">
            
                    
                    通用规范
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">核心控件</li>
        
        
    
        <li class="chapter " data-level="3.1" >
            
                <span>
            
                    
                    布局
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="../../core/layout/vertical.html">
            
                <a href="../../core/layout/vertical.html">
            
                    
                    vertical
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="../../core/layout/horizontal.html">
            
                <a href="../../core/layout/horizontal.html">
            
                    
                    horizontal
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="../../core/layout/htape.html">
            
                <a href="../../core/layout/htape.html">
            
                    
                    htape
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4" data-path="../../core/layout/vtape.html">
            
                <a href="../../core/layout/vtape.html">
            
                    
                    vtape
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.5" data-path="../../core/layout/center_adapt.html">
            
                <a href="../../core/layout/center_adapt.html">
            
                    
                    center_adapt
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.6" data-path="../../core/layout/vertical_adapt.html">
            
                <a href="../../core/layout/vertical_adapt.html">
            
                    
                    vertical_adapt
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.7" data-path="../../core/layout/left_right_vertical_adapt.html">
            
                <a href="../../core/layout/left_right_vertical_adapt.html">
            
                    
                    left_right_vertical_adapt
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.8" data-path="../../core/layout/flow.html">
            
                <a href="../../core/layout/flow.html">
            
                    
                    flow
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.9" data-path="../../core/layout/center.html">
            
                <a href="../../core/layout/center.html">
            
                    
                    center
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.10" data-path="../../core/layout/horizontal_adapt.html">
            
                <a href="../../core/layout/horizontal_adapt.html">
            
                    
                    horizontal_adapt
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.11" data-path="../../core/layout/horizontal_auto.html">
            
                <a href="../../core/layout/horizontal_auto.html">
            
                    
                    horizontal_auto
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.12" data-path="../../core/layout/horizontal_float.html">
            
                <a href="../../core/layout/horizontal_float.html">
            
                    
                    horizontal_float
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.13" data-path="../../core/layout/float_center.html">
            
                <a href="../../core/layout/float_center.html">
            
                    
                    float_center
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.14" data-path="../../core/layout/border.html">
            
                <a href="../../core/layout/border.html">
            
                    
                    border
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.15" data-path="../../core/layout/grid.html">
            
                <a href="../../core/layout/grid.html">
            
                    
                    grid
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.16" data-path="../../core/layout/table.html">
            
                <a href="../../core/layout/table.html">
            
                    
                    table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.17" data-path="../../core/layout/td.html">
            
                <a href="../../core/layout/td.html">
            
                    
                    td
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.18" >
            
                <span>
            
                    
                    ...
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" >
            
                <span>
            
                    
                    抽象控件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.2.1" data-path="../../core/abstract/button_group.html">
            
                <a href="../../core/abstract/button_group.html">
            
                    
                    button_group
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.2" data-path="../../core/abstract/button_tree.html">
            
                <a href="../../core/abstract/button_tree.html">
            
                    
                    button_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.3" data-path="../../core/abstract/virtual_group.html">
            
                <a href="../../core/abstract/virtual_group.html">
            
                    
                    virtual_group
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.4" data-path="../../core/abstract/custom_tree.html">
            
                <a href="../../core/abstract/custom_tree.html">
            
                    
                    custom_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.5" data-path="../../core/abstract/grid_view.html">
            
                <a href="../../core/abstract/grid_view.html">
            
                    
                    grid_view
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.6" data-path="../../core/abstract/collection_view.html">
            
                <a href="../../core/abstract/collection_view.html">
            
                    
                    collection_view
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.7" data-path="../../core/abstract/list_view.html">
            
                <a href="../../core/abstract/list_view.html">
            
                    
                    list_view
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.8" data-path="../../core/abstract/virtual_list.html">
            
                <a href="../../core/abstract/virtual_list.html">
            
                    
                    virtual_list
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3" >
            
                <span>
            
                    
                    组合控件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.3.1" data-path="../../core/combination/bi.combo.html">
            
                <a href="../../core/combination/bi.combo.html">
            
                    
                    combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.2" data-path="../../core/combination/bi.expander.html">
            
                <a href="../../core/combination/bi.expander.html">
            
                    
                    expander
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.3" data-path="../../core/combination/combo_group.html">
            
                <a href="../../core/combination/combo_group.html">
            
                    
                    combo_group
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.4" data-path="../../core/combination/loader.html">
            
                <a href="../../core/combination/loader.html">
            
                    
                    loader
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.5" data-path="../../core/combination/navigation.html">
            
                <a href="../../core/combination/navigation.html">
            
                    
                    navigation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.6" data-path="../../core/combination/searcher.html">
            
                <a href="../../core/combination/searcher.html">
            
                    
                    searcher
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.7" data-path="../../core/combination/switcher.html">
            
                <a href="../../core/combination/switcher.html">
            
                    
                    switcher
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.8" data-path="../../core/combination/tab.html">
            
                <a href="../../core/combination/tab.html">
            
                    
                    tab
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.4" >
            
                <span>
            
                    
                    弹出层
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.4.1" data-path="../../core/layer/layer_float_box.html">
            
                <a href="../../core/layer/layer_float_box.html">
            
                    
                    float_box
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4.2" data-path="../../core/layer/layer_popup.html">
            
                <a href="../../core/layer/layer_popup.html">
            
                    
                    popup_view
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4.3" data-path="../../core/layer/layer_searcher.html">
            
                <a href="../../core/layer/layer_searcher.html">
            
                    
                    searcher_view
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="../../core/widget.html">
            
                <a href="../../core/widget.html">
            
                    
                    Widget
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="../../core/single.html">
            
                <a href="../../core/single.html">
            
                    
                    Single
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="../../core/basic_button.html">
            
                <a href="../../core/basic_button.html">
            
                    
                    BasicButton
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="../../core/node_button.html">
            
                <a href="../../core/node_button.html">
            
                    
                    NodeButton
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.9" data-path="../../core/pane.html">
            
                <a href="../../core/pane.html">
            
                    
                    Pane
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">基础控件</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="../../base/label.html">
            
                <a href="../../base/label.html">
            
                    
                    label
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="../../base/bubble.html">
            
                <a href="../../base/bubble.html">
            
                    
                    bubble
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="../../base/toast.html">
            
                <a href="../../base/toast.html">
            
                    
                    toast
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="../../base/message.html">
            
                <a href="../../base/message.html">
            
                    
                    message
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" >
            
                <span>
            
                    
                    按钮
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.5.1" data-path="../../base/button/button.html">
            
                <a href="../../base/button/button.html">
            
                    
                    button
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5.2" data-path="../../base/button/text_button.html">
            
                <a href="../../base/button/text_button.html">
            
                    
                    text_button
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5.3" data-path="../../base/button/icon_button.html">
            
                <a href="../../base/button/icon_button.html">
            
                    
                    icon_button
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5.4" data-path="../../base/button/image_button.html">
            
                <a href="../../base/button/image_button.html">
            
                    
                    image_button
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.6" >
            
                <span>
            
                    
                    编辑框
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.6.1" data-path="../../base/editor/editor.html">
            
                <a href="../../base/editor/editor.html">
            
                    
                    editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.2" data-path="../../base/editor/code_editor.html">
            
                <a href="../../base/editor/code_editor.html">
            
                    
                    code_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.3" data-path="../../base/editor/multifile_editor.html">
            
                <a href="../../base/editor/multifile_editor.html">
            
                    
                    multifile_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.4" data-path="../../base/editor/textarea_editor.html">
            
                <a href="../../base/editor/textarea_editor.html">
            
                    
                    textarea_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.5" data-path="../../base/editor/formula_editor.html">
            
                <a href="../../base/editor/formula_editor.html">
            
                    
                    formula_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.6" data-path="../../base/editor/rich_editor.html">
            
                <a href="../../base/editor/rich_editor.html">
            
                    
                    rich_editor
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.7" >
            
                <span>
            
                    
                    表格
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.7.1" data-path="../../base/table/table_view.html">
            
                <a href="../../base/table/table_view.html">
            
                    
                    table_view
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.7.2" data-path="../../base/table/grid_table.html">
            
                <a href="../../base/table/grid_table.html">
            
                    
                    grid_table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.7.3" data-path="../../base/table/collection_table.html">
            
                <a href="../../base/table/collection_table.html">
            
                    
                    collection_table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.7.4" data-path="../../base/table/resizable_table.html">
            
                <a href="../../base/table/resizable_table.html">
            
                    
                    resizable_table
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.8" data-path="../../base/pager.html">
            
                <a href="../../base/pager.html">
            
                    
                    pager
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.9" data-path="../../base/svg.html">
            
                <a href="../../base/svg.html">
            
                    
                    svg
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.10" data-path="../../base/canvas.html">
            
                <a href="../../base/canvas.html">
            
                    
                    canvas
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">实例控件</li>
        
        
    
        <li class="chapter " data-level="5.1" >
            
                <span>
            
                    
                    按钮
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1.1" data-path="../button/multi_select_item.html">
            
                <a href="../button/multi_select_item.html">
            
                    
                    multi_select_item
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.2" data-path="../button/single_select_item.html">
            
                <a href="../button/single_select_item.html">
            
                    
                    single_select_item
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.3" data-path="../button/single_select_radio_item.html">
            
                <a href="../button/single_select_radio_item.html">
            
                    
                    single_select_radio_item
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.2" >
            
                <span>
            
                    
                    文本框
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.2.1" data-path="shelter_editor.html">
            
                <a href="shelter_editor.html">
            
                    
                    shelter_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.2" data-path="sign_editor.html">
            
                <a href="sign_editor.html">
            
                    
                    sign_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.3" data-path="sign_initial_editor.html">
            
                <a href="sign_initial_editor.html">
            
                    
                    sign_initial_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="5.2.4" data-path="state_editor.html">
            
                <a href="state_editor.html">
            
                    
                    state_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.5" data-path="simple_state_editor.html">
            
                <a href="simple_state_editor.html">
            
                    
                    simple_state_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.6" data-path="../../detailed/text_input/bi.clear_editor.html">
            
                <a href="../../detailed/text_input/bi.clear_editor.html">
            
                    
                    clear_editor
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.3" >
            
                <span>
            
                    
                    列表
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.3.1" data-path="../list/list.select.html">
            
                <a href="../list/list.select.html">
            
                    
                    select_list
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3.2" data-path="../loader/lazy_loader.html">
            
                <a href="../loader/lazy_loader.html">
            
                    
                    lazy_loader
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3.3" data-path="../loader/list_loader.html">
            
                <a href="../loader/list_loader.html">
            
                    
                    list_loader
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3.4" data-path="../loader/sort_list.html">
            
                <a href="../loader/sort_list.html">
            
                    
                    sort_list(jquery-sortable封装)
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.4" >
            
                <span>
            
                    
                    面板
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.4.1" data-path="../layer/pane_list.html">
            
                <a href="../layer/pane_list.html">
            
                    
                    pane_list
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4.2" data-path="../layer/panel.html">
            
                <a href="../layer/panel.html">
            
                    
                    panel
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.5" >
            
                <span>
            
                    
                    popup弹出层
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.5.1" data-path="../layer/multi_popup_layer.html">
            
                <a href="../layer/multi_popup_layer.html">
            
                    
                    multi_popup_view
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.5.2" data-path="../layer/layer_panel.html">
            
                <a href="../layer/layer_panel.html">
            
                    
                    popup_panel
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.6" >
            
                <span>
            
                    
                    触发器
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.6.1" data-path="../trigger/editor_trigger.html">
            
                <a href="../trigger/editor_trigger.html">
            
                    
                    editor_trigger
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6.2" data-path="../trigger/icon_trigger.html">
            
                <a href="../trigger/icon_trigger.html">
            
                    
                    icon_trigger
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6.3" data-path="../trigger/text_trigger.html">
            
                <a href="../trigger/text_trigger.html">
            
                    
                    text_trigger
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6.4" data-path="../trigger/select_text_trigger.html">
            
                <a href="../trigger/select_text_trigger.html">
            
                    
                    select_text_trigger
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.7" >
            
                <span>
            
                    
                    下拉框
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.7.1" data-path="../combo/bubble_combo.html">
            
                <a href="../combo/bubble_combo.html">
            
                    
                    bubble_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7.2" data-path="../combo/icon_combo.html">
            
                <a href="../combo/icon_combo.html">
            
                    
                    icon_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7.3" data-path="../combo/static_combo.html">
            
                <a href="../combo/static_combo.html">
            
                    
                    static_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7.4" data-path="../combo/text_value_combo.html">
            
                <a href="../combo/text_value_combo.html">
            
                    
                    text_value_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7.5" data-path="../combo/text_value_check_combo.html">
            
                <a href="../combo/text_value_check_combo.html">
            
                    
                    text_value_check_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7.6" data-path="../combo/editor_icon_check_combo.html">
            
                <a href="../combo/editor_icon_check_combo.html">
            
                    
                    editor_icon_check_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7.7" data-path="../combo/text_value_down_list_combo.html">
            
                <a href="../combo/text_value_down_list_combo.html">
            
                    
                    text_value_down_list_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.8" >
            
                <span>
            
                    
                    树
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.8.1" data-path="../tree/branch_tree.html">
            
                <a href="../tree/branch_tree.html">
            
                    
                    branch_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.8.2" data-path="../tree/handstand_branch_tree.html">
            
                <a href="../tree/handstand_branch_tree.html">
            
                    
                    handstand_branch_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.8.3" data-path="../tree/display_tree.html">
            
                <a href="../tree/display_tree.html">
            
                    
                    display_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.8.4" data-path="../tree/simple_tree.html">
            
                <a href="../tree/simple_tree.html">
            
                    
                    simple_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.8.5" data-path="../tree/level_tree.html">
            
                <a href="../tree/level_tree.html">
            
                    
                    level_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.8.6" data-path="../tree/branch_relation.html">
            
                <a href="../tree/branch_relation.html">
            
                    
                    branch_relation
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.9" >
            
                <span>
            
                    
                    表格
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.9.1" data-path="../table/adaptive_table.html">
            
                <a href="../table/adaptive_table.html">
            
                    
                    adaptive_table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.9.2" data-path="../table/tree_table.html">
            
                <a href="../table/tree_table.html">
            
                    
                    tree_table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.9.3" data-path="../table/layer_tree_table.html">
            
                <a href="../table/layer_tree_table.html">
            
                    
                    layer_tree_table
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.10" >
            
                <span>
            
                    
                    Pager
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.10.1" data-path="../pager/all_count_pager.html">
            
                <a href="../pager/all_count_pager.html">
            
                    
                    all_count_pager
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.10.2" data-path="../pager/direction_pager.html">
            
                <a href="../pager/direction_pager.html">
            
                    
                    direction_pager
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.11" data-path="../calendar.html">
            
                <a href="../calendar.html">
            
                    
                    calendar
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.12" data-path="../clipboard.html">
            
                <a href="../clipboard.html">
            
                    
                    clipboard
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.13" data-path="../complex_canvas.html">
            
                <a href="../complex_canvas.html">
            
                    
                    complex_canvas
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.14" data-path="../color_chooser.html">
            
                <a href="../color_chooser.html">
            
                    
                    color_chooser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.15" data-path="../color_chooser_popup.html">
            
                <a href="../color_chooser_popup.html">
            
                    
                    color_chooser_popup
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.16" data-path="../segment.html">
            
                <a href="../segment.html">
            
                    
                    segment
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">详细控件</li>
        
        
    
        <li class="chapter " data-level="6.1" >
            
                <span>
            
                    
                    各种小组件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1.1" data-path="../../detailed/bi.button/general.html">
            
                <a href="../../detailed/bi.button/general.html">
            
                    
                    通用按钮
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.2" data-path="../../detailed/bi.button/tooltip.html">
            
                <a href="../../detailed/bi.button/tooltip.html">
            
                    
                    提示性信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.3" data-path="../../detailed/bi.button/items.html">
            
                <a href="../../detailed/bi.button/items.html">
            
                    
                    各种items
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.4" data-path="../../detailed/bi.button/node.html">
            
                <a href="../../detailed/bi.button/node.html">
            
                    
                    各种节点nodes
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.5" data-path="../../detailed/bi.button/segment.html">
            
                <a href="../../detailed/bi.button/segment.html">
            
                    
                    各种segment
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.2" >
            
                <span>
            
                    
                    文本框控件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.2.1" data-path="../../detailed/text_input/bi.text_editor.html">
            
                <a href="../../detailed/text_input/bi.text_editor.html">
            
                    
                    text_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2.2" data-path="../../detailed/text_input/bi.search_editor.html">
            
                <a href="../../detailed/text_input/bi.search_editor.html">
            
                    
                    search_editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2.3" data-path="../../detailed/text_input/number_editor.html">
            
                <a href="../../detailed/text_input/number_editor.html">
            
                    
                    number_editor
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.3" >
            
                <span>
            
                    
                    树
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.3.1" data-path="../../detailed/tree/single_level_tree.html">
            
                <a href="../../detailed/tree/single_level_tree.html">
            
                    
                    single_level_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3.2" data-path="../../detailed/tree/select_level_tree.html">
            
                <a href="../../detailed/tree/select_level_tree.html">
            
                    
                    select_level_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3.3" data-path="../../detailed/tree/multi_single_level_tree.html">
            
                <a href="../../detailed/tree/multi_single_level_tree.html">
            
                    
                    multi_single_level_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3.4" data-path="../../detailed/tree/multi_select_level_tree.html">
            
                <a href="../../detailed/tree/multi_select_level_tree.html">
            
                    
                    multi_select_level_tree
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3.5" data-path="../../detailed/tree/bi.switch_tree.html">
            
                <a href="../../detailed/tree/bi.switch_tree.html">
            
                    
                    switch_tree
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.4" >
            
                <span>
            
                    
                    表格
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.4.1" data-path="../../detailed/table/bi.preview_table.html">
            
                <a href="../../detailed/table/bi.preview_table.html">
            
                    
                    preview_table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.4.2" data-path="../../detailed/table/bi.responsive_table.html">
            
                <a href="../../detailed/table/bi.responsive_table.html">
            
                    
                    responsive_table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.4.3" data-path="../../detailed/table/bi.sequence_table.html">
            
                <a href="../../detailed/table/bi.sequence_table.html">
            
                    
                    sequence_table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.4.4" data-path="../../detailed/table/bi.page_table.html">
            
                <a href="../../detailed/table/bi.page_table.html">
            
                    
                    page_table
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.5" >
            
                <span>
            
                    
                    下拉列表
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.5.1" data-path="../../detailed/down_list_combo.html">
            
                <a href="../../detailed/down_list_combo.html">
            
                    
                    down_list_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.6" >
            
                <span>
            
                    
                    复选下拉框
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.6.1" data-path="../../detailed/multi_select_combo.html">
            
                <a href="../../detailed/multi_select_combo.html">
            
                    
                    multi_select_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.7" >
            
                <span>
            
                    
                    简单下拉树
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.7.1" data-path="../../detailed/combo/single_tree_combo.html">
            
                <a href="../../detailed/combo/single_tree_combo.html">
            
                    
                    single_tree_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.8" >
            
                <span>
            
                    
                    多层级下拉树
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.8.1" data-path="../../detailed/combo/multilayer_single_tree_combo.html">
            
                <a href="../../detailed/combo/multilayer_single_tree_combo.html">
            
                    
                    multilayer_single_tree_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.9" >
            
                <span>
            
                    
                    可选下拉树
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.9.1" data-path="../../detailed/combo/select_tree_combo.html">
            
                <a href="../../detailed/combo/select_tree_combo.html">
            
                    
                    select_tree_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.10" >
            
                <span>
            
                    
                    多层级可选下拉树
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.10.1" data-path="../../detailed/combo/multilayer_select_tree_combo.html">
            
                <a href="../../detailed/combo/multilayer_select_tree_combo.html">
            
                    
                    multilayer_select_tree_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.11" >
            
                <span>
            
                    
                    复选下拉树
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.11.1" data-path="../../detailed/tree/bi.multi_tree_combo.html">
            
                <a href="../../detailed/tree/bi.multi_tree_combo.html">
            
                    
                    multi_tree_combo
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.12" >
            
                <span>
            
                    
                    日期相关控件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.12.1" data-path="../../detailed/year_combo.html">
            
                <a href="../../detailed/year_combo.html">
            
                    
                    year_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.2" data-path="../../detailed/month_combo.html">
            
                <a href="../../detailed/month_combo.html">
            
                    
                    month_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.3" data-path="../../detailed/quarter_combo.html">
            
                <a href="../../detailed/quarter_combo.html">
            
                    
                    quarter_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.4" data-path="../../detailed/date/year_month_combo.html">
            
                <a href="../../detailed/date/year_month_combo.html">
            
                    
                    year_month_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.5" data-path="../../detailed/date/year_quarter_combo.html">
            
                <a href="../../detailed/date/year_quarter_combo.html">
            
                    
                    year_quarter_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.6" data-path="../../detailed/date/date_pane.html">
            
                <a href="../../detailed/date/date_pane.html">
            
                    
                    date_pane
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.7" data-path="../../detailed/date/date_combo.html">
            
                <a href="../../detailed/date/date_combo.html">
            
                    
                    date_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.8" data-path="../../detailed/date/multidate_combo.html">
            
                <a href="../../detailed/date/multidate_combo.html">
            
                    
                    multidate_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.9" data-path="../../detailed/date/date_time.html">
            
                <a href="../../detailed/date/date_time.html">
            
                    
                    date_time
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12.10" data-path="../../detailed/date/time_interval.html">
            
                <a href="../../detailed/date/time_interval.html">
            
                    
                    time_interval
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.13" >
            
                <span>
            
                    
                    数值区间控件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.13.1" data-path="../../detailed/number_interval.html">
            
                <a href="../../detailed/number_interval.html">
            
                    
                    number_interval
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.14" >
            
                <span>
            
                    
                    文件管理
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.14.1" data-path="../../detailed/file_manager.html">
            
                <a href="../../detailed/file_manager.html">
            
                    
                    file_manager
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">部件</li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="../../components/value_chooser_combo.html">
            
                <a href="../../components/value_chooser_combo.html">
            
                    
                    value_chooser_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="../../components/value_chooser_pane.html">
            
                <a href="../../components/value_chooser_pane.html">
            
                    
                    value_chooser_pane
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.3" data-path="../../components/all_value_chooser_combo.html">
            
                <a href="../../components/all_value_chooser_combo.html">
            
                    
                    all_value_chooser_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.4" data-path="../../components/tree_value_chooser_combo.html">
            
                <a href="../../components/tree_value_chooser_combo.html">
            
                    
                    tree_value_chooser_combo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.5" data-path="../../components/tree_value_chooser_pane.html">
            
                <a href="../../components/tree_value_chooser_pane.html">
            
                    
                    tree_value_chooser_pane
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">addons</li>
        
        
    
        <li class="chapter " data-level="8.1" >
            
                <span>
            
                    
                    sliders
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="8.1.1" data-path="../../detailed/single_slider.html">
            
                <a href="../../detailed/single_slider.html">
            
                    
                    single_slider
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >state_editor</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="bistateeditor">bi.state_editor</h1>
<h2 id="&#x8BB0;&#x5F55;&#x72B6;&#x6001;&#x7684;&#x8F93;&#x5165;&#x6846;&#xFF0C;&#x57FA;&#x7C7B;biwidget">&#x8BB0;&#x5F55;&#x72B6;&#x6001;&#x7684;&#x8F93;&#x5165;&#x6846;&#xFF0C;&#x57FA;&#x7C7B;<a href="../../core/widget.html">BI.Widget</a></h2>
<div class="api-method"><div class="api-method-definition"><p><a href="https://jsfiddle.net/fineui/p68bwkmv/" target="_blank">source</a></p>
</div><div class="api-method-code"><div class="api-method-example"><pre><code class="lang-javascript">
BI.createWidget({
    element: <span class="hljs-string">&quot;#wrapper&quot;</span>,
    type: <span class="hljs-string">&quot;bi.state_editor&quot;</span>,
    value: <span class="hljs-string">&quot;123&quot;</span>,
    text: <span class="hljs-string">&quot;456&quot;</span>,
    width: <span class="hljs-number">300</span>
});
</code></pre>
</div></div></div>

<h2 id="api">API</h2>
<h5 id="&#x57FA;&#x7840;&#x5C5E;&#x6027;">&#x57FA;&#x7840;&#x5C5E;&#x6027;</h5>
<table>
<thead>
<tr>
<th style="text-align:left">&#x53C2;&#x6570;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x53EF;&#x9009;&#x503C;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">hgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;&#x5DE6;&#x53F3;padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">4</td>
</tr>
<tr>
<td style="text-align:left">vgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;&#x4E0A;&#x4E0B;padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">2</td>
</tr>
<tr>
<td style="text-align:left">lgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;left-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">rgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;right-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">tgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;top-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">bgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x6587;&#x672C;&#x6846;bottom-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">validationChecker</td>
<td style="text-align:left">&#x8F93;&#x5165;&#x8F83;&#x9A8C;&#x51FD;&#x6570;</td>
<td style="text-align:left">function</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">quitChecker</td>
<td style="text-align:left">&#x662F;&#x5426;&#x5141;&#x8BB8;&#x9000;&#x51FA;&#x7F16;&#x8F91;&#x51FD;&#x6570;</td>
<td style="text-align:left">function</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">allowBlank</td>
<td style="text-align:left">&#x662F;&#x5426;&#x5141;&#x8BB8;&#x7A7A;&#x503C;</td>
<td style="text-align:left">boolean</td>
<td style="text-align:left">true,false</td>
<td style="text-align:left">true</td>
</tr>
<tr>
<td style="text-align:left">watermark</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;placeholder</td>
<td style="text-align:left">string</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">&quot; &quot;</td>
</tr>
<tr>
<td style="text-align:left">errorText</td>
<td style="text-align:left">&#x9519;&#x8BEF;&#x63D0;&#x793A;</td>
<td style="text-align:left">string/function</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">&quot; &quot;</td>
</tr>
<tr>
<td style="text-align:left">height</td>
<td style="text-align:left">&#x9AD8;&#x5EA6;</td>
<td style="text-align:left">number</td>
<td style="text-align:left">&#x2014;</td>
<td style="text-align:left">30</td>
</tr>
</tbody>
</table>
<h2 id="&#x5BF9;&#x5916;&#x65B9;&#x6CD5;">&#x5BF9;&#x5916;&#x65B9;&#x6CD5;</h2>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
<th style="text-align:left">&#x56DE;&#x8C03;&#x53C2;&#x6570;     </th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">setErrorText</td>
<td style="text-align:left">&#x8BBE;&#x7F6E;&#x9519;&#x8BEF;&#x6587;&#x672C;</td>
<td style="text-align:left">text</td>
</tr>
<tr>
<td style="text-align:left">getErrorText</td>
<td style="text-align:left">&#x83B7;&#x53D6;&#x9519;&#x8BEF;&#x6587;&#x672C;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">focus</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;&#x83B7;&#x53D6;&#x7126;&#x70B9;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">blur</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;&#x5931;&#x7126;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">setValue</td>
<td style="text-align:left">&#x8BBE;&#x7F6E;&#x6587;&#x672C;&#x6846;&#x503C;</td>
<td style="text-align:left">value</td>
</tr>
<tr>
<td style="text-align:left">getLastValidValue</td>
<td style="text-align:left">&#x83B7;&#x53D6;&#x6587;&#x672C;&#x6846;&#x6700;&#x540E;&#x4E00;&#x6B21;&#x8F93;&#x5165;&#x7684;&#x6709;&#x6548;&#x503C;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">getValue</td>
<td style="text-align:left">&#x83B7;&#x53D6;&#x6587;&#x672C;&#x6846;&#x503C;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">isEditing</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;&#x662F;&#x5426;&#x5904;&#x4E8E;&#x7F16;&#x8F91;&#x72B6;&#x6001;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">isValid</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6846;&#x503C;&#x662F;&#x5426;&#x6709;&#x6548;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">doRedMark</td>
<td style="text-align:left">&#x6587;&#x672C;&#x6807;&#x7EA2;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">unRedMark</td>
<td style="text-align:left">&#x53D6;&#x6D88;&#x6587;&#x672C;&#x6807;&#x7EA2;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">doHighLight</td>
<td style="text-align:left">&#x6587;&#x672C;&#x9AD8;&#x4EAE;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">unHighLight</td>
<td style="text-align:left">&#x53D6;&#x6D88;&#x6587;&#x672C;&#x9AD8;&#x4EAE;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">setState</td>
<td style="text-align:left">&#x8BBE;&#x7F6E;&#x6587;&#x672C;&#x6846;&#x503C;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
<tr>
<td style="text-align:left">getState</td>
<td style="text-align:left">&#x83B7;&#x53D6;&#x6587;&#x672C;&#x6846;&#x503C;</td>
<td style="text-align:left">&#x2014;</td>
</tr>
</tbody>
</table>
<h2 id="&#x4E8B;&#x4EF6;">&#x4E8B;&#x4EF6;</h2>
<table>
<thead>
<tr>
<th style="text-align:left">&#x4E8B;&#x4EF6;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">BI.Editor.EVENT_CHANGE</td>
<td style="text-align:left">editor&#x7684;value&#x53D1;&#x751F;&#x6539;&#x53D8;&#x89E6;&#x53D1;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_FOCUS</td>
<td style="text-align:left">focus&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_BLUR</td>
<td style="text-align:left">blur&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_CLICK</td>
<td style="text-align:left">&#x70B9;&#x51FB;&#x7F16;&#x8F91;&#x6846;&#x89E6;&#x53D1;(&#x4E0D;&#x5728;&#x7F16;&#x8F91;&#x72B6;&#x6001;&#x65F6;)</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_KEY_DOWN</td>
<td style="text-align:left">keyDown&#x65F6;&#x89E6;&#x53D1;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_SPACE</td>
<td style="text-align:left">&#x6309;&#x4E0B;&#x7A7A;&#x683C;&#x89E6;&#x53D1;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_BACKSPACE</td>
<td style="text-align:left">&#x6309;&#x4E0B;Backspace&#x89E6;&#x53D1;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_START</td>
<td style="text-align:left">&#x5F00;&#x59CB;&#x8F93;&#x5165;&#x89E6;&#x53D1;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_PAUSE</td>
<td style="text-align:left">&#x6682;&#x505C;&#x8F93;&#x5165;&#x89E6;&#x53D1;(&#x8F93;&#x5165;&#x7A7A;&#x767D;&#x5B57;&#x7B26;)</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_STOP</td>
<td style="text-align:left">&#x505C;&#x6B62;&#x8F93;&#x5165;&#x89E6;&#x53D1;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_CONFIRM</td>
<td style="text-align:left">&#x786E;&#x5B9A;&#x8F93;&#x5165;&#x89E6;&#x53D1;&#xFF08;blur&#x65F6;&#x4E14;&#x8F93;&#x5165;&#x503C;&#x6709;&#x6548;&#xFF09;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_VALID</td>
<td style="text-align:left">&#x8F93;&#x5165;&#x503C;&#x6709;&#x6548;&#x7684;&#x72B6;&#x6001;&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_ERROR</td>
<td style="text-align:left">&#x8F93;&#x5165;&#x503C;&#x65E0;&#x6548;&#x7684;&#x72B6;&#x6001;&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_ENTER</td>
<td style="text-align:left">&#x56DE;&#x8F66;&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_RESTRICT</td>
<td style="text-align:left">&#x56DE;&#x8F66;&#x4F46;&#x662F;&#x503C;&#x4E0D;&#x5408;&#x6CD5;</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_REMOVE</td>
<td style="text-align:left">&#x8F93;&#x5165;&#x4E3A;&#x7A7A;&#x65F6;&#x6309;&#x4E0B;backspace</td>
</tr>
<tr>
<td style="text-align:left">BI.Editor.EVENT_EMPTY</td>
<td style="text-align:left">&#x8F93;&#x5165;&#x6846;&#x4E3A;&#x7A7A;&#x65F6;&#x89E6;&#x53D1;</td>
</tr>
</tbody>
</table>
<hr>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            

        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"state_editor","level":"5.2.4","depth":2,"next":{"title":"simple_state_editor","level":"5.2.5","depth":2,"path":"case/editor/simple_state_editor.md","ref":"case/editor/simple_state_editor.md","articles":[]},"previous":{"title":"sign_initial_editor","level":"5.2.3","depth":2,"path":"case/editor/sign_initial_editor.md","ref":"case/editor/sign_initial_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"case/editor/state_editor.md","mtime":"2017-09-17T09:27:52.632Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-02-01T01:17:55.855Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-jsfiddle/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-theme-api/theme-api.js"></script>
        
    

    </body>
</html>