Package org.opensourcephysics.tools
Class DataToolTable
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
org.opensourcephysics.display.DataTable
org.opensourcephysics.tools.DataToolTable
- All Implemented Interfaces:
ImageObserver,MenuContainer,Serializable,EventListener,Accessible,CellEditorListener,ListSelectionListener,RowSorterListener,TableColumnModelListener,TableModelListener,Scrollable
This is a DataTable that displays DataColumns and constructs
HighlightableDatasets for a plot.
- Version:
- 1.0
- Author:
- Douglas Brown
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classA table model for this table.protected classA class to undo/redo datatable edits.Nested classes/interfaces inherited from class org.opensourcephysics.display.DataTable
DataTable.DataModel, DataTable.DataTableColumnModel, DataTable.DoubleRenderer, DataTable.NumberFormatDialog, DataTable.OSPDataTableModel, DataTable.OSPTableModel, DataTable.PrecisionRenderer, DataTable.RowNumberRenderer, DataTable.UnitRendererNested classes/interfaces inherited from class javax.swing.JTable
JTable.AccessibleJTable, JTable.DropLocation, JTable.PrintModeNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intprotected static final intprotected static String[]protected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static Colorprotected static ColorFields inherited from class org.opensourcephysics.display.DataTable
clickCountToSort, dataTableModel, defaultDoubleRenderer, formatDialog, includeHeadersInCopiedData, labelColumnWidth, maximumFractionDigits, minimumDataColumnWidth, mode, MODE_APPEND_ROW, MODE_CANCEL, MODE_CELLS, MODE_CLEAR, MODE_COL_SETVISIBLE, MODE_COLUMN, MODE_CREATE, MODE_DELETE_ROW, MODE_FORMAT, MODE_FUNCTION, MODE_HEADER, MODE_HIGHLIGHT, MODE_INSERT_ROW, MODE_MODEL, MODE_PATTERN, MODE_REFRESH, MODE_SELECT, MODE_SET_TAINTED, MODE_SHOW, MODE_TAB, MODE_TRACK_CHOOSE, MODE_TRACK_DATA, MODE_TRACK_FUNCTION, MODE_TRACK_LOADED, MODE_TRACK_LOADER, MODE_TRACK_NEW, MODE_TRACK_REFRESH, MODE_TRACK_SELECT, MODE_TRACK_SELECTEDPOINT, MODE_TRACK_STATE, MODE_TRACK_STEP, MODE_TRACK_STEPS, MODE_TRACK_TRANSFORM, MODE_UNKNOWN, MODE_UPDATE_ROWS, MODE_VALUES, NO_PATTERN, PROPERTY_DATATABLE_FORMAT, rowName, rowNumberRenderer, SHIFTED, taintedFields inherited from class javax.swing.JTable
AUTO_RESIZE_ALL_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_OFF, AUTO_RESIZE_SUBSEQUENT_COLUMNS, autoCreateColumnsFromModel, autoResizeMode, cellEditor, cellSelectionEnabled, columnModel, dataModel, defaultEditorsByColumnClass, defaultRenderersByColumnClass, editingColumn, editingRow, editorComp, gridColor, preferredViewportSize, rowHeight, rowMargin, rowSelectionAllowed, selectionBackground, selectionForeground, selectionModel, showHorizontalLines, showVerticalLines, tableHeaderFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionDataToolTable(DataToolTab tab) Constructs a DataToolTable for the specified DataTooltab. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeselects all selected columns and rows.protected voidClears the selection if it consists of only an empty end row.protected voidClears the working data.protected voidcreateHeaderPopup(int col) protected DataTable.OSPDataTableModelOverridden in DataToolTable in order to use its own implementation of OSPDataTableModeldeleteCells(int[] rows, HashMap<String, double[]> values) Deletes cells in a column.protected DatasetdeleteColumn(String colName) Deletes a column.protected double[]deletePoints(Dataset dataset, int[] rows) Deletes points from a dataset.deleteRows(int[] rows) Deletes rows.protected voiddeleteSelectedColumns(boolean postEdit) Deletes the selected columnsprotected voidprotected voiddorepaint(int i) protected voidgetCellEditor(int row, int col) Returns the editor for a cell specified by row and column.getCellRenderer(int row, int col) Overrides DataTable getCellRenderer() method.protected DatasetgetDataset(String colName) Gets the source dataset associated with table column name.getFormatDialog(String[] names, String[] selected) Gets the format setter dialog.String[]Gets the names of columns with visible markers.Gets the selected column names.protected HighlightableDatasetGets the selected data.protected org.opensourcephysics.tools.DataToolTable.WorkingDatasetGets the working data: first two data columns in x-y orderprotected org.opensourcephysics.tools.DataToolTable.WorkingDatasetgetWorkingData(String colName) Gets the working data for a specified column name.protected intGets the x-axis view column.protected intGets the y-axis view column.voidhideMarkers(String[] hiddenColumns) Hides markers of named columns.insertCells(int[] rows, HashMap<String, double[]> values) Inserts cells with values specified by column name.protected voidinsertColumn(Dataset data, int col) Inserts a column dataset.protected double[]insertPoints(Dataset dataset, int[] rows, double[] vals) Inserts points into a dataset.insertRows(int[] rows, HashMap<String, double[]> values) Inserts rows with values specified by column name.protected booleanisEmptyCells(int row, ArrayList<String> columnNames) Determines if a row is empty.protected booleanisEmptyRow(int row) Determines if a row is empty.booleanisFitFittable(KnownFunction fit, boolean allowNone) voidmoveColumn(String var, int col) voidRefreshes the data functions.voidrefreshTable(int mode) Refreshes the data in the table.protected voidRefreshes the undo and redo menu items.protected voidremoveWorkingData(String colName) Removes the working data for a specified column name.protected voidrenameColumn(String oldName, String newName) Renames a column.replaceCells(int[] rows, HashMap<String, double[]> values) Replaces cells.protected double[]replacePoints(Dataset dataset, int[] rows, double[] vals) Replaces points in a dataset.voidSelects all cells in the table.voidprotected voidsetSelectedColumnNames(Collection<String> names) Sets the selected column names.voidsetWorkingColumns(String xColName, String yColName) Sets the working columns by name.protected voidDisplays the data builder.protected booleantrimEmptyRows(int minSize) Trims empty rows from bottom of table up to a specified minimum.protected voidupdateRowSelection(int firstIndex, boolean isAdjusting) Overridden in DataToolTableMethods inherited from class org.opensourcephysics.display.DataTable
add, addColumn, addColumnSelectionInterval, clear, convertColumnIndexToModel, copyTable, createDefaultColumnsFromModel, dispose, findLastAddedModelIndex, getData, getFormatPattern, getFormattedColumnNames, getFormattedValueAt, getMaximumFractionDigits, getMinimumTableWidth, getModelColumnOrder, getModelRow, getPrecisionRenderer, getRowCount, getSelectedModelRows, getSelectedModelRowsBS, getSortedRow, getViewRow, haveSelectedRows, init, isRowNumberVisible, refreshColumnModel, refreshTable, refreshTable, refreshTableNow, remove, resetSort, resizeAndRepaint, scrollColumnToVisible, scrollRowToVisible, selectModelRows, selectModelRowsBS, selectTableColsBS, selectTableRowsBS, setColumnVisible, setFormatPattern, setLabelColumnWidth, setMaximumFractionDigits, setMaximumFractionDigits, setModel, setModelColumnOrder, setRefreshDelay, setRowNumberVisible, setSelectedColumnsFromModelBS, setSelectedModelRowsBS, setUnits, sort, unshiftName, updateColumnModelMethods inherited from class javax.swing.JTable
addNotify, addRowSelectionInterval, changeSelection, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, configureEnclosingScrollPane, convertColumnIndexToView, convertRowIndexToModel, convertRowIndexToView, createDefaultColumnModel, createDefaultDataModel, createDefaultEditors, createDefaultRenderers, createDefaultSelectionModel, createDefaultTableHeader, createScrollPaneForTable, doLayout, editCellAt, editCellAt, editingCanceled, editingStopped, getAccessibleContext, getAutoCreateColumnsFromModel, getAutoCreateRowSorter, getAutoResizeMode, getCellEditor, getCellRect, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getDragEnabled, getDropLocation, getDropMode, getEditingColumn, getEditingRow, getEditorComponent, getFillsViewportHeight, getGridColor, getIntercellSpacing, getModel, getPreferredScrollableViewportSize, getPrintable, getRowHeight, getRowHeight, getRowMargin, getRowSelectionAllowed, getRowSorter, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getSurrendersFocusOnKeystroke, getTableHeader, getToolTipText, getUI, getUIClassID, getUpdateSelectionOnSort, getValueAt, initializeLocalVars, isCellEditable, isCellSelected, isColumnSelected, isEditing, isRowSelected, moveColumn, paramString, prepareEditor, prepareRenderer, print, print, print, print, print, processKeyBinding, removeColumn, removeColumnSelectionInterval, removeEditor, removeNotify, removeRowSelectionInterval, rowAtPoint, selectAll, setAutoCreateColumnsFromModel, setAutoCreateRowSorter, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setDragEnabled, setDropMode, setEditingColumn, setEditingRow, setFillsViewportHeight, setGridColor, setIntercellSpacing, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setRowSorter, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSurrendersFocusOnKeystroke, setTableHeader, setUI, setUpdateSelectionOnSort, setValueAt, sizeColumnsToFit, sizeColumnsToFit, sorterChanged, tableChanged, unconfigureEnclosingScrollPane, updateUI, valueChangedMethods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
RENAME_COLUMN_EDIT
protected static final int RENAME_COLUMN_EDIT- See Also:
-
INSERT_COLUMN_EDIT
protected static final int INSERT_COLUMN_EDIT- See Also:
-
DELETE_COLUMN_EDIT
protected static final int DELETE_COLUMN_EDIT- See Also:
-
INSERT_CELLS_EDIT
protected static final int INSERT_CELLS_EDIT- See Also:
-
DELETE_CELLS_EDIT
protected static final int DELETE_CELLS_EDIT- See Also:
-
REPLACE_CELLS_EDIT
protected static final int REPLACE_CELLS_EDIT- See Also:
-
INSERT_ROWS_EDIT
protected static final int INSERT_ROWS_EDIT- See Also:
-
DELETE_ROWS_EDIT
protected static final int DELETE_ROWS_EDIT- See Also:
-
DELIMITED_TEXT_EDIT
protected static final int DELIMITED_TEXT_EDIT- See Also:
-
editTypes
-
xAxisColor
-
yAxisColor
-
-
Constructor Details
-
DataToolTable
Constructs a DataToolTable for the specified DataTooltab.- Parameters:
tab-
-
-
Method Details
-
createTableModel
Description copied from class:DataTableOverridden in DataToolTable in order to use its own implementation of OSPDataTableModel- Overrides:
createTableModelin classDataTable- Returns:
-
updateRowSelection
protected void updateRowSelection(int firstIndex, boolean isAdjusting) Description copied from class:DataTableOverridden in DataToolTable- Overrides:
updateRowSelectionin classDataTable
-
doTableMousePressed
-
doHeaderMouseClicked
-
createHeaderPopup
protected void createHeaderPopup(int col) -
dorepaint
protected void dorepaint(int i) -
getWorkingData
Gets the working data for a specified column name. The working y-data is the named table column. The working x-data is the x (yellow) table column- Parameters:
colName- the name of the data column- Returns:
- the working dataset
-
getWorkingData
protected org.opensourcephysics.tools.DataToolTable.WorkingDataset getWorkingData()Gets the working data: first two data columns in x-y order- Returns:
- the working dataset
-
removeWorkingData
Removes the working data for a specified column name.- Parameters:
colName- the name of the data column
-
deleteSelectedColumns
protected void deleteSelectedColumns(boolean postEdit) Deletes the selected columns- Parameters:
postEdit- true to post an undoable edit
-
clearWorkingData
protected void clearWorkingData()Clears the working data. -
getDataset
Gets the source dataset associated with table column name.- Parameters:
colName- the column name- Returns:
- the dataset
-
getSelectedData
Gets the selected data. The returned dataset consists of the selected rows in the first two columns of the table in x-y order. This also sets the highlights of the working data and populates the workingRows map.- Returns:
- the data in the selected rows, or all data if no rows are selected
-
getSelectedColumnNames
Gets the selected column names.- Returns:
- ArrayList of selected column names
-
setSelectedColumnNames
Sets the selected column names.- Parameters:
names- Collection of column names to select
-
insertColumn
Inserts a column dataset.- Parameters:
data- the dataset to insertcol- the insertion view column number
-
deleteColumn
Deletes a column.- Parameters:
colName- the column name to delete- Returns:
- the deleted dataset
-
insertCells
Inserts cells with values specified by column name. Existing cells are shifted down and other columns are padded with NaN at the end if needed.- Parameters:
rows- the model rows to insertvalues- HashMap of column name to double[] values- Returns:
- HashMap of column name to double[] inserted values
-
deleteCells
Deletes cells in a column. Remaining cells are shifted up.- Parameters:
rows- the model rows to deletevalues- HashMap of column name to (ignored) double[] values- Returns:
- HashMap of column name to double[] deleted values
-
replaceCells
Replaces cells.- Parameters:
rows- the model rows to replace in ascending ordervalues- HashMap of column name to double[] new values- Returns:
- HashMap of column name to double[] old values
-
insertRows
Inserts rows with values specified by column name. Unspecified values are set to NaN.- Parameters:
rows- the model rows to insertvalues- HashMap of column name to double[] values- Returns:
- HashMap of column name to double[] inserted values
-
deleteRows
Deletes rows.- Parameters:
rows- the model rows to delete- Returns:
- the deleted values
-
isEmptyRow
protected boolean isEmptyRow(int row) Determines if a row is empty.- Parameters:
row- the model row number- Returns:
- true if all datasets are NaN at row index
-
isEmptyCells
Determines if a row is empty.- Parameters:
row- the model row numbercolumnNames- a list of column names- Returns:
- true if all named columns are NaN at row index
-
getXColumn
protected int getXColumn()Gets the x-axis view column.- Returns:
- col the view column number
-
getYColumn
protected int getYColumn()Gets the y-axis view column.- Returns:
- col the view column number
-
replacePoints
Replaces points in a dataset.- Parameters:
dataset- the datasetrows- the rows to replace in ascending ordervals- array of new y-values- Returns:
- array of values replaced
-
insertPoints
Inserts points into a dataset.- Parameters:
dataset- the datasetrows- the rows to insert in ascending ordervals- the corresponding y-values to insert- Returns:
- array of values inserted
-
deletePoints
Deletes points from a dataset.- Parameters:
dataset- the datasetrows- the rows to remove in ascending order- Returns:
- the removed y-values
-
trimEmptyRows
protected boolean trimEmptyRows(int minSize) Trims empty rows from bottom of table up to a specified minimum.- Parameters:
minSize- the minimum row count to keep- Returns:
- true if one or mmore rows were trimmed
-
clearSelectionIfEmptyEndRow
protected void clearSelectionIfEmptyEndRow()Clears the selection if it consists of only an empty end row. -
showDataBuilder
protected void showDataBuilder()Displays the data builder. -
renameColumn
Renames a column.- Parameters:
oldName- the old namenewName- the new name
-
refreshUndoItems
protected void refreshUndoItems()Refreshes the undo and redo menu items. -
refreshDataFunctions
public void refreshDataFunctions()Refreshes the data functions. -
selectAllCells
public void selectAllCells()Selects all cells in the table. -
clearSelection
public void clearSelection()Deselects all selected columns and rows. Overrides JTable method.- Overrides:
clearSelectionin classJTable
-
refreshTable
public void refreshTable(int mode) Refreshes the data in the table. Overrides DataTable method.- Overrides:
refreshTablein classDataTable
-
getFormatDialog
Description copied from class:DataTableGets the format setter dialog.- Overrides:
getFormatDialogin classDataTable- Parameters:
names- the column name choicesselected- the initially selected names- Returns:
- the format setter dialog
-
getHiddenMarkers
Gets the names of columns with visible markers.- Returns:
- array of column names
-
hideMarkers
Hides markers of named columns.- Parameters:
hiddenColumns- names of columns with hidden markers
-
setWorkingColumns
Sets the working columns by name.- Parameters:
xColName- the name of the horizontal axis variableyColName- the name of the vertical axis variable
-
setFont
- Overrides:
setFontin classJComponent
-
getCellRenderer
Overrides DataTable getCellRenderer() method.- Overrides:
getCellRendererin classDataTable- Parameters:
row- the row numbercol- the column number- Returns:
- the cell editor
-
getCellEditor
Returns the editor for a cell specified by row and column.- Overrides:
getCellEditorin classJTable- Parameters:
row- the row numbercol- the column number- Returns:
- the cell editor
-
isFitFittable
-
moveColumn
-