cytoscape.util.swing
Class ColumnResizer
java.lang.Object
cytoscape.util.swing.ColumnResizer
public 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
Customized by Keiichiro Ono
- Since:
- Cytoscape 2.4
- Version:
- 1.0
- Author:
- Joshua Marinacci, Chris Adamson, Keiichiro Ono
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnResizer
public ColumnResizer()
adjustColumnPreferredWidths
public static void adjustColumnPreferredWidths(JTable table)
- DOCUMENT ME!
- Parameters:
table
- DOCUMENT ME!
getColumnPreferredWidths
public static HashMap<String,Integer> getColumnPreferredWidths(JTable table)
- DOCUMENT ME!
- Parameters:
table
- DOCUMENT ME!
Copyright 2010 Cytoscape Consortium. All rights reserved.