VdexReload 1.1.3 API

uk.ac.reload.moonunit.dom
Class ReloadDocumentListenerEvent

java.lang.Object
  extended byuk.ac.reload.moonunit.dom.ReloadDocumentListenerEvent

public class ReloadDocumentListenerEvent
extends java.lang.Object

A ReloadDocument has changed , this is the Event that is fired Listeners.


Field Summary
protected  boolean _doSelect
          A hint to the listener that they should select the Element that changed
protected  org.jdom.Element _element
          The element concerned
protected  ReloadSchemaDocument _reloadDocument
          The document for the element
protected  java.lang.Object _source
          Who started this event in the first place
 
Constructor Summary
ReloadDocumentListenerEvent(java.lang.Object source, ReloadSchemaDocument reloadDocument, org.jdom.Element element, boolean doSelect)
          Constructor
 
Method Summary
 boolean doSelect()
          Get the select option for the element that changed
 org.jdom.Element getElement()
          Get the element concerned
 ReloadSchemaDocument getReloadDocument()
          Get the document for the element
 java.lang.Object getSource()
          Get the source who started this event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_source

protected java.lang.Object _source
Who started this event in the first place


_reloadDocument

protected ReloadSchemaDocument _reloadDocument
The document for the element


_element

protected org.jdom.Element _element
The element concerned


_doSelect

protected boolean _doSelect
A hint to the listener that they should select the Element that changed

Constructor Detail

ReloadDocumentListenerEvent

public ReloadDocumentListenerEvent(java.lang.Object source,
                                   ReloadSchemaDocument reloadDocument,
                                   org.jdom.Element element,
                                   boolean doSelect)
Constructor

Parameters:
source - Who started this event in this first place
reloadDocument - The Document for the Element
element - The Element concerned
doSelect - A hint to the listener that they should select the Element that changed
Method Detail

getSource

public java.lang.Object getSource()
Get the source who started this event

Returns:
the source object

getReloadDocument

public ReloadSchemaDocument getReloadDocument()
Get the document for the element

Returns:
the ReloadSchemaDocument concerned

getElement

public org.jdom.Element getElement()
Get the element concerned

Returns:
the element concerned

doSelect

public boolean doSelect()
Get the select option for the element that changed

Returns:
true for selecting the element, false otherwise

VdexReload 1.1.3 API