Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.bible.control.map
Class MapEvent  view MapEvent download MapEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.eireneh.bible.control.map.MapEvent
All Implemented Interfaces:
java.io.Serializable

public class MapEvent
extends java.util.EventObject

A MapEvent happens whenever a Map changes.
Distribution Licence:
Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.

Version:
D7.I6.T2

Field Summary
private  int ord
          The ordinal number of the node that changed or -1 if the whole table changed
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MapEvent(Map source)
          Initialize a MapEvent
MapEvent(Map source, int ord)
          Initialize a MapEvent
 
Method Summary
 int getChangedOrdinal()
          Get the verse ordinal that changed position or null if the whole table changed
 com.eireneh.bible.passage.Verse getChangedVerse()
          Get the verse that changed position or null if the whole table changed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ord

private int ord
The ordinal number of the node that changed or -1 if the whole table changed

Constructor Detail

MapEvent

public MapEvent(Map source,
                int ord)
Initialize a MapEvent


MapEvent

public MapEvent(Map source)
Initialize a MapEvent

Method Detail

getChangedOrdinal

public int getChangedOrdinal()
Get the verse ordinal that changed position or null if the whole table changed


getChangedVerse

public com.eireneh.bible.passage.Verse getChangedVerse()
Get the verse that changed position or null if the whole table changed.