org.zkoss.gmaps.event
Class MapDataEvent

java.lang.Object
  extended by org.zkoss.gmaps.event.MapDataEvent

public class MapDataEvent
extends java.lang.Object

Defines an event that encapsulates changes to a Maps.

Since:
2.0_9
Author:
henrichen

Field Summary
static int ADDED
          When add items to the MapModel.
static int BOUNDS_CHANGED
          When Maps bound changed or the MapModel changed
static int CLEARED
          When clear all items form the MapModel.
static int CONTENTS_CHANGED
          When contents of the specified item in the MapModel changed.
static int REMOVED
          When remove items from the MapModel.
 
Constructor Summary
MapDataEvent(MapModel model, int type, java.util.Collection items)
           
 
Method Summary
 java.util.Collection getItems()
           
 MapModel getModel()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENTS_CHANGED

public static final int CONTENTS_CHANGED
When contents of the specified item in the MapModel changed.

See Also:
Constant Field Values

ADDED

public static final int ADDED
When add items to the MapModel.

See Also:
Constant Field Values

REMOVED

public static final int REMOVED
When remove items from the MapModel.

See Also:
Constant Field Values

BOUNDS_CHANGED

public static final int BOUNDS_CHANGED
When Maps bound changed or the MapModel changed

See Also:
Constant Field Values

CLEARED

public static final int CLEARED
When clear all items form the MapModel.

See Also:
Constant Field Values
Constructor Detail

MapDataEvent

public MapDataEvent(MapModel model,
                    int type,
                    java.util.Collection items)
Method Detail

getModel

public MapModel getModel()

getType

public int getType()

getItems

public java.util.Collection getItems()


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.