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 class
protected class
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.Type
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JCheckBoxMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected ButtonGroup
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenu
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenuItem
protected JMenu
protected JMenuBar
protected int[]
protected Object
protected JMenuItem
protected Preferences
protected JMenuItem
protected JMenuItem
protected ButtonGroup
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JCheckBoxMenuItem
protected JMenuItem
protected JMenuItem
protected boolean
protected Clipboard
protected HecDataTable
protected JPanel
protected JScrollPane
protected int
protected Title
protected TransferHandler
protected JMenu
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected JRadioButtonMenuItem
protected ButtonGroup
protected JRadioButtonMenuItem
protected JCheckBoxMenuItem
protected JCheckBoxMenuItem
protected JCheckBoxMenuItem
protected JMenu
protected JMenu
protected JMenu
static String
static final int
static final int
static final int
static final int
static final int
static final int
static String
static String
static String
static String
static final int
Fields inherited from class javax.swing.JFrame
accessibleContext, rootPane, rootPaneCheckingEnabled
Fields 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_CURSOR
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Fields 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 TypeMethodDescriptionvoid
actionPerformed
(ActionEvent event) this method is public as an implementation side effect.int
addData
(DataContainer dc) Adds data (DataContainer) to the HecDataTableFrame object.boolean
addDataToExistingTable
(Vector newDataContainers) int
Deprecated.Use addData(DataContainer) instead.void
allowEditing
(boolean allowEdit) This method just indicates if editing is allowed, i.e., the user has write access, etc.protected void
protected void
protected void
void
close()
Closes the frame.int
compareData
(int precision) int
compareDataSets
(int compareType, int precision, double compareValue, boolean ignoreMissing) int
compareDataSets
(List dataSets, int compareType, int precision, HecDouble compareValue, boolean ignoreMissing) protected boolean
compareValue
(HecDouble value, double val, double tol, int type) protected void
void
copyAll()
void
void
protected void
protected void
void
protected void
void
editData
(boolean doEdit) protected void
enableEditMenuItems
(boolean edit) protected void
void
export()
void
export
(BufferedWriter writer, TableExportOptions options) void
export
(String fileName, TableExportOptions options) void
exportAsHTML
(BufferedWriter writer) void
exportAsHTML
(BufferedWriter writer, String title, String indent) void
exportAsHTML
(String fileName) void
exportAsHTML
(String fileName, String title, String indent) void
exportAsXML
(BufferedWriter writer) void
exportAsXML
(BufferedWriter writer, String title, String indent) void
exportAsXML
(String fileName) void
exportAsXML
(String fileName, String title, String indent) void
find
(ActionEvent event) getCellBackground
(int row, int col) getCellBackgroundString
(int row, int col) getCellForeground
(int row, int col) getCellForegroundString
(int row, int col) int
int
getColumnBackground
(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[]
int
getColumnPrecision
(int col) int
getColumnWidth
(int col) int[]
boolean
int[]
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.boolean
static String
getExportString
(TableExportOptions options) getHTMLExportString
(String title, String indent) protected int
getRowBackground
(int rowNum) getRowBackgroundString
(int rowNum) getRowForeground
(int rowNum) getRowForegroundString
(int rowNum) getTable()
get the tableTitle
objectget the current table title textgetXMLExportString
(String title, String indent) int[]
highlightValues
(HecDouble value, double tolerance, int compareType) void
iconify()
Minimizes (iconifies) the frame.protected void
protected void
protected boolean
void
maximize()
Maximizes the frame.void
minimize()
Minimizes (iconifies) the frame.static HecDataTableFrame
newTable()
static HecDataTableFrame
protected void
nextDifference
(ActionEvent event) void
protected void
plot()
void
void
void
restore()
Restores the frame to normal size.protected void
reverseOrder_Action
(boolean setProperty) int
save()
void
saveAs()
protected boolean
search
(String match, boolean wholeWord, boolean searchTimes, boolean down, int startingRow, int startingColumn) void
boolean
selectFirstRecord
(String match, boolean wrap, boolean wholeWord, boolean searchTimes) boolean
selectLastRecord
(String match, boolean wholeWord, boolean searchTimes) void
setCellBackground
(int row, int col, Color color) void
setCellBackground
(int row, int col, String color) void
setCellForeground
(int row, int col, Color color) void
setCellForeground
(int row, int col, String color) void
setColumnBackground
(int columnNum, Color color) void
setColumnBackground
(int columnNum, String color) void
setColumnForeground
(int columnNum, Color color) void
setColumnForeground
(int columnNum, String color) void
setColumnHeaderBackground
(int colNum, Color color) void
setColumnHeaderBackground
(int colNum, String color) void
setColumnHeaderFont
(int colNum, Font font) void
setColumnHeaderFont
(int colNum, String font) void
setColumnHeaderForeground
(int colNum, Color color) void
setColumnHeaderForeground
(int colNum, String color) void
setColumnLabel
(int colNum, String label) void
setColumnLabels
(String[] labels) void
setColumnPrecision
(int col, int precision) void
setColumnWidth
(int col, int width) void
setColumnWidths
(int[] widths) void
setCommasState
(boolean showCommas) int
setData
(DataContainer dataContainer) int
setData
(PairedDataContainer pairedDataContainer) int
setData
(TimeSeriesContainer timeSeriesContainer) int
void
setDateTimeAsTwoColumnsState
(boolean showDateTimeAsTwoColumns) void
setDecimalPlaces
(int decimalPlaces) protected void
void
void
setQualityState
(int qualityStyle) void
setReverseOrderState
(boolean reverseOrder) void
setRowBackground
(int rowNum, Color color) void
setRowBackground
(int rowNum, String color) void
setRowForeground
(int rowNum, Color color) void
setRowForeground
(int rowNum, String color) void
setShownNextOrdinate
(int[] ordinates) void
setSize()
void
setSize
(int width, int height) Re-sizes table and forces re-draw.void
setTableTitleText
(String text) set the table title textvoid
setTransferHandler
(TransferHandler transferHandler) void
showDecimalChange
(int numberDecimals) void
void
showUndefinedStyle
(int undefinedStyle) protected void
protected void
protected void
int
protected void
protected void
protected void
protected void
protected void
ViewQuality_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, validateComponents
Methods 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, update
Methods 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, setUndecorated
Methods 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, toFront
Methods 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, validateTree
Methods 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, transferFocusUpCycle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
setTransferHandler
in 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:
actionPerformed
in 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:
selectFirstRecord
in interfaceFindListener
-
selectLastRecord
- Specified by:
selectLastRecord
in 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 tableTitle
object- Returns:
- the
Title
object
-
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.
-