Chart FX for Java 6.2

SoftwareFX.ChartFX.Map
Class VisibleMapRegions

java.lang.Object
  extended bySoftwareFX.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 .
 int getCount()
          Returns the number of visible map regions in the map.
 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.
 
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.


getCount

public int getCount()

Returns the number of visible map regions in the map.

Remarks:
  • This property will return the number of visible regions in the map.

  • The Map.getVisibleMapRegions() member of the Map object returns a VisibleMapRegions object.

  • See Also:
    Map.getVisibleMapRegions(), Map

    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 getCount() 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:
    getCount(), 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

    http://www.softwarefx.com

    2005 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.