예제 #1
0
        public static TableColumn createInsertTableColumn(Table tableModel, TConstant column, int columnIndex)
        {
            if (ModelBindingManager.getInsertModel(column) is TableColumn)
            {
                return((TableColumn)ModelBindingManager.getInsertModel(column));
            }
            TableColumn columnModel = new TableColumn(tableModel, column, columnIndex);

            ModelBindingManager.bindInsertModel(column, columnModel);
            return(columnModel);
        }
예제 #2
0
        public static TableColumn createInsertTableColumn(Table tableModel, TObjectName column)
        {
            if (ModelBindingManager.getInsertModel(column) is TableColumn)
            {
                return((TableColumn)ModelBindingManager.getInsertModel(column));
            }
            TableColumn columnModel = new TableColumn(tableModel, column);

            ModelBindingManager.bindInsertModel(column, columnModel);
            return(columnModel);
        }