|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NetEditorListener
An interface to handle the interaction between the editor and the main program.
| Method Summary | |
|---|---|
void |
cancelCreate(NetEditor src)
Triggered when the creation mode is canceled only if the editor is editable. |
void |
linkClicked(NetEditor src,
NetObject obj,
int childIdx,
java.awt.event.MouseEvent e)
Trigerred when the user click on a link if the editor is not editable. |
void |
objectClicked(NetEditor src,
NetObject obj,
java.awt.event.MouseEvent e)
Trigerred when the user click on an object only if the editor is not editable. |
void |
sizeChanged(NetEditor src,
java.awt.Dimension d)
Trigerred when the scheme size change, after a load or a call to computePreferredSize. |
void |
valueChanged(NetEditor src)
Trigerred when the scheme change, it means that when the user do something that affects the scheme currently edited, this function is called. |
| Method Detail |
|---|
void valueChanged(NetEditor src)
src - NetEditor that has trigerred the event.NetEditor.loadFile(java.lang.String),
NetEditor.showOpenFileDialog(java.lang.String, fr.esrf.tangoatk.widget.util.interlock.NetFileFilter),
NetEditor.showSaveFileDialog(java.lang.String, fr.esrf.tangoatk.widget.util.interlock.NetFileFilter)
void objectClicked(NetEditor src,
NetObject obj,
java.awt.event.MouseEvent e)
src - NetEditor that has trigerred the event.obj - Clicked object.e - Original MouseEventNetEditor.setEditable(boolean)
void linkClicked(NetEditor src,
NetObject obj,
int childIdx,
java.awt.event.MouseEvent e)
src - NetEditor that has trigerred the event.obj - Clicked object.childIdx - Child index.e - Original MouseEventNetEditor.setEditable(boolean)
void sizeChanged(NetEditor src,
java.awt.Dimension d)
src - NetEditor that has trigerred the event.d - New dimension (in pixel coordinates)NetEditor.computePreferredSize(),
NetEditor.loadFile(java.lang.String)void cancelCreate(NetEditor src)
src - NetEditor that has trigerred the event.NetEditor.setEditable(boolean)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||