Package hec.dataTable
Class HecDataTableFrame
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
rma.swing.RmaJFrame
hec.dataTable.HecDataTableFrame
- All Implemented Interfaces:
ActionListener,ComponentListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible,RootPaneContainer,WindowConstants,Modifiable,FindListener
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classNested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrameNested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrameNested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.TypeNested 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 JCheckBoxMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected ButtonGroupprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuItemprotected JMenuprotected JMenuBarprotected int[]protected Objectprotected JMenuItemprotected Preferencesprotected JMenuItemprotected JMenuItemprotected ButtonGroupprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JCheckBoxMenuItemprotected JMenuItemprotected JMenuItemprotected booleanprotected Clipboardprotected HecDataTableprotected JPanelprotected JScrollPaneprotected intprotected Titleprotected TransferHandlerprotected JMenuprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected JRadioButtonMenuItemprotected ButtonGroupprotected JRadioButtonMenuItemprotected JCheckBoxMenuItemprotected JCheckBoxMenuItemprotected JCheckBoxMenuItemprotected JMenuprotected JMenuprotected JMenustatic Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic Stringstatic Stringstatic Stringstatic Stringstatic final intFields inherited from class javax.swing.JFrame
accessibleContext, rootPane, rootPaneCheckingEnabledFields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORFields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) this method is public as an implementation side effect.intaddData(DataContainer dc) Adds data (DataContainer) to the HecDataTableFrame object.booleanaddDataToExistingTable(Vector newDataContainers) intDeprecated.Use addData(DataContainer) instead.voidallowEditing(boolean allowEdit) This method just indicates if editing is allowed, i.e., the user has write access, etc.protected voidprotected voidprotected voidvoidclose()Closes the frame.intcompareData(int precision) intcompareDataSets(int compareType, int precision, double compareValue, boolean ignoreMissing) intcompareDataSets(List dataSets, int compareType, int precision, HecDouble compareValue, boolean ignoreMissing) protected booleancompareValue(HecDouble value, double val, double tol, int type) protected voidvoidcopyAll()voidvoidprotected voidprotected voidvoidprotected voidvoideditData(boolean doEdit) protected voidenableEditMenuItems(boolean edit) protected voidvoidexport()voidexport(BufferedWriter writer, TableExportOptions options) voidexport(String fileName, TableExportOptions options) voidexportAsHTML(BufferedWriter writer) voidexportAsHTML(BufferedWriter writer, String title, String indent) voidexportAsHTML(String fileName) voidexportAsHTML(String fileName, String title, String indent) voidexportAsXML(BufferedWriter writer) voidexportAsXML(BufferedWriter writer, String title, String indent) voidexportAsXML(String fileName) voidexportAsXML(String fileName, String title, String indent) voidfind(ActionEvent event) getCellBackground(int row, int col) getCellBackgroundString(int row, int col) getCellForeground(int row, int col) getCellForegroundString(int row, int col) intintgetColumnBackground(int columnNum) getColumnBackgroundString(int columnNum) getColumnForeground(int columnNum) getColumnForegroundString(int columnNum) getColumnHeaderBackground(int col) getColumnHeaderBackgroundString(int col) getColumnHeaderFont(int colNum) getColumnHeaderFontString(int colNum) getColumnHeaderForeground(int col) getColumnHeaderForegroundString(int col) getColumnLabel(int colNum) String[]intgetColumnPrecision(int col) intgetColumnWidth(int col) int[]booleanint[]getCompareDataSetOrdinates(int compareType, int precision, double toleranceOrPrecent, boolean ignoreMissing) int[]getCompareDataSetOrdinates(List dataSets, int compareType, int precision, HecDouble compareValue, boolean ignoreMissing) getContainersForSelectedRows(int[] ordinates) For the rows given (table rows, not data rows), get the data for those rows and put into containers.booleanstatic StringgetExportString(TableExportOptions options) getHTMLExportString(String title, String indent) protected intgetRowBackground(int rowNum) getRowBackgroundString(int rowNum) getRowForeground(int rowNum) getRowForegroundString(int rowNum) getTable()get the tableTitleobjectget the current table title textgetXMLExportString(String title, String indent) int[]highlightValues(HecDouble value, double tolerance, int compareType) voidiconify()Minimizes (iconifies) the frame.protected voidprotected voidprotected booleanvoidmaximize()Maximizes the frame.voidminimize()Minimizes (iconifies) the frame.static HecDataTableFramenewTable()static HecDataTableFrameprotected voidnextDifference(ActionEvent event) voidprotected voidplot()voidvoidvoidrestore()Restores the frame to normal size.protected voidreverseOrder_Action(boolean setProperty) intsave()voidsaveAs()protected booleansearch(String match, boolean wholeWord, boolean searchTimes, boolean down, int startingRow, int startingColumn) voidbooleanselectFirstRecord(String match, boolean wrap, boolean wholeWord, boolean searchTimes) booleanselectLastRecord(String match, boolean wholeWord, boolean searchTimes) voidsetCellBackground(int row, int col, Color color) voidsetCellBackground(int row, int col, String color) voidsetCellForeground(int row, int col, Color color) voidsetCellForeground(int row, int col, String color) voidsetColumnBackground(int columnNum, Color color) voidsetColumnBackground(int columnNum, String color) voidsetColumnForeground(int columnNum, Color color) voidsetColumnForeground(int columnNum, String color) voidsetColumnHeaderBackground(int colNum, Color color) voidsetColumnHeaderBackground(int colNum, String color) voidsetColumnHeaderFont(int colNum, Font font) voidsetColumnHeaderFont(int colNum, String font) voidsetColumnHeaderForeground(int colNum, Color color) voidsetColumnHeaderForeground(int colNum, String color) voidsetColumnLabel(int colNum, String label) voidsetColumnLabels(String[] labels) voidsetColumnPrecision(int col, int precision) voidsetColumnWidth(int col, int width) voidsetColumnWidths(int[] widths) voidsetCommasState(boolean showCommas) intsetData(DataContainer dataContainer) intsetData(PairedDataContainer pairedDataContainer) intsetData(TimeSeriesContainer timeSeriesContainer) intvoidsetDateTimeAsTwoColumnsState(boolean showDateTimeAsTwoColumns) voidsetDecimalPlaces(int decimalPlaces) protected voidvoidvoidsetQualityState(int qualityStyle) voidsetReverseOrderState(boolean reverseOrder) voidsetRowBackground(int rowNum, Color color) voidsetRowBackground(int rowNum, String color) voidsetRowForeground(int rowNum, Color color) voidsetRowForeground(int rowNum, String color) voidsetShownNextOrdinate(int[] ordinates) voidsetSize()voidsetSize(int width, int height) Re-sizes table and forces re-draw.voidsetTableTitleText(String text) set the table title textvoidsetTransferHandler(TransferHandler transferHandler) voidshowDecimalChange(int numberDecimals) voidvoidshowUndefinedStyle(int undefinedStyle) protected voidprotected voidprotected voidintprotected voidprotected voidprotected voidprotected voidprotected voidViewQuality_Action(int qualityStyle) Methods inherited from class rma.swing.RmaJFrame
clearForm, clearForm, clickButton, clickButton, clickCheckBox, clickRadioButton, componentHidden, componentMoved, componentResized, componentShown, createRootPane, enterKeyPressed, escapeKeyPressed, getDefaultIconImage, getOpenWindows, getTimeZone, getTopWindow, getUnitDisplaySystem, getUnitSystem, getWindow, invokeFormManagementMethod, isEditable, isIgnoringModifiedEvents, isModified, isSystemClosable, registerEnterKey, registerEscapeKey, setComponentsEditable, setComponentsEditable, setDefaultIconImage, setDefaultSize, setDisplayScale, setEditable, setIgnoreModifiedEvents, setLocation, setModified, setSystemClosable, setTimeZone, setUnitSystem, setVisible, stayOpen, updateDisplayScale, updateTimeZone, updateTimeZone, updateUnitSystem, validateComponents, validateComponentsMethods inherited from class javax.swing.JFrame
addImpl, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, updateMethods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedMethods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setType, show, toBack, toFrontMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.awt.MenuContainer
getFont, postEvent
-
Field Details
-
SHOW_COMMAS_PROPERTY
-
REVERSE_ORDER_PROPERTY
-
SHOW_DATE_AS_TWO_COLUMNS
-
DATE_STYLE
-
QUALITY_STYLE
-
TIME_SERIES
public static final int TIME_SERIES- See Also:
-
PAIRED
public static final int PAIRED- See Also:
-
EQUAL
public static final int EQUAL- See Also:
-
GREATER
public static final int GREATER- See Also:
-
LESS
public static final int LESS- See Also:
-
EQUAL_GREATER
public static final int EQUAL_GREATER- See Also:
-
EQUAL_LESS
public static final int EQUAL_LESS- See Also:
-
_parent
-
_table
-
_tablePanel
-
_tableScrollPane
-
_fileMenu
-
_saveItem
-
_saveAsItem
-
_printItem
-
_printPreview
-
_export
-
_plotItem
-
_exitItem
-
_viewMenu
-
_editMenu
-
_editCut
-
_editCopy
-
_editPaste
-
_editSelectAll
-
_editCompare
-
_editFind
-
_editNextDiff
-
_editReplace
-
_editInsertRows
-
_editAppendRows
-
_editDeleteRows
-
_editInsertColumn
-
_editAppendColumn
-
_editDeleteColumn
-
_allowEditing
-
_decimalGroup
-
_qualityGroup
-
_undefinedStyleGroup
-
_viewDecimals
-
_viewCommas
-
_reverseOrderMenu
-
_viewDateTimeAsTwoColumns
-
_viewDateWith4Digits
-
_viewQuality
-
_qualityNone
-
_qualitySymbol
-
_qualityHex
-
_decimalAuto
-
_decimal0
-
_decimal1
-
_decimal2
-
_decimal3
-
_decimal4
-
_decimal5
-
_decimal6
-
_undefinedStyle
-
_undefinedStyleBlank
-
_undefinedStyle901
-
_undefinedStyleM
-
_undefinedStyleDashM
-
_title
-
_sysClipboard
-
_transferHandler
-
_preferences
-
_ordinatesDifferent
protected int[] _ordinatesDifferent -
_tableType
protected int _tableType -
_showDateTimeAsTwoColumns
protected boolean _showDateTimeAsTwoColumns
-
-
Constructor Details
-
HecDataTableFrame
-
-
Method Details
-
setParent
-
getDecimalPlacesProp
-
newTable
-
newTable
-
showTable
public void showTable() -
buildMenu
protected void buildMenu() -
setData
-
setData
-
setData
-
setData
-
compareDataSets
-
getCompareDataSetOrdinates
-
getCompareMessage
-
addDisplayObject
Deprecated.Use addData(DataContainer) instead.Adds data (DataContainer) to the HecDataTableFrame object.- Parameters:
dc- The DataContainer to add to the object.- Returns:
- The status.
-
addData
Adds data (DataContainer) to the HecDataTableFrame object.- Parameters:
dc- The DataContainer to add to the object.- Returns:
- The status.
-
setTransferHandler
- Overrides:
setTransferHandlerin classJFrame
-
setCommasState
public void setCommasState(boolean showCommas) -
setDecimalPlaces
public void setDecimalPlaces(int decimalPlaces) -
getCommasState
public boolean getCommasState() -
setReverseOrderState
public void setReverseOrderState(boolean reverseOrder) -
disableReverseOrder
public void disableReverseOrder() -
setDateTimeAsTwoColumnsState
public void setDateTimeAsTwoColumnsState(boolean showDateTimeAsTwoColumns) -
getDateTimeAsTwoColumnsState
public boolean getDateTimeAsTwoColumnsState() -
setQualityState
public void setQualityState(int qualityStyle) -
completeTable
protected void completeTable() -
tableResized
protected void tableResized() -
tableMoved
protected void tableMoved() -
setSize
public void setSize() -
getPreferredTableWidth
protected int getPreferredTableWidth() -
allowEditing
public void allowEditing(boolean allowEdit) This method just indicates if editing is allowed, i.e., the user has write access, etc. It does not indicate that the data is being edited. -
editData
public void editData(boolean doEdit) -
actionPerformed
this method is public as an implementation side effect. It shouldn't be called directly by user code- Specified by:
actionPerformedin interfaceActionListener- Parameters:
event-
-
Exit_Action
protected void Exit_Action() -
terminate
protected void terminate() -
updateContainers
public int updateContainers() -
saveAs
public void saveAs() -
save
public int save() -
Edit_Action
protected void Edit_Action() -
enableEditMenuItems
protected void enableEditMenuItems(boolean edit) -
insertRows_Action
protected void insertRows_Action() -
appendRows_Action
protected void appendRows_Action() -
deleteRows_Action
protected void deleteRows_Action() -
insertColumn_Action
protected void insertColumn_Action() -
appendColumn_Action
protected void appendColumn_Action() -
deleteColumn_Action
protected void deleteColumn_Action() -
setEditSelection
protected void setEditSelection() -
showDecimalChange
public void showDecimalChange(int numberDecimals) -
showUndefinedStyle
public void showUndefinedStyle(int undefinedStyle) -
ViewCommas_Action
protected void ViewCommas_Action() -
reverseOrder_Action
protected void reverseOrder_Action(boolean setProperty) -
ViewDateTime_Action
protected void ViewDateTime_Action() -
ViewDate4Digit_Action
protected void ViewDate4Digit_Action() -
getTableType
-
addDataToExistingTable
-
ViewQuality_Action
protected void ViewQuality_Action(int qualityStyle) -
printString
public void printString() -
printPreview
public void printPreview() -
export
public void export() -
export
-
export
-
getExportString
-
exportAsXML
-
exportAsXML
-
exportAsXML
-
exportAsXML
-
getXMLExportString
-
getXMLExportString
-
exportAsHTML
-
exportAsHTML
-
exportAsHTML
-
exportAsHTML
-
getHTMLExportString
-
getHTMLExportString
-
getColumn
-
getColumn
-
getColumnLabels
-
getColumnLabel
-
setColumnLabels
-
setColumnLabel
-
getColumnWidths
public int[] getColumnWidths() -
setColumnWidths
public void setColumnWidths(int[] widths) -
getColumnWidth
public int getColumnWidth(int col) -
setColumnWidth
public void setColumnWidth(int col, int width) -
setColumnPrecision
public void setColumnPrecision(int col, int precision) -
getColumnPrecision
public int getColumnPrecision(int col) -
getColumnHeaderForeground
-
getColumnHeaderForegroundString
-
setColumnHeaderForeground
-
setColumnHeaderForeground
-
getColumnHeaderBackground
-
getColumnHeaderBackgroundString
-
setColumnHeaderBackground
-
setColumnHeaderBackground
-
getColumnHeaderFont
-
getColumnHeaderFontString
-
setColumnHeaderFont
-
setColumnHeaderFont
-
getRowForeground
-
getRowForegroundString
-
setRowForeground
-
setRowForeground
-
getRowBackground
-
getRowBackgroundString
-
setRowBackground
-
setRowBackground
-
getColumnForeground
-
getColumnForegroundString
-
setColumnForeground
-
setColumnForeground
-
getColumnBackground
-
getColumnBackgroundString
-
setColumnBackground
-
setColumnBackground
-
getCellForeground
-
getCellForegroundString
-
setCellForeground
-
setCellForeground
-
getCellBackground
-
getCellBackgroundString
-
setCellBackground
-
setCellBackground
-
selectAll
public void selectAll() -
find
-
selectFirstRecord
public boolean selectFirstRecord(String match, boolean wrap, boolean wholeWord, boolean searchTimes) - Specified by:
selectFirstRecordin interfaceFindListener
-
selectLastRecord
- Specified by:
selectLastRecordin interfaceFindListener
-
search
protected boolean search(String match, boolean wholeWord, boolean searchTimes, boolean down, int startingRow, int startingColumn) -
setShownNextOrdinate
public void setShownNextOrdinate(int[] ordinates) -
nextDifference
-
jumpToNextOridnate
protected boolean jumpToNextOridnate() -
copyAll
public void copyAll() -
updateEdits
protected void updateEdits() -
cutSelection
public void cutSelection() -
copySelection
public void copySelection() -
pasteSelection
public void pasteSelection() -
plot
protected void plot() -
setTableTitleText
set the table title text- Parameters:
text- the new title text
-
getTableTitleText
get the current table title text- Returns:
- the table title text
-
getTableTitle
get the tableTitleobject- Returns:
- the
Titleobject
-
compareDataSets
public int compareDataSets(int compareType, int precision, double compareValue, boolean ignoreMissing) -
getCompareDataSetOrdinates
public int[] getCompareDataSetOrdinates(int compareType, int precision, double toleranceOrPrecent, boolean ignoreMissing) - Parameters:
compareType- int, 0=exact, 1=within precentage, 2=within toleranceprecision- int, decimal places from HecDouble if compareType=0toleranceOrPrecent- double, for compareType = 1,2ignoreMissing- boolean- Returns:
- int[] returns row number in table, not data position
-
getContainersForSelectedRows
For the rows given (table rows, not data rows), get the data for those rows and put into containers. Used by the difference functions.- Parameters:
ordinates- int[]
-
highlightValues
-
compareValue
-
compareData
public int compareData(int precision) -
getFileMenu
-
getEditMenu
-
getViewMenu
-
getTable
-
maximize
public void maximize()Maximizes the frame. -
minimize
public void minimize()Minimizes (iconifies) the frame. -
iconify
public void iconify()Minimizes (iconifies) the frame. -
restore
public void restore()Restores the frame to normal size. -
setSize
public void setSize(int width, int height) Re-sizes table and forces re-draw. -
close
public void close()Closes the frame.
-