com.japisoft.xmlpad
Class LocationEvent
java.lang.Object
java.util.EventObject
com.japisoft.xmlpad.LocationEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class LocationEvent
- extends java.util.EventObject
Event object part for the LocationListener
- Author:
- (c) 2003 JAPISOFT/Alexandre Brillant
- See Also:
LocationListener
,
Serialized Form
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocationEvent
public LocationEvent(java.lang.Object source,
SimpleNode location)
getSharedInstance
public static LocationEvent getSharedInstance(java.lang.Object source,
SimpleNode location)
getSource
public java.lang.Object getSource()
getDocumentLocation
public SimpleNode getDocumentLocation()
- Returns:
- a node from the current document for the caret position. This method
may return
null
getXPathLocation
public java.lang.String getXPathLocation()
- Returns:
- the current XPath location. This method can return an empty string ""
Copyright © 2006 JAPISoft. All Rights Reserved.