com.compomics.util.gui
Class GuiUtilities
java.lang.Object
com.compomics.util.gui.GuiUtilities
public class GuiUtilities
- extends Object
A class containing simple GUI helper methods.
- Author:
- Harald Barsnes
Method Summary |
static int |
getPreferredWidthOfCell(JTable table,
int rowIndex,
int colIndex)
Returns the preferred width of a given cell in a table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiUtilities
public GuiUtilities()
getPreferredWidthOfCell
public static int getPreferredWidthOfCell(JTable table,
int rowIndex,
int colIndex)
- Returns the preferred width of a given cell in a table.
- Parameters:
table
- the tablecolIndex
- the colum indexrowIndex
- the row index
- Returns:
- the prefereed width of the cell
Copyright © 2012. All Rights Reserved.