MCPcopy Create free account
hub / github.com/GateNLP/gate-core / hideColumn

Method hideColumn

src/main/java/gate/swing/XJTable.java:341–346  ·  view source on GitHub ↗

Hide a column. Do nothing if already hidden. @param columnIndex index of the column in the table model

(int columnIndex)

Source from the content-addressed store, hash-verified

339 * @param columnIndex index of the column in the table model
340 */
341 public void hideColumn(int columnIndex) {
342 int viewColumn = convertColumnIndexToView(columnIndex);
343 TableColumn columnToHide = columnModel.getColumn(viewColumn);
344 columnModel.removeColumn(columnToHide);
345 hiddenColumns.add(columnToHide);
346 }
347
348 /**
349 * Show a column. Do nothing if already shown.

Callers 3

actionPerformedMethod · 0.80
initGUIMethod · 0.80
stateChangedMethod · 0.80

Calls 2

getColumnMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected