|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectzinger.bsheet.PopUpCellEditor
public class PopUpCellEditor
Cell editor that uses a dialog window. Allows multiline content.
| Field Summary | |
|---|---|
protected javax.swing.JTable |
table
Instance of the table the editor is used for. |
| Constructor Summary | |
|---|---|
PopUpCellEditor(javax.swing.JTable table)
Constructs an instance using specified table instance. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
Handles menu item and button events. |
protected void |
createDialog()
Not thread safe. |
protected void |
load(java.io.File file)
Loads contents of a text file into the text component. |
void |
run()
The main method used for launching the dialog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.swing.JTable table
| Constructor Detail |
|---|
public PopUpCellEditor(javax.swing.JTable table)
| Method Detail |
|---|
public void run()
Runnable interface and is used for calling
EventQueue.invokeLater(Runnable) method. This implementation is
synchronized, so only one thread can launch the cell editor at a time.
run in interface java.lang.Runnableprotected void load(java.io.File file)
public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed in interface java.awt.event.ActionListenerprotected void createDialog()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||