|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsidekick.SideKickTree.MyTreeSelectionListener
Field Summary | |
(package private) javax.swing.JEditorPane |
aEditorPane
|
(package private) javax.swing.JTree |
aTree
|
Constructor Summary | |
SideKickTree.MyTreeSelectionListener(javax.swing.JTree tree,
javax.swing.JEditorPane epane)
|
Method Summary | |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
Bad implementation, needs refactoring TODO: Should change the focus to XmlInsert when user presses Enter? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
javax.swing.JTree aTree
javax.swing.JEditorPane aEditorPane
Constructor Detail |
public SideKickTree.MyTreeSelectionListener(javax.swing.JTree tree, javax.swing.JEditorPane epane)
Method Detail |
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged
in interface javax.swing.event.TreeSelectionListener
e
- TreeSelectionEvent
10.05.2004 JL: initial version
11.05.2004 OP, JL: only one insertion inside instead of many
don't add nested ghosts for stand-alone-elements
12.05.2004 JL: Changed ghost elements to use GhostElement-objects as userObject
--> the problem of removing text nodes was also solved
14.5.2004 OP: Sends the UpdateTagListMsg, JL: changed few
node.getUserObject() -statements to value at the end of the method
18.5.2004 JL, OP:
- Fixed bug with nullPointerExceptions by adding two
if ( !(newPath == null) ) -lines when removing ghostElements
- Added aEditorPane updates which rely on new TextElement-class
19.5.2004 JL: a ArrayIndexOutOfBoundsException found, surrounded with try-catch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |