|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Viewer
Defines the requirements for classes that provides preview and possibly edit functionality for files.
Method Summary | |
---|---|
void |
close()
Invoked when the viewer is hidden. |
javax.swing.JComponent |
getComponent()
Hmm, that makes not much sense. |
javax.swing.Icon |
getIcon()
Returns a 16x16 icon. |
java.lang.String |
getName()
Returns the name of this viewer. |
void |
open(java.io.File file)
Invoked when a file should be displayed. |
Method Detail |
---|
javax.swing.Icon getIcon()
javax.swing.JComponent getComponent()
java.lang.String getName()
void open(java.io.File file)
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |