|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
visad.util.GUIFrame
visad.ss.SpreadSheet
public class SpreadSheet
SpreadSheet is a user interface for VisAD that supports multiple 3-D displays (FancySSCells).
Nested Class Summary | |
---|---|
class |
SpreadSheet.SSOptions
Inner class for use with getOptions(). |
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
javax.swing.JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
java.awt.Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
java.awt.Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected boolean |
AutoDetect
Flag marking whether spreadsheet's cells automatically detect mappings. |
protected javax.swing.JCheckBoxMenuItem |
AutoDetectBox
Checkbox menu items. |
protected javax.swing.JCheckBoxMenuItem |
AutoShowBox
Checkbox menu items. |
protected boolean |
AutoShowControls
Flag marking whether spreadsheet's cells automatically show controls. |
protected boolean |
AutoSwitch
Flag marking whether spreadsheet's cells automatically switch dimensions when needed. |
protected javax.swing.JCheckBoxMenuItem |
AutoSwitchBox
Checkbox menu items. |
protected java.lang.String |
bTitle
Base title. |
protected static boolean |
BugFix
Whether spreadsheet should have toolbar buttons. |
protected static boolean |
CanDo3D
Whether Java3D is enabled on this JVM. |
protected static boolean |
CanDoHDF5
Whether the HDF-5 native library is present on this JVM. |
protected static boolean |
CanDoJPEG
Whether this JVM supports saving JPEG images with JPEGImageEncoder. |
protected static boolean |
CanDoPython
Whether this JVM supports JPython scripting. |
protected static java.lang.Class[] |
cellArgs
Argument classes for constructing an SSCell. |
protected static java.lang.reflect.Constructor |
cellConstructor
Constructor used to create SSCells for SpreadSheets. |
protected javax.swing.JMenuItem |
CellDel
Menu items. |
protected javax.swing.JCheckBoxMenuItem |
CellDim2D2D
Checkbox menu items. |
protected javax.swing.JCheckBoxMenuItem |
CellDim2D3D
Checkbox menu items. |
protected javax.swing.JCheckBoxMenuItem |
CellDim3D3D
Checkbox menu items. |
protected javax.swing.JMenuItem |
CellEdit
Menu items. |
protected javax.swing.JMenuItem |
CellPrint
Menu items. |
protected javax.swing.JMenuItem |
CellReset
Menu items. |
protected javax.swing.JMenuItem |
CellShow
Menu items. |
protected java.lang.String |
Clipboard
Contents of clipboard. |
protected java.lang.String |
cloneAddress
Server address for a cloned sheet, if any. |
protected double |
CollabID
ID number for this collaborative spreadsheet. |
protected java.io.File |
CurrentFile
Current spreadsheet file. |
protected int |
CurX
Column of currently selected cell. |
protected int |
CurY
Row of currently selected cell. |
protected static int |
DEFAULT_VIS_HEIGHT
Default VisAD display height. |
protected static int |
DEFAULT_VIS_WIDTH
Default VisAD display width. |
protected FancySSCell[][] |
DisplayCells
Array of spreadsheet cells. |
protected java.awt.Panel |
DisplayPanel
Panel that contains actual VisAD displays. |
protected javax.swing.JMenuItem |
EditClear
Menu items. |
protected javax.swing.JMenuItem |
EditPaste
Menu items. |
protected javax.swing.JMenu |
FileExport
Submenus. |
protected javax.swing.JMenuItem |
FileSave1
Menu items. |
protected javax.swing.JMenuItem |
FileSave2
Menu items. |
protected javax.swing.JMenuItem |
FileSave3
Menu items. |
protected javax.swing.JMenuItem |
FileSave4
Menu items. |
protected javax.swing.JMenuItem |
FileSave5
Menu items. |
protected javax.swing.JMenuItem |
FileSnap
Menu items. |
protected FormulaManager |
fm
Formula manager. |
protected javax.swing.JButton |
FormulaAdd
Toolbar buttons. |
protected javax.swing.JComboBox |
FormulaBox
Formula bar. |
protected javax.swing.JButton |
FormulaDel
Toolbar buttons. |
protected javax.swing.ComboBoxEditor |
FormulaEditor
Formula editor. |
protected java.awt.event.ActionListener |
FormulaListener
Formula action listener. |
protected javax.swing.JTextField |
FormulaText
Formula text field. |
protected static int |
HEIGHT_PERCENT
Starting width of the application, in percentage of screen size. |
protected javax.swing.JComponent[] |
HorizDrag
Array of horizontal yellow sizing boxes. |
protected javax.swing.JPanel[] |
HorizLabel
Array of panels for horizontal labels. |
protected javax.swing.JViewport |
HorizLabels
View port for horizontal cell labels. |
protected javax.swing.JPanel |
HorizPanel
Panel containing horizontal labels and sizing boxes. |
protected boolean |
IsRemote
Whether spreadsheet is a clone of another spreadsheet. |
protected boolean |
IsSlave
Whether spreadsheet is a slaved clone of another spreadsheet. |
protected static int |
LABEL_HEIGHT
Horizontal cell label's height. |
protected static int |
LABEL_WIDTH
Vertical cell label's width. |
protected javax.swing.JMenuItem |
LayAddCol
Menu items. |
protected javax.swing.JMenuItem |
LayDelCol
Menu items. |
protected javax.swing.JMenuItem |
LayDelRow
Menu items. |
protected static java.lang.String |
Letters
Spreadsheet cell letter order. |
protected java.lang.Object |
Lock
Object for preventing simultaneous GUI manipulation. |
protected static int |
MIN_VIS_HEIGHT
Minimum VisAD display height, including display border. |
protected static int |
MIN_VIS_WIDTH
Minimum VisAD display width, including display border. |
protected int |
NumVisX
Number of display columns. |
protected int |
NumVisY
Number of display rows. |
protected static boolean |
Possible3D
Whether Java3D is possible on this JVM. |
protected RemoteDataReference |
RemoteCanDo3D
Remote clone's copy of CanDo3D. |
protected RemoteDataReference |
RemoteColRow
Row and column information needed for spreadsheet cloning. |
protected RemoteServerImpl |
rsi
Server for spreadsheet cells, if any. |
protected java.awt.ScrollPane |
SCPane
Scrolling pane, in case sheet gets too small. |
protected javax.swing.JPanel |
ScrollPanel
Panel containing the scrolling pane. |
protected java.lang.String |
serverName
Server name, if any. |
protected static boolean |
SHOW_CONNECT_MESSAGES
Whether connection status messages are printed about clones. |
protected javax.swing.JFileChooser |
SSFileDialog
File dialog. |
protected static java.lang.String |
SSFileHeader
Header for first line of spreadsheet files. |
protected javax.swing.JButton |
Tool2D
Toolbar buttons. |
protected javax.swing.JButton |
Tool3D
Toolbar buttons. |
protected javax.swing.JToolBar |
Toolbar
Tool bar. |
protected javax.swing.JButton |
ToolJ2D
Toolbar buttons. |
protected javax.swing.JButton |
ToolMap
Toolbar buttons. |
protected javax.swing.JButton |
ToolPaste
Toolbar buttons. |
protected javax.swing.JButton |
ToolReset
Toolbar buttons. |
protected javax.swing.JButton |
ToolSave
Toolbar buttons. |
protected javax.swing.JButton |
ToolShow
Toolbar buttons. |
protected javax.swing.JComponent[] |
VertDrag
Array of vertical yellow sizing boxes. |
protected javax.swing.JPanel[] |
VertLabel
Array of panels for vertical labels. |
protected javax.swing.JViewport |
VertLabels
View port for vertical cell labels. |
protected javax.swing.JPanel |
VertPanel
Panel containing vertical labels and sizing boxes. |
protected static int |
WIDTH_PERCENT
Starting width of the application, in percentage of screen size. |
Fields inherited from class visad.util.GUIFrame |
---|
hash, heavy, menubar |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, 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 javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SpreadSheet()
Constructor with option selection dialog at default values. |
|
SpreadSheet(int sWidth,
int sHeight,
int cols,
int rows,
java.lang.String server,
java.lang.String clone,
java.lang.String sTitle)
Constructor with default formula manager and no option selection dialog. |
|
SpreadSheet(int sWidth,
int sHeight,
int cols,
int rows,
java.lang.String server,
java.lang.String clone,
java.lang.String sTitle,
FormulaManager fm)
Constructor with no option selection dialog. |
|
SpreadSheet(int sWidth,
int sHeight,
int cols,
int rows,
java.lang.String server,
java.lang.String clone,
java.lang.String sTitle,
FormulaManager fm,
boolean chooseOptions)
Main constructor. |
Method Summary | |
---|---|
void |
addColumn()
Adds a column to the spreadsheet. |
void |
addRow()
Adds a row to the spreadsheet. |
protected javax.swing.JButton |
addToolbarButton(java.lang.String file,
java.lang.String tooltip,
java.lang.String command,
boolean enabled,
javax.swing.JComponent parent)
Adds a button to a toolbar. |
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
Handles scrollbar changes. |
static void |
adjustTextField(javax.swing.JTextField field)
Deprecated. Use Util.adjustTextField(JTextField) instead. |
void |
captureImageJPEG()
Captures the display of the current cell and saves it as a JPEG image. |
static void |
centerWindow(java.awt.Window window)
Deprecated. Use Util.centerWindow(Window) instead. |
void |
clearCell()
Clears the mappings and formula of the current cell if it is safe to do so, or if the user confirms the clear. |
protected void |
clearCell(boolean checkSafe)
Clears the mappings and formula of the current cell. |
void |
copyCell()
Copies a cell from the screen to the clipboard. |
protected FancySSCell |
createCell(java.lang.String name,
RemoteServer rs)
Returns a new instance of a spreadsheet cell (which must extend FancySSCell), used when a spreadsheet row or column is added. |
void |
createMappings()
Specifies mappings from Data to Display. |
void |
cutCell()
Moves a cell from the screen to the clipboard. |
boolean |
deleteColumn()
Deletes a column from the spreadsheet. |
boolean |
deleteRow()
Deletes a row from the spreadsheet. |
void |
displayChanged(DisplayEvent e)
Handles display changes. |
protected void |
displayErrorMessage(java.awt.Component parent,
java.lang.String msg,
java.lang.Exception exc,
java.lang.String title)
Displays an error in a message dialog. |
protected void |
displayErrorMessage(java.lang.String msg,
java.lang.Exception exc,
java.lang.String title)
Displays an error in a message dialog. |
void |
exportDataSet(Form form)
Exports a data set using the given form. |
void |
exportDataSetBinary()
Exports a data set to VisAD binary data format. |
void |
exportDataSetHDF5()
Exports a data set to HDF-5 format. |
void |
exportDataSetNetcdf()
Exports a data set to netCDF format. |
void |
exportDataSetSerial()
Exports a data set to serialized data format. |
void |
exportDataSetTIFF()
Exports a data set to TIFF format. |
void |
formulaAdd()
Prompts the user to type a source for a new data object for the current cell. |
void |
formulaDel()
Deletes the selected data object from the current cell. |
protected boolean |
getOptions(int cols,
int rows,
java.lang.String server,
java.lang.String clone,
boolean slave)
Pops up an option selection dialog for choosing SpreadSheet options. |
javax.swing.JToolBar |
getToolbar()
Returns the JToolBar object for other programs to use (e.g., add buttons). |
void |
itemStateChanged(java.awt.event.ItemEvent e)
Handles checkbox menu item changes (dimension checkboxes). |
void |
keyPressed(java.awt.event.KeyEvent e)
BIG HAMMER HACK. |
void |
keyReleased(java.awt.event.KeyEvent e)
BIG HAMMER HACK. |
void |
keyTyped(java.awt.event.KeyEvent e)
BIG HAMMER HACK. |
void |
loadDataSet()
Imports a data set. |
static void |
main(java.lang.String[] argv)
Gateway into VisAD Visualization SpreadSheet user interface. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Unused MouseListener method. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Handles cell label resizing. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Unused MouseListener method. |
void |
mouseExited(java.awt.event.MouseEvent e)
Unused MouseListener method. |
void |
mouseMoved(java.awt.event.MouseEvent e)
Unused MouseMotionListener method. |
void |
mousePressed(java.awt.event.MouseEvent e)
Handles mouse presses. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Handles cell resizing. |
boolean |
newFile()
Creates a new spreadsheet file, asking user to confirm first. |
protected boolean |
newFile(boolean safe)
Creates a new spreadsheet file. |
void |
openFile()
Opens an existing spreadsheet file chosen by the user. |
void |
openFile(java.lang.String file)
Opens the specified spreadsheet file. |
void |
optionsDetect()
Sets mapping auto-detection to match Auto-detect menu item state. |
void |
optionsDisplay()
Sets auto-display of controls to match Auto-display menu item state. |
void |
optionsSwitch()
Sets auto-dimension switching to match Auto-switch menu item state. |
void |
pasteCell()
Copies a cell from the clipboard to the screen. |
void |
printCurrentCell()
Creates a hardcopy of the current spreadsheet cell. |
void |
quitProgram()
Does any necessary clean-up, then quits the program. |
protected void |
reconstructSpreadsheet(java.lang.String[][] cellNames,
int[] w,
int[] h,
RemoteServer rs)
|
protected void |
refreshCells()
Refreshes spreadsheet cells. |
protected void |
refreshDisplayMenuItems()
Updates dimension checkbox menu items and toolbar buttons. |
protected void |
refreshFormulaBar()
Makes sure the formula bar is displaying up-to-date info. |
protected void |
refreshMenuCommands()
Enables or disables certain menu items depending on whether this cell has data. |
protected void |
refreshOptions()
Refreshes check box items in the Options menu. |
protected void |
refreshShowControls()
Refreshes the "Show controls" menu option and toolbar button. |
void |
resetOrientation()
Resets the display projection to its original value. |
void |
saveAsFile()
Saves a spreadsheet file under a new name. |
void |
saveFile()
Saves a spreadsheet file under its current name. |
void |
selectCell(int x,
int y)
Selects the specified cell and updates screen info. |
protected void |
setAutoDetect(boolean b)
Toggles mapping auto-detection. |
protected void |
setAutoShowControls(boolean b)
Toggles auto-display of controls. |
protected void |
setAutoSwitch(boolean b)
Toggles auto-dimension switching. |
protected void |
setDim(int dim)
Sets the dimension of the current cell. |
void |
setDim2D()
Sets the dimension of the current cell to 2-D (Java3D). |
void |
setDim3D()
Sets the dimension of the current cell to 3-D (Java3D). |
void |
setDimJ2D()
Sets the dimension of the current cell to 2-D (Java2D). |
static void |
setSSCellClass(java.lang.Class c)
Sets the SpreadSheet cell class to the given class (which must extend FancySSCell), used for creating SpreadSheet cells. |
void |
showControls()
Displays the controls for the currently selected cell. |
static void |
snooze(long ms)
Waits the specified number of milliseconds. |
void |
ssCellChanged(SSCellChangeEvent e)
Handles changes in a cell's data. |
void |
tileCells()
Resizes all cells to exactly fill the entire pane, if possible. |
Methods inherited from class visad.util.GUIFrame |
---|
actionPerformed, addMenuItem, addMenuItem, addMenuItem, addMenuSeparator, addSubMenu, addSubMenu, addSubMenu, getMenu, getMenuItem |
Methods inherited from class javax.swing.JFrame |
---|
addImpl, createRootPane, 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, setTransferHandler, update |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, 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, paint, 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, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, 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, isOpaque, 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, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, 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 Detail |
---|
protected static final int WIDTH_PERCENT
protected static final int HEIGHT_PERCENT
protected static final int MIN_VIS_WIDTH
protected static final int MIN_VIS_HEIGHT
protected static final int DEFAULT_VIS_WIDTH
protected static final int DEFAULT_VIS_HEIGHT
protected static final java.lang.String Letters
protected static final int LABEL_WIDTH
protected static final int LABEL_HEIGHT
protected static final boolean SHOW_CONNECT_MESSAGES
protected static final java.lang.String SSFileHeader
protected static final java.lang.Class[] cellArgs
protected static java.lang.reflect.Constructor cellConstructor
protected static boolean Possible3D
protected static boolean CanDo3D
protected static boolean CanDoHDF5
protected static boolean CanDoJPEG
protected static boolean CanDoPython
protected static boolean BugFix
protected javax.swing.JFileChooser SSFileDialog
protected java.lang.String bTitle
protected int NumVisX
protected int NumVisY
protected FormulaManager fm
protected java.lang.String serverName
protected java.lang.String cloneAddress
protected RemoteServerImpl rsi
protected boolean IsRemote
protected boolean IsSlave
protected double CollabID
protected RemoteDataReference RemoteColRow
protected RemoteDataReference RemoteCanDo3D
protected boolean AutoSwitch
protected boolean AutoDetect
protected boolean AutoShowControls
protected java.awt.Panel DisplayPanel
protected javax.swing.JPanel ScrollPanel
protected java.awt.ScrollPane SCPane
protected javax.swing.JViewport HorizLabels
protected javax.swing.JViewport VertLabels
protected javax.swing.JPanel[] HorizLabel
protected javax.swing.JPanel[] VertLabel
protected javax.swing.JComponent[] HorizDrag
protected javax.swing.JComponent[] VertDrag
protected javax.swing.JPanel HorizPanel
protected javax.swing.JPanel VertPanel
protected FancySSCell[][] DisplayCells
protected javax.swing.JComboBox FormulaBox
protected javax.swing.ComboBoxEditor FormulaEditor
protected javax.swing.JTextField FormulaText
protected java.awt.event.ActionListener FormulaListener
protected javax.swing.JToolBar Toolbar
protected javax.swing.JMenu FileExport
protected javax.swing.JMenuItem FileSave1
protected javax.swing.JMenuItem FileSave2
protected javax.swing.JMenuItem FileSave3
protected javax.swing.JMenuItem FileSave4
protected javax.swing.JMenuItem FileSave5
protected javax.swing.JMenuItem FileSnap
protected javax.swing.JMenuItem EditPaste
protected javax.swing.JMenuItem EditClear
protected javax.swing.JMenuItem CellDel
protected javax.swing.JMenuItem CellPrint
protected javax.swing.JMenuItem CellEdit
protected javax.swing.JMenuItem CellReset
protected javax.swing.JMenuItem CellShow
protected javax.swing.JMenuItem LayAddCol
protected javax.swing.JMenuItem LayDelCol
protected javax.swing.JMenuItem LayDelRow
protected javax.swing.JCheckBoxMenuItem CellDim3D3D
protected javax.swing.JCheckBoxMenuItem CellDim2D2D
protected javax.swing.JCheckBoxMenuItem CellDim2D3D
protected javax.swing.JCheckBoxMenuItem AutoSwitchBox
protected javax.swing.JCheckBoxMenuItem AutoDetectBox
protected javax.swing.JCheckBoxMenuItem AutoShowBox
protected javax.swing.JButton ToolSave
protected javax.swing.JButton ToolPaste
protected javax.swing.JButton Tool3D
protected javax.swing.JButton Tool2D
protected javax.swing.JButton ToolJ2D
protected javax.swing.JButton ToolMap
protected javax.swing.JButton ToolShow
protected javax.swing.JButton ToolReset
protected javax.swing.JButton FormulaAdd
protected javax.swing.JButton FormulaDel
protected int CurX
protected int CurY
protected java.lang.String Clipboard
protected java.io.File CurrentFile
protected java.lang.Object Lock
Constructor Detail |
---|
public SpreadSheet()
public SpreadSheet(int sWidth, int sHeight, int cols, int rows, java.lang.String server, java.lang.String clone, java.lang.String sTitle)
public SpreadSheet(int sWidth, int sHeight, int cols, int rows, java.lang.String server, java.lang.String clone, java.lang.String sTitle, FormulaManager fm)
public SpreadSheet(int sWidth, int sHeight, int cols, int rows, java.lang.String server, java.lang.String clone, java.lang.String sTitle, FormulaManager fm, boolean chooseOptions)
Method Detail |
---|
public static void snooze(long ms)
public static void main(java.lang.String[] argv)
public void loadDataSet()
public void exportDataSetNetcdf()
public void exportDataSetSerial()
public void exportDataSetHDF5()
public void exportDataSetTIFF()
public void exportDataSetBinary()
public void exportDataSet(Form form)
public void captureImageJPEG()
public void quitProgram()
public void cutCell()
public void copyCell()
public void pasteCell()
public void clearCell()
protected void clearCell(boolean checkSafe)
public boolean newFile()
protected boolean newFile(boolean safe)
public void openFile()
public void openFile(java.lang.String file)
public void saveFile()
public void saveAsFile()
public void setDim3D()
public void setDimJ2D()
public void setDim2D()
protected void setDim(int dim)
public void printCurrentCell()
public void createMappings()
public void resetOrientation()
public void showControls()
public void addColumn()
public void addRow()
public boolean deleteColumn()
public boolean deleteRow()
public void tileCells()
public void optionsSwitch()
public void optionsDetect()
public void optionsDisplay()
protected void setAutoSwitch(boolean b)
protected void setAutoDetect(boolean b)
protected void setAutoShowControls(boolean b)
public void formulaAdd()
public void formulaDel()
protected void refreshCells()
protected void refreshOptions()
protected void refreshShowControls()
protected void refreshMenuCommands()
protected void refreshFormulaBar()
protected void refreshDisplayMenuItems()
protected void reconstructSpreadsheet(java.lang.String[][] cellNames, int[] w, int[] h, RemoteServer rs)
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged
in interface java.awt.event.AdjustmentListener
public void displayChanged(DisplayEvent e)
displayChanged
in interface DisplayListener
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void ssCellChanged(SSCellChangeEvent e)
ssCellChanged
in interface SSCellListener
public static void setSSCellClass(java.lang.Class c)
public void selectCell(int x, int y)
protected boolean getOptions(int cols, int rows, java.lang.String server, java.lang.String clone, boolean slave)
public javax.swing.JToolBar getToolbar()
protected FancySSCell createCell(java.lang.String name, RemoteServer rs) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
protected void displayErrorMessage(java.lang.String msg, java.lang.Exception exc, java.lang.String title)
protected void displayErrorMessage(java.awt.Component parent, java.lang.String msg, java.lang.Exception exc, java.lang.String title)
protected javax.swing.JButton addToolbarButton(java.lang.String file, java.lang.String tooltip, java.lang.String command, boolean enabled, javax.swing.JComponent parent)
public static void adjustTextField(javax.swing.JTextField field)
public static void centerWindow(java.awt.Window window)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |