org.cytoscape.util.swing
Class ColumnResizer
java.lang.Object
org.cytoscape.util.swing.ColumnResizer
public final class ColumnResizer
- extends Object
Automatically resize column based on the objects in the cell.
From Swing Hacks by Joshua Marinacci and Chris Adamson.
2005 Oreilly & Associates Inc. ISBN: 0-596-00907-0
- Author:
- Joshua Marinacci, Chris Adamson, Keiichiro Ono
Cytoscape Backwards Compatibility (Static Class): This class is static and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adjustColumnPreferredWidths
public static void adjustColumnPreferredWidths(JTable table)
- Adjust the columns in the table to their preferred widths.
- Parameters:
table
- The table whose columns should be adjusted.
Copyright 2011 Cytoscape Consortium. All rights reserved.