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

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

?? oldjtable.java

?? 進銷存1.1(JSP版) 很不錯得一個例子。希望能對大家有幫組。
?? JAVA
字號:
/* * @(#)OldJTable.java	1.6 01/12/03 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */import java.lang.Thread;import java.util.*;import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.event.*;import javax.swing.plaf.*;import javax.swing.table.*;/** *  The OldJTable is an unsupported class containing some methods that were  *  deleted from the JTable between releases 0.6 and 0.7 */public class OldJTable extends JTable{   /*    *  A new convenience method returning the index of the column in the co-ordinate     *  space of the view.     */    public int getColumnIndex(Object identifier) {         return getColumnModel().getColumnIndex(identifier);     }    // //  Methods deleted from the JTable because they only work with the //  DefaultTableModel. //    public TableColumn addColumn(Object columnIdentifier, int width) {	return addColumn(columnIdentifier, width, null, null, null);    }    public TableColumn addColumn(Object columnIdentifier, Vector columnData) {	return addColumn(columnIdentifier, -1, null, null, columnData);    }    // Override the new JTable implementation - it will not add a column to the     // DefaultTableModel.     public TableColumn addColumn(Object columnIdentifier, int width,				 TableCellRenderer renderer,				 TableCellEditor editor) {        return addColumn(columnIdentifier, width, renderer, editor, null);    }    public TableColumn addColumn(Object columnIdentifier, int width,				 TableCellRenderer renderer,				 TableCellEditor editor, Vector columnData) {	checkDefaultTableModel();	// Set up the model side first	DefaultTableModel m = (DefaultTableModel)getModel(); 	m.addColumn(columnIdentifier, columnData);		// The column will have been added to the end, so the index of the 	// column in the model is the last element. 	TableColumn newColumn = new TableColumn(m.getColumnCount()-1, width, renderer, editor);         super.addColumn(newColumn);         return newColumn;     }    // Not possilble to make this work the same way ... change it so that     // it does not delete columns from the model.     public void removeColumn(Object columnIdentifier) {	super.removeColumn(getColumn(columnIdentifier));    }    public void addRow(Object[] rowData) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).addRow(rowData);    }    public void addRow(Vector rowData) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).addRow(rowData);    }        public void removeRow(int rowIndex) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).removeRow(rowIndex);    }    public void moveRow(int startIndex, int endIndex, int toIndex) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).moveRow(startIndex, endIndex, toIndex);    }    public void insertRow(int rowIndex, Object[] rowData) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).insertRow(rowIndex, rowData);    }    public void insertRow(int rowIndex, Vector rowData) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).insertRow(rowIndex, rowData);    }    public void setNumRows(int newSize) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).setNumRows(newSize);    }    public void setDataVector(Vector newData, Vector columnIds) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).setDataVector(newData, columnIds);    }    public void setDataVector(Object[][] newData, Object[] columnIds) {	checkDefaultTableModel();	((DefaultTableModel)getModel()).setDataVector(newData, columnIds);    }            protected void checkDefaultTableModel() {        if(!(dataModel instanceof DefaultTableModel))            throw new InternalError("In order to use this method, the data model must be an instance of DefaultTableModel.");    }////  Methods removed from JTable in the move from identifiers to ints. //    public Object getValueAt(Object columnIdentifier, int rowIndex) {	return  super.getValueAt(rowIndex, getColumnIndex(columnIdentifier));    }        public boolean isCellEditable(Object columnIdentifier, int rowIndex) {	return  super.isCellEditable(rowIndex, getColumnIndex(columnIdentifier));    }        public void setValueAt(Object aValue, Object columnIdentifier, int rowIndex) {	super.setValueAt(aValue, rowIndex, getColumnIndex(columnIdentifier));    }    public boolean editColumnRow(Object identifier, int row) {	return super.editCellAt(row, getColumnIndex(identifier));    }    public void moveColumn(Object columnIdentifier, Object targetColumnIdentifier) {	moveColumn(getColumnIndex(columnIdentifier),		   getColumnIndex(targetColumnIdentifier));    }    public boolean isColumnSelected(Object identifier) { 	return isColumnSelected(getColumnIndex(identifier));    }    public TableColumn addColumn(int modelColumn, int width) {	return addColumn(modelColumn, width, null, null);    }    public TableColumn addColumn(int modelColumn) {	return addColumn(modelColumn, 75, null, null);    }        /**     *  Creates a new column with <I>modelColumn</I>, <I>width</I>,     *  <I>renderer</I>, and <I>editor</I> and adds it to the end of     *  the JTable's array of columns. This method also retrieves the     *  name of the column using the model's <I>getColumnName(modelColumn)</I>     *  method, and sets the both the header value and the identifier     *  for this TableColumn accordingly.     *  <p>     *  The <I>modelColumn</I> is the index of the column in the model which     *  will supply the data for this column in the table. This, like the     *  <I>columnIdentifier</I> in previous releases, does not change as the     *  columns are moved in the view.     *  <p>     *  For the rest of the JTable API, and all of its associated classes,     *  columns are referred to in the co-ordinate system of the view, the     *  index of the column in the model is kept inside the TableColumn     *  and is used only to retrieve the information from the appropraite     *  column in the model.     *  <p>     *     *  @param	modelColumn     The index of the column in the model     *  @param	width		The new column's width.  Or -1 to use     *				the default width     *  @param	renderer	The renderer used with the new column.     *				Or null to use the default renderer.     *  @param	editor		The editor used with the new column.     *				Or null to use the default editor.     */    public TableColumn addColumn(int modelColumn, int width,				 TableCellRenderer renderer,				 TableCellEditor editor) {	TableColumn newColumn = new TableColumn(modelColumn, width, renderer, editor);        	addColumn(newColumn); 	return newColumn;     }////  Methods that had their arguments switched. //// These won't work with the new table package. /*      public Object getValueAt(int columnIndex, int rowIndex) {	return super.getValueAt(rowIndex, columnIndex);    }    public boolean isCellEditable(int columnIndex, int rowIndex) {	return super.isCellEditable(rowIndex, columnIndex);    }        public void setValueAt(Object aValue, int columnIndex, int rowIndex) {        super.setValueAt(aValue, rowIndex, columnIndex);     }*/    public boolean editColumnRow(int columnIndex, int rowIndex) {	return super.editCellAt(rowIndex, columnIndex);    }    public boolean editColumnRow(int columnIndex, int rowIndex, EventObject e){        return super.editCellAt(rowIndex, columnIndex, e);     }}  // End Of Class OldJTable

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲va欧美va人人爽午夜| 欧美精品一区二区三区在线播放| 亚洲丝袜美腿综合| 色婷婷综合久久久久中文 | 日韩电影在线免费| 91精品国产综合久久香蕉麻豆| 日韩精品福利网| 欧美一区二区性放荡片| 国产一区二区三区精品欧美日韩一区二区三区| 精品久久久久99| 成人在线视频一区二区| 亚洲欧美偷拍三级| 5月丁香婷婷综合| 国产成人精品免费看| 亚洲欧洲韩国日本视频| 在线观看日产精品| 卡一卡二国产精品| 国产精品电影一区二区三区| 欧洲一区在线观看| 黑人巨大精品欧美一区| 日韩久久一区二区| 日韩三级精品电影久久久| 国产精品一区二区在线观看网站| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 日韩avvvv在线播放| 亚洲精品在线观看网站| 色婷婷综合中文久久一本| 青青草成人在线观看| 中文字幕一区二区日韩精品绯色| 欧美日韩视频在线第一区| 国产不卡视频在线观看| 日日摸夜夜添夜夜添亚洲女人| 国产亚洲污的网站| 欧美一区二区精品久久911| 成人福利视频在线看| 蜜桃久久久久久| 亚洲伦在线观看| 久久久国产午夜精品| 欧美日韩精品一区二区天天拍小说| 国产麻豆成人传媒免费观看| 亚洲国产精品一区二区www在线| 国产日韩精品一区| 日韩欧美一级特黄在线播放| 91原创在线视频| 国产精品 欧美精品| 日韩精品免费视频人成| 一区二区三区在线观看欧美| 久久久99精品久久| 欧美日韩精品一区二区三区| 岛国一区二区三区| 蜜桃久久av一区| 亚洲成在人线免费| 亚洲另类在线视频| 中文字幕+乱码+中文字幕一区| 日韩视频免费观看高清在线视频| 色狠狠色噜噜噜综合网| 成人黄色小视频| 国产精品一二三区在线| 国产成人精品免费一区二区| 午夜av区久久| 亚洲午夜在线电影| 亚洲伦在线观看| 亚洲久草在线视频| 亚洲男人电影天堂| 玉足女爽爽91| 一区二区在线免费| 一区二区三国产精华液| 一区二区三区在线观看国产| 亚洲免费成人av| 亚洲欧美日韩一区二区三区在线观看| 国产精品视频线看| 国产精品白丝在线| 中文字幕亚洲欧美在线不卡| 国产精品毛片久久久久久久| 中文字幕乱码久久午夜不卡| 国产日韩精品一区二区三区| 国产精品情趣视频| 亚洲手机成人高清视频| 一区二区视频在线看| 亚洲一区电影777| 亚洲成人动漫一区| 蜜臀av一区二区在线免费观看| 日韩av中文字幕一区二区| 日韩成人伦理电影在线观看| 裸体健美xxxx欧美裸体表演| 狠狠色2019综合网| 国产福利电影一区二区三区| 成人精品国产福利| 色94色欧美sute亚洲13| 欧美三区在线视频| 日韩一区二区在线观看视频播放| 日韩一二三区视频| 久久久99精品免费观看| 亚洲国产岛国毛片在线| 亚洲精品日韩综合观看成人91| 亚洲高清免费观看| 蜜桃av一区二区在线观看| 韩国成人福利片在线播放| 成人美女视频在线观看18| 91麻豆免费在线观看| 欧美三电影在线| 精品福利av导航| 欧美国产禁国产网站cc| 亚洲免费在线视频| 手机精品视频在线观看| 国产最新精品免费| 91免费版pro下载短视频| 91精品欧美久久久久久动漫| 久久免费精品国产久精品久久久久| 国产精品久久久久久久蜜臀| 亚洲超碰精品一区二区| 狠狠色丁香久久婷婷综合_中| 91在线观看污| 欧美一级xxx| 国产精品护士白丝一区av| 视频一区二区中文字幕| 成人精品在线视频观看| 欧美精品18+| 国产精品三级视频| 免费在线欧美视频| 成人黄色777网| 欧美日韩国产三级| 国产精品理伦片| 免费在线观看视频一区| 色综合夜色一区| www成人在线观看| 亚洲第一综合色| av一区二区久久| 亚洲精品一区二区三区四区高清| 亚洲三级电影网站| 国产一区二区剧情av在线| 在线精品视频免费播放| 国产无一区二区| 日韩国产精品大片| 在线观看91视频| 亚洲欧洲日产国码二区| 国产精品资源站在线| 56国语精品自产拍在线观看| 亚洲日本韩国一区| 风间由美一区二区三区在线观看 | 欧美三级日本三级少妇99| 欧美激情一区二区三区| 激情综合网天天干| 欧美剧在线免费观看网站| 综合电影一区二区三区 | 欧美国产一区在线| 激情五月激情综合网| 欧美美女一区二区| 亚洲老司机在线| 91麻豆蜜桃一区二区三区| 国产三区在线成人av| 精品系列免费在线观看| 日韩一区二区免费高清| 亚洲动漫第一页| 欧美日韩视频第一区| 亚洲成人免费在线| 欧美日韩免费观看一区三区| 一区二区三区在线观看欧美| 99国产精品久久久久久久久久 | 一区二区久久久| 色婷婷av一区二区| 亚洲综合色婷婷| 91激情五月电影| 亚洲午夜国产一区99re久久| 欧美专区日韩专区| 亚洲一区二区高清| 欧美精品在欧美一区二区少妇| 亚洲国产一区视频| 欧美日韩三级在线| 日本网站在线观看一区二区三区 | 久久精品亚洲乱码伦伦中文| 国产中文字幕精品| 久久久久久久久久久久久女国产乱| 狠狠久久亚洲欧美| 中国色在线观看另类| 成人国产一区二区三区精品| 国产精品久久久一本精品| 99r国产精品| 亚洲一二三四在线观看| 欧美日韩精品系列| 久久电影国产免费久久电影| 精品处破学生在线二十三| 国产馆精品极品| 国产精品蜜臀av| 91福利国产精品| 蜜桃视频第一区免费观看| 久久综合狠狠综合久久激情| 粉嫩绯色av一区二区在线观看| 国产精品久久久久久久久图文区| 日本韩国精品在线| 奇米精品一区二区三区在线观看一| 欧美成人官网二区| eeuss国产一区二区三区| 一区二区三区日韩| 日韩欧美电影一二三| 成人亚洲一区二区一| 亚洲国产精品一区二区久久恐怖片| 日韩欧美电影一二三| 91在线观看美女| 美女在线一区二区|