|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.grip.ImTable
public class ImTable
This class displays a window containing a summary of all open images (ImFrames) in the application. The user may select images in the table and a menu bar (see class TableMenu) enables the selected images to be processed together.
| Constructor Summary | |
|---|---|
ImTable(GRIP app,
java.lang.String title)
|
|
ImTable(GRIP app,
java.lang.String title,
boolean modal)
|
|
| Method Summary | |
|---|---|
protected void |
combine(java.lang.String action)
Only called if table.getSelected () has a list of at least 2 selected ImFrame objects. |
protected javax.swing.JTable |
getJTable()
|
java.util.List<ImFrame> |
getList()
|
protected int |
getNSelected()
Find the number of rows in the table which have been selected by the user. |
protected java.util.List<ImFrame> |
getSelected()
|
protected ImTableModel |
getTableModel()
|
void |
recombine()
Recombine channels from 3 selected images: R1 G1 B1 R2 G2 B2 R3 G3 B3 | | | | | | | | | R1 G2 B3 R2 G3 B1 R3 G1 B2 |
void |
refresh()
Refresh the data in the table and redisplay it. |
void |
saveAsCSV()
Just calls Util.saveJTableAsCSV (). |
void |
saveAsXML()
|
void |
setVisible(boolean state)
Show or hide the table window. |
protected void |
swap()
Only called if table.getSelected () has a list of 2 selected ImFrame objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImTable(GRIP app,
java.lang.String title)
public ImTable(GRIP app,
java.lang.String title,
boolean modal)
| Method Detail |
|---|
protected javax.swing.JTable getJTable()
protected ImTableModel getTableModel()
public java.util.List<ImFrame> getList()
public void refresh()
public void setVisible(boolean state)
protected int getNSelected()
protected java.util.List<ImFrame> getSelected()
public void saveAsCSV()
public void saveAsXML()
protected void combine(java.lang.String action)
public void recombine()
protected void swap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||