Chart FX for Java 6.5

SoftwareFX.ChartFX.Map
Class VisibleMapRegions

java.lang.Object
  extended by SoftwareFX.ChartFX.Map.VisibleMapRegions
All Implemented Interfaces:
java.util.Enumeration

public final class VisibleMapRegions
extends java.lang.Object
implements java.util.Enumeration

Provides access to the VisibleMapRegions object.

The VisibleMapRegions object returns all the MapRegions which are visible in the map at a current level.


Constructor Summary
VisibleMapRegions()
           
 
Method Summary
 java.util.Enumeration elements()
          Returns an enumeration of the values in the VisibleMapRegions .
 MapRegion getItem(int i)
          Returns a selected MapRegion object from the VisibleMapRegions collection.
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
 java.lang.Object nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 int size()
          Returns the number of elements in this collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisibleMapRegions

public VisibleMapRegions()
Method Detail

elements

public java.util.Enumeration elements()

Returns an enumeration of the values in the VisibleMapRegions . Use the Enumeration methods on the returned object to fetch the elements sequentially.


getItem

public MapRegion getItem(int i)

Returns a selected MapRegion object from the VisibleMapRegions collection.

Remarks:
  • This property is used to access a selected MapRegion object form the VisibleMapRegions collection.

  • The size() property may be used to return the total number of MapRegion items in the VisibleMapRegions collection.

  • The Map.getVisibleMapRegions() member of the Map class is used to return a VisibleMapRegions collection object.

  • See Also:
    Map.getVisibleMapRegions(), Map

    hasMoreElements

    public boolean hasMoreElements()

    Tests if this enumeration contains more elements.

    Specified by:
    hasMoreElements in interface java.util.Enumeration

    nextElement

    public java.lang.Object nextElement()

    Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

    Specified by:
    nextElement in interface java.util.Enumeration

    size

    public int size()

    Returns the number of elements in this collection.


    http://www.softwarefx.com

    2007 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.