Package com.illumon.iris.gui.actions
Class AutoSizeColumnAction
java.lang.Object
javax.swing.AbstractAction
com.illumon.iris.gui.actions.AutoSizeColumnAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Action to find and set the minimum width of a column such that no cell value is
wrapped or obscured.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final Stringstatic final StringFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionAutoSizeColumnAction(JTable table) AutoSizeColumnAction(JTable table, int column) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidautoSizeColumn(JTable table, int column) static voidautoSizeColumn(JTable table, int minSize, int column) static voidautoSizeTable(JTable table) static voidautoSizeTable(JTable table, int minSize) Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
RESIZE_COLUMN
- See Also:
-
RESIZE_ALL
- See Also:
-
MIN_AUTOSIZE_WIDTH
public static final int MIN_AUTOSIZE_WIDTH- See Also:
-
MAX_AUTOSIZE_WIDTH
public static final int MAX_AUTOSIZE_WIDTH- See Also:
-
-
Constructor Details
-
AutoSizeColumnAction
-
AutoSizeColumnAction
-
-
Method Details
-
actionPerformed
-
autoSizeTable
-
autoSizeTable
-
autoSizeColumn
-
autoSizeColumn
-