com.japisoft.xmlpad.tree
Class RealTimeTreeManager
java.lang.Object
|
+--java.awt.event.MouseAdapter
|
+--com.japisoft.xmlpad.tree.RealTimeTreeManager
- All Implemented Interfaces:
- com.japisoft.fastparser.ErrorSignal, java.util.EventListener, java.awt.event.MouseListener, StructureDamagedListener
- public class RealTimeTreeManager
- extends java.awt.event.MouseAdapter
- implements StructureDamagedListener, com.japisoft.fastparser.ErrorSignal
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
| Methods inherited from class java.awt.event.MouseAdapter |
mouseEntered, mouseExited |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_parsingJobClass
public static java.lang.Class _parsingJobClass
RealTimeTreeManager
public RealTimeTreeManager(com.japisoft.xmlpad.XMLContainer container)
RealTimeTreeManager
public RealTimeTreeManager(com.japisoft.xmlpad.XMLContainer container,
javax.swing.JTree tree)
init
public void init()
dispose
public void dispose()
error
public void error(java.lang.String message,
int location,
int line)
- Specified by:
error in interface com.japisoft.fastparser.ErrorSignal
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed in interface java.awt.event.MouseListener- Overrides:
mousePressed in class java.awt.event.MouseAdapter
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased in interface java.awt.event.MouseListener- Overrides:
mouseReleased in class java.awt.event.MouseAdapter
notifiedErrorNonTemporary
public void notifiedErrorNonTemporary()
- For inner usage only
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked in interface java.awt.event.MouseListener- Overrides:
mouseClicked in class java.awt.event.MouseAdapter
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 com.japisoft.xmlpad.tree.TreeState getState()
- Returns:
- the current tree state
setState
public void setState(com.japisoft.xmlpad.tree.TreeState state)
- Update the current tree state
resetTreeLocation
public void resetTreeLocation(com.japisoft.fastparser.node.SimpleNode content)