|
|||||||||
| 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
org.rosuda.JGR.toolkit.iFrame
org.rosuda.JGR.toolkit.DataTable
public class DataTable
DataTable - implementation of a simple spreadsheet for showing and editing SVarSets.
| Nested Class Summary |
|---|
| 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 |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class org.rosuda.JGR.toolkit.iFrame |
|---|
clsAbout, clsEditor, clsHelp, clsJavaGD, clsMain, clsObjBrowser, clsPackageUtil, clsPlot, clsPrefs, clsSplash, clsTable, clsUser, MYEntry |
| 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 | |
|---|---|
DataTable()
Create a Table with an empty SVarSet. |
|
DataTable(SVarSet vs,
String type,
boolean editable)
Create a Table and show supplied SVarSet. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
actionPerformed: handle action event: menus and buttons. |
int |
currentCol()
Get current selected column. |
int |
currentCol(MouseEvent e)
Get current selected column |
int[] |
currentCols()
Get selected range of columns. |
int |
currentRow()
Get current selected row. |
int[] |
currentRows()
Get current selected range of rows. |
void |
exit()
Exit DataTable but before ask the user if we should save the data. |
void |
keyPressed(KeyEvent ke)
keyPressed: handle key event: delete (DEL), and search_again (F3). |
void |
keyReleased(KeyEvent ke)
keyReleased: handle key event. |
void |
keyTyped(KeyEvent ke)
keyTyped: handle key event. |
void |
mouseClicked(MouseEvent e)
mouseClicked: handle mouse event. |
void |
mouseEntered(MouseEvent e)
mouseEntered: handle mouse event. |
void |
mouseExited(MouseEvent e)
mouseExited: handle mouse event. |
void |
mousePressed(MouseEvent e)
mousePressed: handle mouse pressed: popup-menu. |
void |
mouseReleased(MouseEvent e)
mouseReleased: handle mouse pressed: popup-menu. |
| Methods inherited from class org.rosuda.JGR.toolkit.iFrame |
|---|
cursorDefault, cursorWait, finalize, getMYEntry, initPlacement, setMinimumSize, setWorking, show |
| 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.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Constructor Detail |
|---|
public DataTable()
public DataTable(SVarSet vs,
String type,
boolean editable)
SVarSet.
vs - SVarSet which contains datatype - type of RObject related to vseditable - if related RObject is editable or not| Method Detail |
|---|
public int currentCol()
public int currentCol(MouseEvent e)
e - MouseEventpublic int[] currentCols()
public int currentRow()
public int[] currentRows()
public void exit()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void keyTyped(KeyEvent ke)
keyTyped in interface KeyListenerpublic void keyPressed(KeyEvent ke)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent ke)
keyReleased in interface KeyListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||