|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface handle an editor.
| Method Summary | |
Editor |
createNewEditor()
|
javax.swing.Icon |
getIcon()
|
java.lang.String |
getToolTip(java.lang.String lang)
|
void |
init()
|
boolean |
isSupported(java.lang.String file)
This method is called when a file is selected and should give the information back, if the editor can edit this type of file or not. |
void |
newFile(java.lang.String directory)
Edit a new file in the given directory. |
void |
open(java.lang.String file)
|
void |
save()
|
void |
setVisible(boolean state)
|
| Method Detail |
public void init()
public void open(java.lang.String file)
public boolean isSupported(java.lang.String file)
file -
public void save()
public void newFile(java.lang.String directory)
directory - public void setVisible(boolean state)
public javax.swing.Icon getIcon()
public java.lang.String getToolTip(java.lang.String lang)
public Editor createNewEditor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||