Java JTable Cell getIntercellWidth(JTable table)

Here you can find the source of getIntercellWidth(JTable table)

Description

get Intercell Width

License

Apache License

Declaration

public static int getIntercellWidth(JTable table) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import javax.swing.*;

public class Main {
    public static int getIntercellWidth(JTable table) {
        return (int) table.getIntercellSpacing().getWidth();
    }/*  ww w .j  a va  2 s  .c  om*/
}

Related

  1. getCellBounds(JTable table, int top, int bottom)
  2. getCellRectangle(JTable table, int row, int column)
  3. getColumnNames(JTable table, String lineBreak, String cellBreak)
  4. getContent(JTable table, String lineBreak, String cellBreak, int columnCount, int rowCount, int[] selectedRowsCount, int[] selectedColumsCount)
  5. getCurrentSelectionContent(JTable table, String lineBreak, String cellBreak)
  6. getTableFocusCellForeground()
  7. getWidestCellInColumn(JTable table, TableColumn col)
  8. getWidestCellInColumn(TableColumn col, JTable table)
  9. isCellVisible(JTable table, int rowIndex, int vColIndex)