|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.nite.tools.linker.LinkDisplayModule
public class LinkDisplayModule
This Display module displays links between two dialogue elements.
Constructor Summary | |
---|---|
LinkDisplayModule(AbstractCallableTool main,
AbstractDisplayElement linkd,
AbstractDisplayElement sourced,
AbstractDisplayElement targetd,
java.lang.String sourcerole,
java.lang.String targetrole)
This constructor passes all the required parameters for the linker rather than individual calls to the set methods. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
|
NOMWriteElement |
getCurrentElement()
|
javax.swing.JComponent |
getPanel()
|
void |
linkChanged()
LinkChangeListener interface implementation. |
void |
selectionChanged()
Depending on the state of the editormodule , this method reacts appropriately to selection changes (change range, or set current element) |
void |
setCurrentElement(NOMWriteElement element)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkDisplayModule(AbstractCallableTool main, AbstractDisplayElement linkd, AbstractDisplayElement sourced, AbstractDisplayElement targetd, java.lang.String sourcerole, java.lang.String targetrole)
Method Detail |
---|
public void setCurrentElement(NOMWriteElement element)
public NOMWriteElement getCurrentElement()
getCurrentElement
in interface NOMWriteElementContainer
public javax.swing.JComponent getPanel()
public void linkChanged()
linkChanged
in interface LinkChangeListener
public void selectionChanged()
selectionChanged
in interface NTASelectionListener
public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed
in interface java.awt.event.ActionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |