亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jtablebinding.java

?? java屬性邦定的(JSR-295)的一個實現
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
        this.editable = editable;
    }

    /**
     * Returns whether or not the cells of the table should be editable.
     * The default for this property is {@code true}.
     * See this <a href="#EDITABILITY">paragraph</a> in the class level
     * documentation on editability.
     *
     * @return whether or not the cells of the table should be editable
     */
    public boolean isEditable() {
        return editable;
    }

    /**
     * Creates a {@code ColumnBinding} and adds it to the end of the list of {@code ColumnBindings}
     * maintained by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @param columnProperty the property with which to derive cell values from the
     *                       elements of the source {@code List}
     * @return the {@code ColumnBinding}
     * @throws IllegalArgumentException if {@code columnProperty} is {@code null}
     * @see org.jdesktop.swingbinding.JTableBinding.ColumnBinding
     */
    public ColumnBinding addColumnBinding(Property<E, ?> columnProperty) {
        return addColumnBinding(columnProperty, null);
    }

    /**
     * Creates a named {@code ColumnBinding} and adds it to the end of the list of {@code ColumnBindings}
     * maintained by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @param columnProperty the property with which to derive cell values from the
     *                       elements of the source {@code List}
     * @param name a name for the column binding
     * @return the {@code ColumnBinding}
     * @throws IllegalArgumentException if {@code columnProperty} is {@code null}
     * @see org.jdesktop.swingbinding.JTableBinding.ColumnBinding
     */
    public ColumnBinding addColumnBinding(Property<E, ?> columnProperty, String name) {
        throwIfBound();

        if (columnProperty == null) {
            throw new IllegalArgumentException("can't have null column property");
        }

        if (name == null && JTableBinding.this.getName() != null) {
            name = JTableBinding.this.getName() + ".COLUMN_BINDING";
        }

        ColumnBinding binding = new ColumnBinding(columnBindings.size(), columnProperty, name);
        columnBindings.add(binding);
        return binding;
    }

    /**
     * Creates a {@code ColumnBinding} and inserts it at the given index into the list
     * of {@code ColumnBindings} maintained by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @param index the index at which to insert the {@code ColumnBinding}
     * @param columnProperty the property with which to derive cell values from the
     *                       elements of the source {@code List}
     * @return the {@code ColumnBinding}
     * @throws IllegalArgumentException if {@code columnProperty} is {@code null}
     * @see org.jdesktop.swingbinding.JTableBinding.ColumnBinding
     */
    public ColumnBinding addColumnBinding(int index, Property<E, ?> columnProperty) {
        return addColumnBinding(index, columnProperty, null);
    }

    /**
     * Creates a {@code ColumnBinding} and inserts it at the given index into the list
     * of {@code ColumnBindings} maintained by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @param index the index at which to insert the {@code ColumnBinding}
     * @param columnProperty the property with which to derive cell values from the
     *                       elements of the source {@code List}
     * @param name a name for the {@code ColumnBinding}
     * @return the {@code ColumnBinding}
     * @throws IllegalArgumentException if {@code columnProperty} is {@code null}
     * @see org.jdesktop.swingbinding.JTableBinding.ColumnBinding
     */
    public ColumnBinding addColumnBinding(int index, Property<E, ?> columnProperty, String name) {
        throwIfBound();

        if (columnProperty == null) {
            throw new IllegalArgumentException("can't have null column property");
        }

        if (name == null && JTableBinding.this.getName() != null) {
            name = JTableBinding.this.getName() + ".COLUMN_BINDING";
        }
        
        ColumnBinding binding = new ColumnBinding(index, columnProperty, name);
        columnBindings.add(index, binding);
        adjustIndices(index + 1, true);
        return binding;
    }

    /**
     * Removes the given {@code ColumnBinding} from the list maintained
     * by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @param binding the {@code ColumnBinding} to remove
     * @see #addColumnBinding(Property, String)
     */
    public boolean removeColumnBinding(ColumnBinding binding) {
        throwIfBound();
        boolean retVal = columnBindings.remove(binding);

        if (retVal) {
            adjustIndices(binding.getColumn(), false);
        }

        return retVal;
    }

    /**
     * Removes the {@code ColumnBinding} with the given index from the list maintained
     * by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @param index the index of the {@code ColumnBinding} to remove
     * @see #addColumnBinding(Property, String)
     */
    public ColumnBinding removeColumnBinding(int index) {
        throwIfBound();
        ColumnBinding retVal = columnBindings.remove(index);
        
        if (retVal != null) {
            adjustIndices(index, false);
        }

        return retVal;
    }

    /**
     * Returns the {@code ColumnBinding} with the given index in the list maintained
     * by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @param index the index of the {@code ColumnBinding} to return
     * @return the {@code ColumnBinding} at the given index
     * @see #addColumnBinding(Property, String)
     */
    public ColumnBinding getColumnBinding(int index) {
        return columnBindings.get(index);
    }

    /**
     * Returns an unmodifiable copy of the list of {@code ColumnBindings} maintained
     * by this {@code JTableBinding}.
     * <p>
     * The list of {@code ColumnBindings} dictates the columns to be displayed in the
     * {@code JTable}, with a {@code ColumnBinding's} order in the list determining its
     * table model index.
     *
     * @return the list of {@code ColumnBindings}
     * @see #addColumnBinding(Property, String)
     */
    public List<ColumnBinding> getColumnBindings() {
        return Collections.unmodifiableList(columnBindings);
    }

    private void adjustIndices(int start, boolean up) {
        int size = columnBindings.size();
        for (int i = start; i < size; i++) {
            ColumnBinding cb = columnBindings.get(i);
            cb.adjustColumn(cb.getColumn() + (up ? 1 : -1));
        }
    }
    
    private final class ColumnProperty extends Property {
        private ColumnBinding binding;

        public Class<? extends Object> getWriteType(Object source) {
            return binding.columnClass == null ? Object.class : binding.columnClass;
        }

        public Object getValue(Object source) {
            if (binding.isBound()) {
                return binding.editingObject;
            }

            throw new UnsupportedOperationException();
        }

        public void setValue(Object source, Object value) {
            throw new UnsupportedOperationException();
        }

        public boolean isReadable(Object source) {
            return binding.isBound();
        }

        public boolean isWriteable(Object source) {
            return true;
        }

        public void addPropertyStateListener(Object source, PropertyStateListener listener) {
        }

        public void removePropertyStateListener(Object source, PropertyStateListener listener) {
        }

        public PropertyStateListener[] getPropertyStateListeners(Object source) {
            return new PropertyStateListener[0];
        }
    }

    /**
     * {@code ColumnBinding} represents a binding between a property of the elements
     * in the {@code JTableBinding's} source {@code List}, and a column in the table. Each
     * {@code ColumnBinding} added to a {@code JTableBinding} represents a column
     * to be displayed by the {@code JTable}. A value for any given row in a column
     * is aquired by fetching the value of the associated {@code ColumnBinding's}
     * source property for the element in the source {@code List} representing that row.
     * <p>
     * A {@code Converter} may be specified on a {@code ColumnBinding}, as may be
     * a {@code Validator}. Validation occurs at the time a cell value is to be
     * committed back to the source {@code List}.
     * <p>
     * {@code BindingListeners} registered on
     * a {@code ColumnBinding} are notified of successful {@code sync} or
     * {@code syncFailure}. These notifications are also sent to the
     * {@code JTableBinding's} {@code BindingListeners}.
     * <p>
     * {@code ColumnBindings} are managed by their {@code JTableBinding}. They are not
     * to be explicitly bound, unbound, added to a {@code BindingGroup}, or accessed
     * in a way that is not allowed for a managed binding.
     *
     * @see org.jdesktop.swingbinding.JTableBinding#addColumnBinding(Property, String)
     */
    public final class ColumnBinding extends AbstractColumnBinding {
        private Class<?> columnClass;
        private boolean editable = true;
        private boolean editableSet;
        private String columnName;
        private Object editingObject;

        private ColumnBinding(int column, Property<E, ?> columnProperty, String name) {
            super(column, columnProperty, new ColumnProperty(), name);
            ((ColumnProperty) getTargetProperty()).binding = this;
        }

        private void setEditingObject(Object editingObject) {
            this.editingObject = editingObject;
        }
        
        private void adjustColumn(int newCol) {
            setColumn(newCol);
        }

        /**

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本va欧美va精品发布| 国产精品麻豆99久久久久久| 三级欧美在线一区| 欧美日韩成人高清| 日本不卡的三区四区五区| 日韩午夜电影在线观看| 国模大尺度一区二区三区| 久久精品视频免费观看| 不卡欧美aaaaa| 一区二区三区四区不卡在线| 欧美性视频一区二区三区| 日韩精品久久久久久| 日韩欧美国产综合一区| 国产成人免费视频网站| 亚洲另类色综合网站| 欧美高清一级片在线| 经典三级视频一区| 综合欧美亚洲日本| 欧美日韩精品三区| 国产乱子伦视频一区二区三区| 国产精品国产三级国产普通话99 | 在线亚洲人成电影网站色www| 亚洲日本护士毛茸茸| 欧美日韩国产大片| 国产v日产∨综合v精品视频| 一区二区三区在线观看国产| 日韩一区二区精品在线观看| 99精品久久99久久久久| 人人精品人人爱| 综合婷婷亚洲小说| 日韩欧美国产高清| 在线视频你懂得一区二区三区| 久久 天天综合| 亚洲欧洲中文日韩久久av乱码| 日韩欧美不卡在线观看视频| 91在线国产观看| 久久精工是国产品牌吗| 亚洲天堂久久久久久久| 精品裸体舞一区二区三区| 日本韩国欧美一区二区三区| 极品销魂美女一区二区三区| 一区二区三区中文字幕| 久久久高清一区二区三区| 欧美三级一区二区| 成人免费黄色在线| 日本成人在线视频网站| 一区二区三区在线视频免费| 国产日韩av一区| 欧美一级欧美一级在线播放| 色哟哟国产精品免费观看| 国产永久精品大片wwwapp | 蜜臀91精品一区二区三区| 国产精品福利影院| 久久亚洲精精品中文字幕早川悠里| 色偷偷一区二区三区| 国产一区二区三区黄视频 | 日韩精品一区二区在线观看| 91国产成人在线| 成人午夜免费av| 久久99精品久久久久久动态图| 亚洲狠狠爱一区二区三区| 亚洲欧美激情插| 中文字幕一区二区三区精华液| 久久久久久麻豆| 精品成a人在线观看| 欧美一级淫片007| 91精品综合久久久久久| 欧美午夜精品一区| 日本二三区不卡| 在线看日韩精品电影| 91豆麻精品91久久久久久| 91麻豆文化传媒在线观看| 99在线热播精品免费| a在线欧美一区| 成人精品免费视频| eeuss鲁片一区二区三区在线观看| 国产精品影视在线观看| 韩国一区二区视频| 国产高清亚洲一区| 成人性生交大合| 99久久99久久综合| 菠萝蜜视频在线观看一区| 99麻豆久久久国产精品免费| 成人av电影在线网| 91色九色蝌蚪| 欧美日韩午夜精品| 日韩欧美一区二区久久婷婷| 精品国产1区2区3区| 久久久久久9999| 中文字幕国产一区| 136国产福利精品导航| 亚洲美女视频在线观看| 亚洲福利国产精品| 蜜臀av在线播放一区二区三区| 黑人巨大精品欧美黑白配亚洲| 国产不卡视频一区二区三区| 99视频一区二区| 欧美亚洲综合在线| 日韩欧美国产三级| 中文字幕一区二区三区四区不卡 | 日韩一级二级三级精品视频| 精品卡一卡二卡三卡四在线| 欧美国产日韩在线观看| 一区二区三区精品久久久| 青青草91视频| 成人福利视频网站| 欧美日韩久久一区| 国产视频亚洲色图| 亚洲图片自拍偷拍| 国产黑丝在线一区二区三区| 91女厕偷拍女厕偷拍高清| 911精品国产一区二区在线| 精品国产伦一区二区三区免费 | 色播五月激情综合网| 欧美视频一区二区三区四区| 6080国产精品一区二区| 不卡av在线网| 日韩视频永久免费| 国产精品美女久久久久aⅴ| 亚洲人成人一区二区在线观看| 中文字幕亚洲在| 亚洲国产综合视频在线观看| 免费精品视频在线| av动漫一区二区| 日韩一区二区三区四区| 国产精品免费视频一区| 一区二区三区四区在线免费观看| 亚洲 欧美综合在线网络| 国产一区二区三区高清播放| 一本色道久久综合亚洲精品按摩| 在线观看免费视频综合| 制服丝袜成人动漫| 一区二区三区美女视频| 麻豆精品视频在线观看免费| www.亚洲在线| 3d成人h动漫网站入口| 国产午夜精品一区二区| 亚洲一区二区三区四区五区中文| 蓝色福利精品导航| 欧美午夜精品理论片a级按摩| 欧美精品一区二区三区四区 | 亚洲一区二区三区四区在线免费观看 | 久久精品人人做| 日本麻豆一区二区三区视频| 成人av手机在线观看| 欧美一区二区在线观看| 亚洲国产成人私人影院tom| 亚洲国产日韩精品| 加勒比av一区二区| 日韩欧美专区在线| 一区二区三区久久久| 国产.精品.日韩.另类.中文.在线.播放| 欧美亚洲国产bt| 一区二区三区精品视频在线| 成人综合在线观看| 精品日韩在线观看| 亚洲福利视频三区| 色8久久精品久久久久久蜜| 国产精品视频免费看| 激情图片小说一区| 欧美日韩精品三区| 日韩一区欧美小说| 99精品国产视频| 久久蜜桃av一区精品变态类天堂| 亚洲va韩国va欧美va精品| 99久久久久久99| 亚洲人成网站在线| 成人av综合一区| 久久久久久免费| 免费观看91视频大全| 日韩精品一区二区在线观看| 亚洲成人av电影在线| 色香蕉成人二区免费| 久久久久久久久久久久久女国产乱| 美女国产一区二区| 91精品国产综合久久小美女| 一区二区欧美在线观看| 精品视频123区在线观看| 亚洲精品视频一区二区| 91亚洲精品久久久蜜桃网站| 国产精品沙发午睡系列990531| 99re亚洲国产精品| 中文字幕电影一区| 成人午夜在线播放| 久久久久久亚洲综合| 91在线视频播放| 伊人色综合久久天天人手人婷| 99re热这里只有精品免费视频| 国产精品嫩草影院com| 成人高清视频免费观看| 国产精品国产三级国产普通话99| 成人黄页在线观看| 亚洲国产一区二区视频| 欧美无乱码久久久免费午夜一区| 一区二区三区四区乱视频| 欧美日韩中文一区| 久久99热国产| 欧美国产综合色视频| 欧美视频一区二区三区在线观看| 五月激情综合网|