public class DefaultSpreadsheetPanel extends javax.swing.JPanel implements MyrtleSheetAPI
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected MyrtleConnectivity |
Connection |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
DefaultSpreadsheetPanel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBookmark(java.lang.String bmname,
java.lang.String range) |
void |
addBookmark(java.lang.String bmname,
java.lang.String range,
boolean yestoall) |
void |
addBookmark(java.lang.String gory,
java.lang.String bmname,
java.lang.String range)
Adds a bookmark for the given range under the named bookmark category folder.
|
void |
addBookmark(java.lang.String gory,
java.lang.String bmname,
java.lang.String range,
boolean yestoall)
Adds a bookmark for the given range under the named bookmark category folder.
|
void |
addBookmarkFolder(java.lang.String cat) |
void |
addNewProcedure() |
void |
addNewProcedure(int pos) |
void |
addNewUndoEvent(SpreadsheetUndoEvent undoevt) |
void |
addProc(SpreadsheetProcedure newScript)
Adds the given procedure and docks it into the scripting frame.
|
void |
addRangeGrabListener(RangeGrabListener l)
Adds a listener for changes in the selected (highlighted)
ranges within a spreadsheet.
|
void |
addRegisteredLink(java.lang.String linklabel,
java.lang.String linkurl) |
void |
addRepositoryListener(RepositoryListener listen) |
void |
addScriptAt(int pos) |
void |
addSelectionBookmark()
Allows a user to interactively add a new bookmark.
|
void |
addSheet(java.lang.String title) |
DefaultSpreadsheetTable |
addSheetAfter()
Adds a new sheet positioned subsequent to the current one.
|
void |
addSheetAfterCopyAll()
Adds a new sheet after the current one and copies the current sheet's
contents to that one.
|
DefaultSpreadsheetTable |
addSheetBefore()
Adds and returns a new sheet positioned before the currently selected sheet.
|
void |
addSheetBeforeCopyAll()
Adds a new sheet before the current one and copies the current sheet's
contents to that one.
|
DefaultSpreadsheetTable |
addSheetNoSideEffects(int j,
java.lang.String title) |
void |
addSpreadsheetPanelListener(SpreadsheetPanelListener l)
Adds the given SpreadsheetPanelListener.
|
void |
afterCopyStorage() |
void |
afterTransferStorage() |
void |
applyPreferences(SpreadsheetPreferences prefs) |
void |
archiveSelectedProcs() |
void |
beforeCopyStorage() |
void |
beforeTransferStorage() |
void |
browseSelectedLinks() |
void |
copyAllToClipboard()
Selects and then copies all of the contents of the current sheet to the clipboard.
|
void |
copySelectedToClipboard()
Copies the contents of the current sheet's selected range to the clipboard.
|
void |
copyStorage(RepositoryStorage x) |
void |
copyStorageCommands(RepositoryStorage x) |
SpreadsheetTable |
createNewSheet()
Creates a new sheet as a SpreadsheetTable.
|
void |
csvExportOneFilePerSheet()
Exports each sheet as a separate CSV file.
|
void |
csvExportSheet()
Exports the current sheet as a CSV file.
|
void |
deleteCurrentSheet()
Deletes the currently selected sheet.
|
void |
deleteSelectedProcs()
Deletes the currently selected procedures from the scripting frame.
|
DefaultSpreadsheetTable |
deleteSheetNoSideEffects(int j) |
java.util.LinkedHashMap |
dummyCoding(java.lang.String a) |
void |
editPreferences() |
void |
editSelectedLinkLabels()
Edits/Browses the selected registered links.
|
void |
editSelectedScripts()
Edits/Browses the selected procedures.
|
java.lang.Object |
evalFunction(java.lang.String fun,
java.lang.Object[] args,
DefaultSpreadsheetPanel p,
DefaultSpreadsheetTable t) |
void |
evaluateSelectedProcedures()
Evaluates the currently selected procedures in the scripting frame.
|
void |
exitAll()
Exits the entire project.
|
void |
fillRange(DefaultSpreadsheetTable tabl,
java.lang.String range,
java.lang.String startValue,
java.lang.String stopValue)
Fills the indicated range in the indicated table.
|
void |
fillRange(java.lang.String range,
java.lang.String startValue,
java.lang.String stopValue)
Fills the indicated range in the currently selected table.
|
void |
fillSelection() |
protected java.awt.Frame |
findActiveFrame() |
void |
fireSpreadsheetPanelChange(SpreadsheetPanelEvent ev)
Inform all SpreadsheetPanelListeners that a change has occured.
|
protected ReservedFunction |
get_function(java.lang.String cobj) |
java.util.LinkedHashMap |
getAllBookmarks() |
java.util.Vector |
getAllEntries(java.lang.String title)
Gets all the entries for a particular sheet.
|
java.lang.String[] |
getAllRanges(java.lang.String sarg) |
java.util.Vector |
getAllRegisteredLinks() |
BernoulliDistribution |
getBernoulliDistribution() |
BinomialDistribution |
getBinomialDistribution() |
java.lang.String |
getBookmarkForRange(java.lang.String range)
Returns a bookmark name if one exists for the given range.
|
ChiSqDistribution |
getChiSqDistribution() |
int |
getColumnCountForSheet(java.lang.String title) |
java.lang.String |
getComment()
Gets the descriptive comment for this Wedge inverse problem as a whole.
|
java.lang.String |
getCreatedBy() |
java.lang.String |
getCreatedOn() |
java.lang.String |
getCurrentPreferenceSet() |
DefaultSpreadsheetTable |
getCurrentSheet() |
java.lang.String |
getCurrentSheetTitle()
Gets the currently selected sheet's title.
|
DblMatrix |
getDblMatrixFor(java.lang.String range)
Extracts a range of sheet cells' values interpreted as double's.
|
DblMatrix |
getDblMatrixForBookmark(java.lang.String mark)
Extracts a range of sheet cells' values interpreted as double's.
|
DblMatrix |
getDblMatrixForRange(java.lang.String range)
Extracts a range of sheet cells' values interpreted as double's.
|
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.lang.String |
getDefaultOutputDirectory() |
DiscreteUniformDistribution |
getDiscreteUniformDistribution() |
java.lang.Class |
getDOMStorageClass() |
java.lang.String |
getEnabled()
Gets the state of the (possibly remote) storage.
|
java.lang.String |
getEntryFunctionAt(java.lang.String title,
int row,
int col) |
java.lang.String |
getEntryValueAt(java.lang.String title,
int row,
int col) |
FDistribution |
getFDistribution() |
GammaDistribution |
getGammaDistribution() |
java.util.HashMap |
getGetFunctionLibrary()
Returns the current reserved function library as a HashMap.
|
GroovyScriptReservedFunction |
getGroovyScriptReservedFunctionFor(java.lang.String cobj,
DefaultSpreadsheetPanel parentPanel,
DefaultSpreadsheetTable parentTable,
DefaultSpreadsheetEntry entry)
Returns a reserved function having the indicated name and associates it with the indicated
panel, table, and spreadsheet cell.
|
HypergeometricDistribution |
getHypergeometricDistribution() |
java.lang.String |
getNickname()
Gets the project name for this Wedge inverse problem.
|
NormalDistribution |
getNormalDistribution() |
int |
getPersistentSheetCounter() |
PoissonDistribution |
getPoissonDistribution() |
MyrtlePrefs |
getPreferences() |
java.lang.String |
getPreferenceValue(java.lang.String str) |
java.lang.String |
getPrintExportFormat()
Gets the user's preferred print/export format.
|
java.lang.String |
getPrintProcExportFormat() |
java.lang.String |
getRangeForBookmark(java.lang.String mark)
Returns the spreadsheet cell range having the given bookmark.
|
int |
getRowCountForSheet(java.lang.String title) |
java.lang.String |
getScriptContents(int pos) |
int |
getScriptCount() |
java.lang.String |
getScriptLabel(int pos) |
DefaultSpreadsheetPanel.LinkLabel |
getSelectedLink() |
DefaultSpreadsheetPanel.LinkLabel |
getSelectedRegisteredLink()
Returns the first selected registered link (image).
|
java.util.Vector |
getSelectedRegisteredLinks() |
SpreadsheetTable |
getSheet(java.lang.String title)
Returns the named sheet as a SpreadsheetTable.
|
SpreadsheetTable |
getSheetAt(int j)
Returns the sheet at the given index as a SpreadsheetTable.
|
java.lang.String |
getSheetComment(int sheet)
Returns the description for the named spreadsheet.
|
int |
getSheetCount()
Returns the total number of sheets.
|
java.lang.String |
getSheetDescription(java.lang.String title) |
java.lang.String |
getSheetLabel(int sht) |
java.lang.Class |
getStorageTransferAgentClass() |
TDistribution |
getTDistribution() |
java.lang.String |
getTimeStamp() |
java.lang.String |
getTitleOfTable(DefaultSpreadsheetTable t)
Returns the title of the current sheet.
|
UniformDistribution |
getUniformDistribution() |
void |
goToFirstSheet() |
void |
goToNextSheet()
Makes the subsequent sheet the current one.
|
void |
goToPreviousSheet()
Makes the previous sheet the current one.
|
void |
goToSheet()
Allows user to interactively select a sheet and make it current.
|
void |
goToSheet(java.lang.String title)
Makes the names sheet current.
|
void |
htmlExportOneFilePerSheet()
Exports each sheet as a separate HTML web page.
|
void |
htmlExportOneFilePerSheetMerged()
Exports each sheet as a single merged HTML web page.
|
void |
htmlExportSheet()
Exports the current sheet as a HTML web page.
|
void |
importCSVFile(java.io.File csvfile)
Imports the named CSV file.
|
void |
importProc()
Imports and docks a new script interactively into the scripting frame.
|
void |
importProc(java.net.URL url)
Imports and docks a new script at the given URL into the scripting frame.
|
void |
importSheets()
Allows user to interactively import spreadsheets (e.g.
|
void |
intersect() |
void |
intersect(java.lang.String a,
java.lang.String b,
java.lang.String dest) |
void |
jpgExportLink() |
void |
jpgExportLink(DefaultSpreadsheetPanel.LinkLabel l) |
void |
jpgExportOneFilePerLink() |
void |
latexExportOneFilePerSheet()
Exports each sheet as a single merged LaTeX document.
|
void |
latexExportOneFilePerSheetMerged()
Exports each sheet as a separate LaTeX document.
|
void |
linkFigureAsPNG(SLFigure fig,
java.lang.String label) |
void |
linkFigureAsPNG(SLFigure fig,
java.lang.String label,
java.lang.String fname) |
Script |
loadArchivedProcedure(java.lang.String nn)
Loads an existing script storage by nickname.
|
void |
manageSelectionBookmarks()
Allows a user to interactively manage their bookmarks.
|
java.lang.String |
nameOf(java.lang.String range)
Returns the name (if any) of the first bookmark having the indicated spreadsheet cell range.
|
void |
openProject() |
DblMatrix |
parseDblMatrix(java.lang.Object arg0) |
java.lang.String[][] |
parseStringMatrix(java.lang.Object arg0) |
void |
pasteClipboardAt(int r,
int c)
Pastes the contents of the clipboard beginning at the indicated row and column
of the current sheet.
|
void |
pasteDblMatrixAt(DblMatrix X,
int startrow,
int startcol) |
void |
pasteDblMatrixAt(DefaultSpreadsheetTable tabl,
DblMatrix X,
int startrow,
int startcol) |
void |
pasteMatrixAt(SpreadsheetEntryMatrix pastesrc,
int startrow,
int startcol) |
void |
pngExportLink() |
void |
pngExportLink(DefaultSpreadsheetPanel.LinkLabel l) |
void |
pngExportOneFilePerLink() |
void |
printJPG(java.io.File jpgfile) |
void |
printLink() |
void |
printLink(DefaultSpreadsheetPanel.LinkLabel l,
boolean interactive) |
void |
printOneFilePerLink() |
void |
printOneFilePerSheet()
Prints separately for each sheet.
|
void |
printSheet()
Prints the currently selected sheet.
|
void |
rangeGrabAction(RangeGrabEvent e)
Executes and updates for the given RangeGrabEvent.
|
java.lang.String |
rangeOf(java.lang.String mark)
Returns the spreadsheet cell range having the given bookmark.
|
void |
redo() |
void |
refreshLink(java.lang.String x)
Updates the images or files for the named registered links.
|
void |
refreshLink(java.net.URL x)
Updates the images or files for links whose URL is given.
|
void |
refreshListeners() |
void |
refreshSelectedLinks()
Updates the images or files for all selected registered links.
|
void |
registerFigure(java.lang.String label,
SLFigure x) |
void |
registerLink(java.lang.String link)
Registers the named link into the results frame.
|
void |
registerLink(java.lang.String label,
java.lang.String linkin) |
void |
registerLinks(java.lang.String linksList)
Registster a newline-delimited list of links.
|
void |
removeAllBookmarks() |
void |
removeAllRegisteredLinks() |
void |
removeAllScripts() |
void |
removeAllSheets() |
void |
removeRangeGrabListener(RangeGrabListener l)
Removes a listener for changes in the selected (highlighted)
ranges within a spreadsheet.
|
void |
removeRepositoryListener(RepositoryListener listen) |
void |
removeScriptAt(int pos) |
void |
removeSheet(java.lang.String title) |
void |
removeSpreadsheetPanelListener(SpreadsheetPanelListener l)
Removes the given SpreadsheetPanelListener.
|
void |
saveOneFilePerProc()
Saves/exports each procedure to a file.
|
void |
saveProcAs()
Allows user to saves the selected procedures interactively.
|
void |
saveProcAs(SpreadsheetProcedure selected,
java.io.File fid)
Saves the indicated procedure to the given file.
|
void |
saveProject() |
void |
selectAll()
Selects all of the contents of the current sheet.
|
void |
selectAllProcs()
Selects all of the procedurs that are currently docked into the scripting frame.
|
void |
setColumnCountForSheet(java.lang.String title,
int cols) |
void |
setComment(java.lang.String com) |
void |
setCreatedBy(java.lang.String com) |
void |
setCreatedOn(java.lang.String com) |
void |
setCurrentPreferenceSet(java.lang.String set) |
void |
setdiff() |
void |
setdiff(java.lang.String a,
java.lang.String b,
java.lang.String dest)
Returns values in first argument that are not in the second argument.
|
void |
setEnabled(java.lang.String s)
Sets the enabled state of the (possibly remote) storage instance.
|
void |
setEntryFunctionAt(java.lang.String title,
int row,
int col,
java.lang.String strrep) |
void |
setEntryValueAt(java.lang.String title,
int row,
int col,
java.lang.String strval) |
void |
setMask() |
void |
setMask(java.lang.String a,
java.lang.String b,
java.lang.String dest)
Returns values in first argument where the values in the second argument equal 1.0.
|
void |
setMaskColumns() |
void |
setMaskColumns(java.lang.String a,
java.lang.String b,
java.lang.String dest)
Returns columns of the region in the first argument where the values in the second argument equal 1.0.
|
void |
setMaskRows() |
void |
setMaskRows(java.lang.String a,
java.lang.String b,
java.lang.String dest)
Returns rows of the region in the first argument where the values in the second argument equal 1.0.
|
void |
setNickname(java.lang.String s)
Sets the project name for this Wedge inverse problem.
|
void |
setPersistentSheetCounter(int shts) |
void |
setRowCountForSheet(java.lang.String title,
int rows) |
void |
setScriptContents(int pos,
java.lang.String s) |
void |
setScriptLabel(int pos,
java.lang.String s) |
void |
setSheetComment(int sheet,
java.lang.String com)
Sets the description for the named spreadsheet.
|
void |
setSheetDescription(java.lang.String title,
java.lang.String desc) |
void |
showMessageDialog(java.lang.String s)
Shows a message to the user.
|
void |
showProcedureStackTrace(java.lang.String script,
java.lang.Throwable e)
Allows user to view and debug failed scripts by showing the stack trace which lead up to
the script failing.
|
void |
showStackTrace(java.lang.Throwable e)
Allows user to view and debug by showing the stack trace.
|
void |
sortRange() |
protected static java.lang.String |
stack2string(java.lang.Throwable e) |
void |
tableChanged(javax.swing.event.TableModelEvent ev)
This method get's called if any of the table's entries are modified...
|
void |
transferStorage(RepositoryStorage that) |
void |
transferStorageCommands(RepositoryStorage x) |
void |
undo() |
void |
union() |
void |
union(java.lang.String a,
java.lang.String b,
java.lang.String dest) |
java.util.Vector |
uniqueValues(java.lang.String a) |
boolean |
unRegisterLink(DefaultSpreadsheetPanel.LinkLabel x) |
boolean |
unRegisterLink(java.lang.String x)
Unregisters the named registered links (image or file) from the results frame.
|
boolean |
unRegisterLink(java.net.URL x)
Unregisters the registered links (image or file) whose URL is given.
|
void |
unRegisterSelectedLinks()
Unregisters all selected registered links (image or file) from the results frame.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, 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, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, 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, validateTreeaction, 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, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected MyrtleConnectivity Connection
public void browseSelectedLinks()
protected ReservedFunction get_function(java.lang.String cobj)
public void setCurrentPreferenceSet(java.lang.String set)
public java.lang.String getCurrentPreferenceSet()
public void applyPreferences(SpreadsheetPreferences prefs)
public void editPreferences()
public java.lang.Object evalFunction(java.lang.String fun,
java.lang.Object[] args,
DefaultSpreadsheetPanel p,
DefaultSpreadsheetTable t)
public void addNewProcedure()
public void addNewProcedure(int pos)
public void evaluateSelectedProcedures()
MyrtleSheetAPIevaluateSelectedProcedures in interface MyrtleSheetAPIpublic void linkFigureAsPNG(SLFigure fig, java.lang.String label)
public void linkFigureAsPNG(SLFigure fig, java.lang.String label, java.lang.String fname)
public java.lang.String getTimeStamp()
public java.lang.String getDefaultOutputDirectory()
public java.lang.String getPreferenceValue(java.lang.String str)
public MyrtlePrefs getPreferences()
public void addSelectionBookmark()
MyrtleSheetAPIaddSelectionBookmark in interface MyrtleSheetAPIpublic void fillSelection()
public void sortRange()
public void manageSelectionBookmarks()
MyrtleSheetAPImanageSelectionBookmarks in interface MyrtleSheetAPIpublic NormalDistribution getNormalDistribution()
public FDistribution getFDistribution()
public DiscreteUniformDistribution getDiscreteUniformDistribution()
public BernoulliDistribution getBernoulliDistribution()
public PoissonDistribution getPoissonDistribution()
public UniformDistribution getUniformDistribution()
public GammaDistribution getGammaDistribution()
public HypergeometricDistribution getHypergeometricDistribution()
public TDistribution getTDistribution()
public ChiSqDistribution getChiSqDistribution()
public BinomialDistribution getBinomialDistribution()
public java.util.HashMap getGetFunctionLibrary()
MyrtleSheetAPIgetGetFunctionLibrary in interface MyrtleSheetAPIpublic void addRangeGrabListener(RangeGrabListener l)
MyrtleSheetAPIaddRangeGrabListener in interface MyrtleSheetAPIpublic void removeRangeGrabListener(RangeGrabListener l)
MyrtleSheetAPIremoveRangeGrabListener in interface MyrtleSheetAPIpublic void deleteSelectedProcs()
MyrtleSheetAPIdeleteSelectedProcs in interface MyrtleSheetAPIpublic void refreshListeners()
public void archiveSelectedProcs()
public void addBookmark(java.lang.String bmname,
java.lang.String range,
boolean yestoall)
public void addBookmark(java.lang.String bmname,
java.lang.String range)
public void addBookmark(java.lang.String gory,
java.lang.String bmname,
java.lang.String range,
boolean yestoall)
public Script loadArchivedProcedure(java.lang.String nn)
MyrtleSheetAPIloadArchivedProcedure in interface MyrtleSheetAPIpublic void addBookmark(java.lang.String gory,
java.lang.String bmname,
java.lang.String range)
addBookmark in interface MyrtleStorageaddBookmark in interface MyrtleSheetAPIpublic void pasteDblMatrixAt(DblMatrix X, int startrow, int startcol)
public void pasteDblMatrixAt(DefaultSpreadsheetTable tabl, DblMatrix X, int startrow, int startcol)
public void fillRange(java.lang.String range,
java.lang.String startValue,
java.lang.String stopValue)
MyrtleSheetAPIfillRange in interface MyrtleSheetAPIpublic void fillRange(DefaultSpreadsheetTable tabl, java.lang.String range, java.lang.String startValue, java.lang.String stopValue)
MyrtleSheetAPIfillRange in interface MyrtleSheetAPIpublic void saveProject()
public void refreshLink(java.lang.String x)
MyrtleSheetAPIrefreshLink in interface MyrtleSheetAPIpublic void refreshSelectedLinks()
MyrtleSheetAPIrefreshSelectedLinks in interface MyrtleSheetAPIpublic void refreshLink(java.net.URL x)
MyrtleSheetAPIrefreshLink in interface MyrtleSheetAPIpublic DblMatrix getDblMatrixForRange(java.lang.String range)
MyrtleSheetAPIgetDblMatrixForRange in interface MyrtleSheetAPIMyrtleSheetAPI.getDblMatrixFor(String str),
MyrtleSheetAPI.getDblMatrixForBookmark(String str)public DblMatrix getDblMatrixFor(java.lang.String range)
MyrtleSheetAPIgetDblMatrixFor in interface MyrtleSheetAPIMyrtleSheetAPI.getDblMatrixForRange(String str),
MyrtleSheetAPI.getDblMatrixForBookmark(String str)public DblMatrix getDblMatrixForBookmark(java.lang.String mark)
MyrtleSheetAPIgetDblMatrixForBookmark in interface MyrtleSheetAPIMyrtleSheetAPI.getDblMatrixFor(String str),
MyrtleSheetAPI.getDblMatrixForRange(String str)public java.lang.String getBookmarkForRange(java.lang.String range)
getBookmarkForRange in interface MyrtleSheetAPIpublic java.lang.String getRangeForBookmark(java.lang.String mark)
getRangeForBookmark in interface MyrtleSheetAPIpublic java.lang.String rangeOf(java.lang.String mark)
public java.lang.String[] getAllRanges(java.lang.String sarg)
public java.lang.String nameOf(java.lang.String range)
rangeOf(String mark)public boolean unRegisterLink(java.lang.String x)
MyrtleSheetAPIunRegisterLink in interface MyrtleSheetAPIpublic void unRegisterSelectedLinks()
MyrtleSheetAPIunRegisterSelectedLinks in interface MyrtleSheetAPIpublic boolean unRegisterLink(DefaultSpreadsheetPanel.LinkLabel x)
public boolean unRegisterLink(java.net.URL x)
MyrtleSheetAPIunRegisterLink in interface MyrtleSheetAPIpublic void registerFigure(java.lang.String label,
SLFigure x)
public void registerLink(java.lang.String label,
java.lang.String linkin)
public void registerLink(java.lang.String link)
MyrtleSheetAPIregisterLink in interface MyrtleSheetAPIpublic void registerLinks(java.lang.String linksList)
registerLinks in interface MyrtleSheetAPIpublic DefaultSpreadsheetPanel.LinkLabel getSelectedLink()
public void setSheetComment(int sheet,
java.lang.String com)
MyrtleSheetAPIsetSheetComment in interface MyrtleSheetAPIpublic java.lang.String getSheetComment(int sheet)
MyrtleSheetAPIgetSheetComment in interface MyrtleSheetAPIpublic void importSheets()
MyrtleSheetAPIimportSheets in interface MyrtleSheetAPIpublic void importCSVFile(java.io.File csvfile)
MyrtleSheetAPIimportCSVFile in interface MyrtleSheetAPIpublic void htmlExportSheet()
MyrtleSheetAPIhtmlExportSheet in interface MyrtleSheetAPIpublic void csvExportSheet()
MyrtleSheetAPIcsvExportSheet in interface MyrtleSheetAPIpublic void htmlExportOneFilePerSheet()
MyrtleSheetAPIhtmlExportOneFilePerSheet in interface MyrtleSheetAPIpublic void latexExportOneFilePerSheetMerged()
MyrtleSheetAPIlatexExportOneFilePerSheetMerged in interface MyrtleSheetAPIpublic void htmlExportOneFilePerSheetMerged()
MyrtleSheetAPIhtmlExportOneFilePerSheetMerged in interface MyrtleSheetAPIpublic void latexExportOneFilePerSheet()
MyrtleSheetAPIlatexExportOneFilePerSheet in interface MyrtleSheetAPIpublic DefaultSpreadsheetTable getCurrentSheet()
public void goToFirstSheet()
public java.lang.String getCurrentSheetTitle()
MyrtleSheetAPIgetCurrentSheetTitle in interface MyrtleSheetAPIpublic void csvExportOneFilePerSheet()
MyrtleSheetAPIcsvExportOneFilePerSheet in interface MyrtleSheetAPIpublic java.lang.String getPrintExportFormat()
MyrtleSheetAPIgetPrintExportFormat in interface MyrtleSheetAPIpublic java.lang.String getPrintProcExportFormat()
public DefaultSpreadsheetTable addSheetNoSideEffects(int j, java.lang.String title)
public DefaultSpreadsheetTable addSheetBefore()
MyrtleSheetAPIaddSheetBefore in interface MyrtleSheetAPIpublic void addNewUndoEvent(SpreadsheetUndoEvent undoevt)
public void undo()
public void redo()
public void exitAll()
MyrtleSheetAPIexitAll in interface MyrtleSheetAPIpublic void addSheetAfterCopyAll()
MyrtleSheetAPIaddSheetAfterCopyAll in interface MyrtleSheetAPIpublic void addSheetBeforeCopyAll()
MyrtleSheetAPIaddSheetBeforeCopyAll in interface MyrtleSheetAPIpublic DefaultSpreadsheetTable deleteSheetNoSideEffects(int j)
public void deleteCurrentSheet()
MyrtleSheetAPIdeleteCurrentSheet in interface MyrtleSheetAPIpublic void copyAllToClipboard()
MyrtleSheetAPIcopyAllToClipboard in interface MyrtleSheetAPIpublic void copySelectedToClipboard()
MyrtleSheetAPIcopySelectedToClipboard in interface MyrtleSheetAPIpublic void selectAll()
MyrtleSheetAPIselectAll in interface MyrtleSheetAPIpublic void pasteMatrixAt(SpreadsheetEntryMatrix pastesrc, int startrow, int startcol)
public void pasteClipboardAt(int r,
int c)
MyrtleSheetAPIpasteClipboardAt in interface MyrtleSheetAPIpublic java.lang.String getTitleOfTable(DefaultSpreadsheetTable t)
MyrtleSheetAPIgetTitleOfTable in interface MyrtleSheetAPIpublic DefaultSpreadsheetTable addSheetAfter()
MyrtleSheetAPIaddSheetAfter in interface MyrtleSheetAPIpublic void fireSpreadsheetPanelChange(SpreadsheetPanelEvent ev)
MyrtleSheetAPIfireSpreadsheetPanelChange in interface MyrtleSheetAPIpublic void addSpreadsheetPanelListener(SpreadsheetPanelListener l)
MyrtleSheetAPIaddSpreadsheetPanelListener in interface MyrtleSheetAPIpublic void removeSpreadsheetPanelListener(SpreadsheetPanelListener l)
MyrtleSheetAPIremoveSpreadsheetPanelListener in interface MyrtleSheetAPIpublic void goToSheet()
MyrtleSheetAPIgoToSheet in interface MyrtleSheetAPIpublic void goToSheet(java.lang.String title)
MyrtleSheetAPIgoToSheet in interface MyrtleSheetAPIpublic void goToNextSheet()
MyrtleSheetAPIgoToNextSheet in interface MyrtleSheetAPIpublic void goToPreviousSheet()
MyrtleSheetAPIgoToPreviousSheet in interface MyrtleSheetAPIpublic SpreadsheetTable getSheet(java.lang.String title)
MyrtleSheetAPIgetSheet in interface MyrtleSheetAPIpublic int getSheetCount()
MyrtleSheetAPIgetSheetCount in interface MyrtleStoragegetSheetCount in interface MyrtleSheetAPIpublic SpreadsheetTable getSheetAt(int j)
MyrtleSheetAPIgetSheetAt in interface MyrtleSheetAPIpublic void rangeGrabAction(RangeGrabEvent e)
MyrtleSheetAPIrangeGrabAction in interface MyrtleSheetAPIrangeGrabAction in interface RangeGrabListenerpublic void tableChanged(javax.swing.event.TableModelEvent ev)
tableChanged in interface MyrtleSheetAPItableChanged in interface javax.swing.event.TableModelListenerpublic SpreadsheetTable createNewSheet()
MyrtleSheetAPIcreateNewSheet in interface MyrtleSheetAPIpublic void printOneFilePerSheet()
MyrtleSheetAPIprintOneFilePerSheet in interface MyrtleSheetAPIpublic void printSheet()
MyrtleSheetAPIprintSheet in interface MyrtleSheetAPIpublic void printJPG(java.io.File jpgfile)
public void pngExportOneFilePerLink()
public void jpgExportOneFilePerLink()
public void pngExportLink()
public void pngExportLink(DefaultSpreadsheetPanel.LinkLabel l)
public void jpgExportLink()
public void jpgExportLink(DefaultSpreadsheetPanel.LinkLabel l)
public void printLink(DefaultSpreadsheetPanel.LinkLabel l, boolean interactive)
public void printOneFilePerLink()
public void printLink()
public GroovyScriptReservedFunction getGroovyScriptReservedFunctionFor(java.lang.String cobj, DefaultSpreadsheetPanel parentPanel, DefaultSpreadsheetTable parentTable, DefaultSpreadsheetEntry entry)
MyrtleSheetAPIgetGroovyScriptReservedFunctionFor in interface MyrtleSheetAPIpublic void addBookmarkFolder(java.lang.String cat)
addBookmarkFolder in interface MyrtleStoragepublic java.util.LinkedHashMap getAllBookmarks()
getAllBookmarks in interface MyrtleStoragepublic void removeAllBookmarks()
removeAllBookmarks in interface MyrtleStoragepublic void selectAllProcs()
MyrtleSheetAPIselectAllProcs in interface MyrtleSheetAPIpublic void importProc(java.net.URL url)
MyrtleSheetAPIimportProc in interface MyrtleSheetAPIpublic void importProc()
MyrtleSheetAPIimportProc in interface MyrtleSheetAPIpublic void saveOneFilePerProc()
MyrtleSheetAPIsaveOneFilePerProc in interface MyrtleSheetAPIpublic void saveProcAs(SpreadsheetProcedure selected, java.io.File fid)
MyrtleSheetAPIsaveProcAs in interface MyrtleSheetAPIpublic void editSelectedLinkLabels()
MyrtleSheetAPIeditSelectedLinkLabels in interface MyrtleSheetAPIpublic void editSelectedScripts()
MyrtleSheetAPIeditSelectedScripts in interface MyrtleSheetAPIpublic void saveProcAs()
MyrtleSheetAPIsaveProcAs in interface MyrtleSheetAPIpublic void addProc(SpreadsheetProcedure newScript)
MyrtleSheetAPIaddProc in interface MyrtleSheetAPIpublic void showProcedureStackTrace(java.lang.String script,
java.lang.Throwable e)
MyrtleSheetAPIshowProcedureStackTrace in interface MyrtleSheetAPIpublic void showStackTrace(java.lang.Throwable e)
MyrtleSheetAPIshowStackTrace in interface MyrtleSheetAPIprotected java.awt.Frame findActiveFrame()
protected static java.lang.String stack2string(java.lang.Throwable e)
public void setComment(java.lang.String com)
setComment in interface RepositoryStoragepublic java.lang.String getComment()
RepositoryStoragegetComment in interface RepositoryStoragepublic void setCreatedOn(java.lang.String com)
setCreatedOn in interface RepositoryStoragepublic java.lang.String getCreatedOn()
getCreatedOn in interface RepositoryStoragepublic void setCreatedBy(java.lang.String com)
setCreatedBy in interface RepositoryStoragepublic java.lang.String getCreatedBy()
getCreatedBy in interface RepositoryStoragepublic void setNickname(java.lang.String s)
RepositoryStoragesetNickname in interface RepositoryStoragepublic java.lang.String getNickname()
RepositoryStoragegetNickname in interface RepositoryStoragepublic void setEnabled(java.lang.String s)
RepositoryStoragesetEnabled in interface RepositoryStoragepublic java.lang.String getEnabled()
RepositoryStoragegetEnabled in interface RepositoryStoragepublic void transferStorage(RepositoryStorage that)
transferStorage in interface RepositoryStorageTransferpublic void transferStorageCommands(RepositoryStorage x)
transferStorageCommands in interface RepositoryStorageTransferpublic void copyStorageCommands(RepositoryStorage x)
copyStorageCommands in interface RepositoryStorageTransferpublic void copyStorage(RepositoryStorage x)
copyStorage in interface RepositoryStorageTransferpublic void beforeTransferStorage()
beforeTransferStorage in interface RepositoryStorageTransferpublic void afterTransferStorage()
afterTransferStorage in interface RepositoryStorageTransferpublic void beforeCopyStorage()
beforeCopyStorage in interface RepositoryStorageTransferpublic void afterCopyStorage()
afterCopyStorage in interface RepositoryStorageTransferpublic java.lang.Class getDOMStorageClass()
getDOMStorageClass in interface DOMStorablepublic java.lang.Class getStorageTransferAgentClass()
public void removeRepositoryListener(RepositoryListener listen)
removeRepositoryListener in interface RepositoryStoragepublic void addRepositoryListener(RepositoryListener listen)
addRepositoryListener in interface RepositoryStoragepublic java.lang.Class getDefaultGraphicalEditorClass()
getDefaultGraphicalEditorClass in interface RepositoryStoragepublic void setPersistentSheetCounter(int shts)
setPersistentSheetCounter in interface MyrtleStoragepublic int getPersistentSheetCounter()
getPersistentSheetCounter in interface MyrtleStoragepublic void addSheet(java.lang.String title)
addSheet in interface MyrtleStoragepublic void removeSheet(java.lang.String title)
removeSheet in interface MyrtleStoragepublic void setSheetDescription(java.lang.String title,
java.lang.String desc)
setSheetDescription in interface MyrtleStoragepublic java.lang.String getSheetDescription(java.lang.String title)
getSheetDescription in interface MyrtleStoragepublic void setEntryFunctionAt(java.lang.String title,
int row,
int col,
java.lang.String strrep)
setEntryFunctionAt in interface MyrtleStoragepublic void setEntryValueAt(java.lang.String title,
int row,
int col,
java.lang.String strval)
setEntryValueAt in interface MyrtleStoragepublic java.util.Vector getAllEntries(java.lang.String title)
MyrtleStoragegetAllEntries in interface MyrtleStoragepublic java.lang.String getEntryFunctionAt(java.lang.String title,
int row,
int col)
getEntryFunctionAt in interface MyrtleStoragepublic java.lang.String getEntryValueAt(java.lang.String title,
int row,
int col)
getEntryValueAt in interface MyrtleStoragepublic int getScriptCount()
getScriptCount in interface MyrtleStoragepublic void addScriptAt(int pos)
addScriptAt in interface MyrtleStoragepublic void removeScriptAt(int pos)
removeScriptAt in interface MyrtleStoragepublic void setScriptContents(int pos,
java.lang.String s)
setScriptContents in interface MyrtleStoragepublic java.lang.String getScriptContents(int pos)
getScriptContents in interface MyrtleStoragepublic void setScriptLabel(int pos,
java.lang.String s)
setScriptLabel in interface MyrtleStoragepublic java.lang.String getScriptLabel(int pos)
getScriptLabel in interface MyrtleStoragepublic int getRowCountForSheet(java.lang.String title)
getRowCountForSheet in interface MyrtleStoragepublic int getColumnCountForSheet(java.lang.String title)
getColumnCountForSheet in interface MyrtleStoragepublic void setRowCountForSheet(java.lang.String title,
int rows)
setRowCountForSheet in interface MyrtleStoragepublic void setColumnCountForSheet(java.lang.String title,
int cols)
setColumnCountForSheet in interface MyrtleStoragepublic void removeAllScripts()
removeAllScripts in interface MyrtleStoragepublic void removeAllSheets()
removeAllSheets in interface MyrtleStoragepublic java.lang.String getSheetLabel(int sht)
getSheetLabel in interface MyrtleStoragepublic void openProject()
public void addRegisteredLink(java.lang.String linklabel,
java.lang.String linkurl)
addRegisteredLink in interface MyrtleStoragepublic java.util.Vector getAllRegisteredLinks()
getAllRegisteredLinks in interface MyrtleStoragepublic void removeAllRegisteredLinks()
removeAllRegisteredLinks in interface MyrtleStoragepublic DefaultSpreadsheetPanel.LinkLabel getSelectedRegisteredLink()
public java.util.Vector getSelectedRegisteredLinks()
public void union()
public java.util.LinkedHashMap dummyCoding(java.lang.String a)
public java.util.Vector uniqueValues(java.lang.String a)
public void union(java.lang.String a,
java.lang.String b,
java.lang.String dest)
public void intersect()
public void intersect(java.lang.String a,
java.lang.String b,
java.lang.String dest)
public void setdiff()
public void setMask()
public void setMaskRows()
public void setMaskColumns()
public void setdiff(java.lang.String a,
java.lang.String b,
java.lang.String dest)
public void setMask(java.lang.String a,
java.lang.String b,
java.lang.String dest)
public void setMaskRows(java.lang.String a,
java.lang.String b,
java.lang.String dest)
public void setMaskColumns(java.lang.String a,
java.lang.String b,
java.lang.String dest)
public DblMatrix parseDblMatrix(java.lang.Object arg0)
public java.lang.String[][] parseStringMatrix(java.lang.Object arg0)
public void showMessageDialog(java.lang.String s)
MyrtleSheetAPIshowMessageDialog in interface MyrtleSheetAPICopyright © 2011, 2013. Daniel P. Dougherty