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

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

?? jtable.java

?? linux下建立JAVA虛擬機的源碼KAFFE
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
  /**   * A table mapping {@link java.lang.Class} objects to    * {@link TableCellEditor} objects. This table is consulted by the    * FIXME   */  protected Hashtable defaultRenderersByColumnClass;  /**   * The column that is edited, -1 if the table is not edited currently.   */  protected int editingColumn;  /**   * The row that is edited, -1 if the table is not edited currently.   */  protected int editingRow;  /**   * The component that is used for editing.   * <code>null</code> if the table is not editing currently.   *   */  protected transient Component editorComp;  /**   * Whether or not the table should automatically compute a matching   * {@link TableColumnModel} and assign it to the {@link #columnModel}   * property when the {@link #dataModel} property is changed.    *   * @see #setModel(TableModel)   * @see #createDefaultColumnsFromModel()   * @see #setColumnModel(TableColumnModel)   * @see #setAutoCreateColumnsFromModel(boolean)   * @see #getAutoCreateColumnsFromModel()   */  protected boolean autoCreateColumnsFromModel;  /**   * A numeric code specifying the resizing behavior of the table. Must be   * one of {@link #AUTO_RESIZE_ALL_COLUMNS} (the default), {@link   * #AUTO_RESIZE_LAST_COLUMN}, {@link #AUTO_RESIZE_NEXT_COLUMN}, {@link   * #AUTO_RESIZE_SUBSEQUENT_COLUMNS}, or {@link #AUTO_RESIZE_OFF}.   *    * @see #doLayout()   * @see #setAutoResizeMode(int)   * @see #getAutoResizeMode()   */  protected int autoResizeMode;  /**   * The height in pixels of any row of the table. All rows in a table are   * of uniform height. This differs from column width, which varies on a   * per-column basis, and is stored in the individual columns of the   * {@link #columnModel}.   *    * @see #getRowHeight()   * @see #setRowHeight(int)   * @see TableColumn#getWidth()   * @see TableColumn#setWidth(int)   */  protected int rowHeight;  /**   * The height in pixels of the gap left between any two rows of the table.    *    * @see #setRowMargin(int)   * @see #getRowHeight()   * @see #getIntercellSpacing()   * @see #setIntercellSpacing(Dimension)   * @see TableColumnModel#getColumnMargin()   * @see TableColumnModel#setColumnMargin(int)   */  protected int rowMargin;  /**   * Whether or not the table should allow row selection. If the table   * allows both row <em>and</em> column selection, it is said to allow   * "cell selection". Previous versions of the JDK supported cell   * selection as an independent concept, but it is now represented solely   * in terms of simultaneous row and column selection.   *   * @see TableColumnModel#getColumnSelectionAllowed()   * @see #setRowSelectionAllowed(boolean)   * @see #getRowSelectionAllowed()   * @see #getCellSelectionEnabled()   * @see #setCellSelectionEnabled(boolean)   */  protected boolean rowSelectionAllowed;  /**   * Obsolete. Use {@link #rowSelectionAllowed}, {@link    * #getColumnSelectionAllowed}, or the combined methods {@link   * #getCellSelectionEnabled} and {@link #setCellSelectionEnabled(boolean)}.   */  protected boolean cellSelectionEnabled;    /**   * The model for data stored in the table. Confusingly, the published API   * requires that this field be called <code>dataModel</code>, despite its   * property name. The table listens to its model as a {@link   * TableModelListener}.   *   * @see #tableChanged(TableModelEvent)   * @see TableModel#addTableModelListener(TableModelListener)   */  protected TableModel dataModel;  /**   * <p>A model of various aspects of the columns of the table, <em>not   * including</em> the data stored in them. The {@link TableColumnModel}   * is principally concerned with holding a set of {@link TableColumn}   * objects, each of which describes the display parameters of a column   * and the numeric index of the column from the data model which the   * column is presenting.</p>   *   * <p>The TableColumnModel also contains a {@link ListSelectionModel} which   * indicates which columns are currently selected. This selection model   * works in combination with the {@link #selectionModel} of the table   * itself to specify a <em>table selection</em>: a combination of row and   * column selections.</p>   *   * <p>Most application programmers do not need to work with this property   * at all: setting {@link #autoCreateColumnsFromModel} will construct the   * columnModel automatically, and the table acts as a facade for most of   * the interesting properties of the columnModel anyways.</p>   *    * @see #setColumnModel(TableColumnModel)   * @see #getColumnModel()   */  protected TableColumnModel columnModel;  /**   * A model of the rows of this table which are currently selected. This   * model is used in combination with the column selection model held as a   * member of the {@link #columnModel} property, to represent the rows and   * columns (or both: cells) of the table which are currently selected.   *   * @see #rowSelectionAllowed   * @see #setSelectionModel(ListSelectionModel)   * @see #getSelectionModel()   * @see TableColumnModel#getSelectionModel()   * @see ListSelectionModel#addListSelectionListener(ListSelectionListener)      */  protected ListSelectionModel selectionModel;  /**   * The current cell editor.    */  protected TableCellEditor cellEditor;  /**   * Whether or not drag-and-drop is enabled on this table.   *   * @see #setDragEnabled(boolean)   * @see #getDragEnabled()   */  private boolean dragEnabled;  /**   * The color to paint the grid lines of the table, when either {@link   * #showHorizontalLines} or {@link #showVerticalLines} is set.   *   * @see #setGridColor(Color)   * @see #getGridColor()   */  protected Color gridColor;  /**   * The size this table would prefer its viewport assume, if it is   * contained in a {@link JScrollPane}.   *   * @see #setPreferredScrollableViewportSize(Dimension)   * @see #getPreferredScrollableViewportSize()   */  protected Dimension preferredViewportSize;  /**   * The color to paint the background of selected cells. Fires a property   * change event with name {@link #SELECTION_BACKGROUND_CHANGED_PROPERTY}   * when its value changes.   *   * @see #setSelectionBackground(Color)   * @see #getSelectionBackground()   */  protected Color selectionBackground;  /**   * The name carried in property change events when the {@link   * #selectionBackground} property changes.   */  private static final String SELECTION_BACKGROUND_CHANGED_PROPERTY = "selectionBackground";  /**   * The color to paint the foreground of selected cells. Fires a property   * change event with name {@link #SELECTION_FOREGROUND_CHANGED_PROPERTY}   * when its value changes.   *   * @see #setSelectionForeground(Color)   * @see #getSelectionForeground()   */  protected Color selectionForeground;  /**   * The name carried in property change events when the   * {@link #selectionForeground} property changes.   */  private static final String SELECTION_FOREGROUND_CHANGED_PROPERTY = "selectionForeground";  /**   * The showHorizontalLines property.   */  protected boolean showHorizontalLines;  /**   * The showVerticalLines property.   */  protected boolean showVerticalLines;  /**   * The tableHeader property.   */  protected JTableHeader tableHeader;  /**   * The property handler for this table's columns.   */  TableColumnPropertyChangeHandler tableColumnPropertyChangeHandler =    new TableColumnPropertyChangeHandler();  /**   * Whether cell editors should receive keyboard focus when the table is   * activated.   */  private boolean surrendersFocusOnKeystroke = false;  /**   * A Rectangle object to be reused in {@link #getCellRect}.    */  private Rectangle rectCache = new Rectangle();  /**   * Creates a new <code>JTable</code> instance.   */  public JTable ()  {    this(null, null, null);  }  /**   * Creates a new <code>JTable</code> instance with the given number   * of rows and columns.   *   * @param numRows an <code>int</code> value   * @param numColumns an <code>int</code> value   */  public JTable (int numRows, int numColumns)  {    this(new DefaultTableModel(numRows, numColumns));  }  /**   * Creates a new <code>JTable</code> instance, storing the given data    * array and heaving the given column names. To see the column names,   * you must place the JTable into the {@link JScrollPane}.   *   * @param data an <code>Object[][]</code> the table data   * @param columnNames an <code>Object[]</code> the column headers   */  public JTable(Object[][] data, Object[] columnNames)  {    this(new DefaultTableModel(data, columnNames));  }  /**   * Creates a new <code>JTable</code> instance, using the given data model   * object that provides information about the table content. The table model   * object is asked for the table size, other features and also receives   * notifications in the case when the table has been edited by the user.   *    * @param model   *          the table model.   */  public JTable (TableModel model)  {    this(model, null, null);  }  /**   * Creates a new <code>JTable</code> instance, using the given model object   * that provides information about the table content. The table data model   * object is asked for the table size, other features and also receives   * notifications in the case when the table has been edited by the user. The   * table column model provides more detailed control on the table column   * related features.   *    * @param dm   *          the table data mode   * @param cm   *          the table column model   */  public JTable (TableModel dm, TableColumnModel cm)  {    this(dm, cm, null);  }  /**   * Creates a new <code>JTable</code> instance, providing data model,   * column model and list selection model. The list selection model   * manages the selections.   *   * @param dm data model (manages table data)   * @param cm column model (manages table columns)   * @param sm list selection model (manages table selections)   */  public JTable (TableModel dm, TableColumnModel cm, ListSelectionModel sm)  {    boolean autoCreate = false;    if (cm != null)        setColumnModel(cm);    else       {        setColumnModel(createDefaultColumnModel());        autoCreate = true;      }            setSelectionModel(sm == null ? createDefaultSelectionModel() : sm);    setModel(dm == null ? createDefaultDataModel() : dm);    setAutoCreateColumnsFromModel(autoCreate);    initializeLocalVars();    // The following four lines properly set the lead selection indices.    // After this, the UI will handle the lead selection indices.    // FIXME: this should probably not be necessary, if the UI is installed    // before the TableModel is set then the UI will handle things on its    // own, but certain variables need to be set before the UI can be installed    // so we must get the correct order for all the method calls in this    // constructor.    selectionModel.setAnchorSelectionIndex(0);        selectionModel.setLeadSelectionIndex(0);    columnModel.getSelectionModel().setAnchorSelectionIndex(0);    columnModel.getSelectionModel().setLeadSelectionIndex(0);    updateUI();  }    /**   * Creates a new <code>JTable</code> instance that uses data and column   * names, stored in {@link Vector}s.   *   * @param data the table data   * @param columnNames the table column names.   */  public JTable(Vector data, Vector columnNames)  {    this(new DefaultTableModel(data, columnNames));  }      /**   * Initialize local variables to default values.   */  protected void initializeLocalVars()  {    setTableHeader(createDefaultTableHeader());    if (autoCreateColumnsFromModel)      createDefaultColumnsFromModel();    this.columnModel.addColumnModelListener(this);        this.defaultRenderersByColumnClass = new Hashtable();    createDefaultRenderers();    this.defaultEditorsByColumnClass = new Hashtable();    createDefaultEditors();    this.autoResizeMode = AUTO_RESIZE_SUBSEQUENT_COLUMNS;    this.rowHeight = 16;    this.rowMargin = 1;    this.rowSelectionAllowed = true;    // this.accessibleContext = new AccessibleJTable();    this.cellEditor = null;    // COMPAT: Both Sun and IBM have drag enabled    this.dragEnabled = true;    this.preferredViewportSize = new Dimension(450,400);    this.showHorizontalLines = true;    this.showVerticalLines = true;    this.editingColumn = -1;    this.editingRow = -1;    setIntercellSpacing(new Dimension(1,1));  }    /**   * Add the new table column. The table column class allows to specify column   * features more precisely, setting the preferred width, column data type   * (column class) and table headers.   *    * There is no need the add columns to the table if the default column    * handling is sufficient.   *    * @param column   *          the new column to add.   */  public void addColumn(TableColumn column)  {    if (column.getHeaderValue() == null)      {        String name = dataModel.getColumnName(column.getModelIndex());        column.setHeaderValue(name);      }        columnModel.addColumn(column);    column.addPropertyChangeListener(tableColumnPropertyChangeHandler);  }    /**   * Create the default editors for this table. The default method creates   * the editor for Booleans.   *    * Other fields are edited as strings at the moment.   */  protected void createDefaultEditors()  {    JCheckBox box = new BooleanCellRenderer().getCheckBox();    setDefaultEditor(Boolean.class, new DefaultCellEditor(box));  }    /**   * Create the default renderers for this table. The default method creates   * renderers for Boolean, Number, Double, Date, Icon and ImageIcon.   *   */  protected void createDefaultRenderers()  {    setDefaultRenderer(Boolean.class, new BooleanCellRenderer());    setDefaultRenderer(Number.class, new NumberCellRenderer());    setDefaultRenderer(Double.class, new DoubleCellRenderer());    setDefaultRenderer(Double.class, new FloatCellRenderer());    setDefaultRenderer(Date.class, new DateCellRenderer());    setDefaultRenderer(Icon.class, new IconCellRenderer());    setDefaultRenderer(ImageIcon.class, new IconCellRenderer());      }    /**   * @deprecated 1.0.2, replaced by <code>new JScrollPane(JTable)</code>   */  public static JScrollPane createScrollPaneForTable(JTable table)  {    return new JScrollPane(table);  }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99热国产精品| 亚洲精品国产高清久久伦理二区| 久久超碰97人人做人人爱| 欧美一区二区视频在线观看2020| 免费人成黄页网站在线一区二区| 日韩在线一二三区| 91首页免费视频| 久久久蜜桃精品| 三级在线观看一区二区 | 精品理论电影在线观看| 亚洲一区免费观看| 99综合影院在线| 久久精品一级爱片| 久久精品国产亚洲aⅴ| 欧美精品xxxxbbbb| 亚洲一区二区偷拍精品| 色综合天天综合网国产成人综合天| 久久蜜桃av一区二区天堂| 午夜精品久久久久久不卡8050| 99精品国产99久久久久久白柏| 国产亚洲精久久久久久| 国产一区二区三区国产| 欧美一二三四区在线| 亚洲超碰97人人做人人爱| 色综合久久99| 中文字幕日韩av资源站| www.欧美.com| 中文字幕不卡在线观看| 国产成人精品影视| 久久久99免费| 国产精品91一区二区| 久久人人97超碰com| 在线观看日韩av先锋影音电影院| 国产精品网曝门| 国产黄色91视频| 在线视频一区二区三区| 亚洲靠逼com| 成人黄色av网站在线| 国产精品免费免费| av亚洲产国偷v产偷v自拍| 国产精品国产三级国产普通话99| 成人免费观看男女羞羞视频| 国产精品免费观看视频| 不卡av免费在线观看| 日韩毛片高清在线播放| 91年精品国产| 亚洲最色的网站| 欧美日韩精品系列| 日日欢夜夜爽一区| 欧美不卡一二三| 国产一区二区在线看| 久久久精品蜜桃| 成人国产精品免费| 国产精品不卡在线| 欧美在线不卡视频| 日韩精品一二三| 日韩精品一区二| 高清久久久久久| 亚洲欧美日韩国产综合在线| 在线影视一区二区三区| 天天综合色天天综合色h| 日韩欧美国产精品一区| 国产一区二区三区美女| 欧美韩国一区二区| 色婷婷精品大视频在线蜜桃视频| 亚洲成a人v欧美综合天堂 | 99久久er热在这里只有精品66| 亚洲图片你懂的| 欧美日韩午夜精品| 麻豆精品一区二区av白丝在线| 国产视频在线观看一区二区三区| 99精品久久只有精品| 视频一区二区中文字幕| 久久久亚洲精品石原莉奈| www.成人网.com| 午夜天堂影视香蕉久久| 久久蜜桃av一区二区天堂| 91丨porny丨蝌蚪视频| 日韩制服丝袜先锋影音| 中文字幕成人网| 欧美日韩精品福利| 国产麻豆欧美日韩一区| 一区二区三区视频在线看| 欧美不卡视频一区| 色综合天天综合在线视频| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产欧美一区二区三区网站 | 白白色亚洲国产精品| 亚洲国产视频在线| 久久综合久久综合九色| 色综合久久中文字幕| 久久精品99久久久| 亚洲三级免费电影| 亚洲国产精品一区二区久久恐怖片| 日韩欧美高清dvd碟片| av一本久道久久综合久久鬼色| 日韩国产在线观看| 国产精品天天看| 日韩视频免费观看高清完整版| 成人av高清在线| 久久精品国产免费| 一区二区视频在线看| 久久久综合九色合综国产精品| 欧美少妇bbb| 成人久久久精品乱码一区二区三区| 日韩中文字幕av电影| 亚洲欧洲av在线| 久久综合一区二区| 欧美日韩1234| 99精品视频一区| 国产一区999| 日韩精品电影在线| 亚洲精品视频一区| 欧美国产丝袜视频| 精品久久久久一区二区国产| 欧美日韩精品一区二区天天拍小说| 国产98色在线|日韩| 久久不见久久见免费视频1| 夜夜嗨av一区二区三区四季av| 久久久不卡网国产精品二区| 91精品国产手机| 在线精品视频一区二区| 处破女av一区二区| 国内国产精品久久| 免费一级片91| 日韩精品一二三| 亚洲va在线va天堂| 亚洲乱码国产乱码精品精小说| 亚洲国产精品黑人久久久| 日韩欧美国产成人一区二区| 欧美日韩精品欧美日韩精品一综合| 99re6这里只有精品视频在线观看| 国产一区不卡在线| 久久国产婷婷国产香蕉| 天堂蜜桃91精品| 亚洲午夜精品网| 亚洲一区中文日韩| 一区二区三区成人| 亚洲欧美日韩电影| 日韩美女视频一区| 亚洲色图制服丝袜| 亚洲天堂免费看| 中文字幕亚洲成人| 国产精品国产成人国产三级| 欧美高清一级片在线观看| 久久久久久亚洲综合影院红桃| 日韩精品在线看片z| 欧美成人艳星乳罩| 欧美大片一区二区| 日韩手机在线导航| 欧美成人一区二区三区片免费| 日韩欧美国产1| 欧美精品一区二区三区高清aⅴ| 欧美不卡在线视频| 久久综合九色综合欧美就去吻| 久久嫩草精品久久久精品一| 2022国产精品视频| 久久亚洲精品国产精品紫薇| 久久―日本道色综合久久| 久久精品人人做| 国产精品久久一级| 亚洲日本在线视频观看| 亚洲精品成a人| 婷婷亚洲久悠悠色悠在线播放| 日韩精品一级中文字幕精品视频免费观看 | 日韩一区二区视频| 日韩免费电影网站| 国产亚洲制服色| 亚洲欧洲av另类| 亚洲午夜久久久久久久久久久 | 久久久久久久久久久久久夜| 久久蜜桃香蕉精品一区二区三区| 久久久久国色av免费看影院| 中文一区二区在线观看| 国产精品盗摄一区二区三区| 亚洲精品中文在线影院| 亚洲第一福利一区| 蜜臀久久99精品久久久画质超高清| 美女视频免费一区| 国产麻豆成人传媒免费观看| 成人av在线观| 色狠狠一区二区| 91超碰这里只有精品国产| 日韩欧美的一区二区| 欧美国产日韩在线观看| 亚洲欧美日韩小说| 日本少妇一区二区| 国产一区欧美二区| 91年精品国产| 日韩一区二区在线免费观看| 久久精品亚洲国产奇米99| 成人免费在线观看入口| 五月激情丁香一区二区三区| 国产一区二区三区黄视频 | 精品国产电影一区二区| 国产精品进线69影院| 日韩影院在线观看| 国产成人免费视| 欧美日韩国产美| 国产午夜亚洲精品午夜鲁丝片|