com.japisoft.xmlpad.tree
Class TreeListeners
java.lang.Object
GlobalMouseAdapter
com.japisoft.xmlpad.tree.TreeListeners
- All Implemented Interfaces:
- StructureDamagedListener
- public class TreeListeners
- extends GlobalMouseAdapter
- implements StructureDamagedListener
This is a manager for the real time tree. It has the ability to receive event
from the current Document and change it to a new tree view and location.
- Version:
- 1.0
- Author:
- (c) 2002-2004 JAPISOFT
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_parsingJobClass
public static java.lang.Class _parsingJobClass
TreeListeners
public TreeListeners(XMLContainer container)
TreeListeners
public TreeListeners(XMLContainer container,
javax.swing.JTree tree)
dispose
public void dispose()
getTreeErrorListener
public com.japisoft.xmlpad.tree.TreeErrorListener getTreeErrorListener()
init
public void init()
getTree
public javax.swing.JTree getTree()
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
setPopupEnabled
public void setPopupEnabled(boolean enabled)
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
notifiedErrorNonTemporary
public void notifiedErrorNonTemporary()
- For inner usage only
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
selectNodeFromPath
public void selectNodeFromPath(java.lang.String xpath)
isLocationLocked
public boolean isLocationLocked()
- Returns:
- true if a parsing process is working avoiding the real time
location
notifyStructureChanged
public void notifyStructureChanged()
- Specified by:
notifyStructureChanged
in interface StructureDamagedListener
getState
public TreeState getState()
- Returns:
- the current tree state
setState
public void setState(TreeState state)
- Update the current tree state
resetTreeLocation
public void resetTreeLocation(SimpleNode content)
Copyright © 2006 JAPISoft. All Rights Reserved.