com.partnersoft.maps.app
Class MapFindLogic

java.lang.Object
  extended by com.partnersoft.maps.app.MapFindLogic

public class MapFindLogic
extends java.lang.Object

Nonvisual plumbing for controlling a the find item features. $Header: /usr/local/partner/cvs/partner/source/java/com/partnersoft/maps/app/MapFindLogic.java,v 1.10 2005-08-10 17:57:16 paul Exp $

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

Constructor Summary
MapFindLogic(MapApp app)
           
 
Method Summary
 void find(java.lang.String indexName, java.lang.String key)
          Finds and selects the given item.
 MapDataItem findItem(java.lang.String indexName, java.lang.String key)
          Returns the data associated with with the given find, or null if there is no match.
 void initialize()
          Initializes the find items from preferences.
 void select(java.lang.String indexName, java.lang.String key)
          Selects the given item by looking it up in the given find item index.
 void setCurrentFindItemType(java.lang.String whatItem)
           
 void setCurrentFindItemValue(java.lang.String whatValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapFindLogic

public MapFindLogic(MapApp app)
Method Detail

initialize

public void initialize()
Initializes the find items from preferences.


setCurrentFindItemType

public void setCurrentFindItemType(java.lang.String whatItem)

setCurrentFindItemValue

public void setCurrentFindItemValue(java.lang.String whatValue)

find

public void find(java.lang.String indexName,
                 java.lang.String key)
Finds and selects the given item.

Parameters:
indexName -
key -

select

public void select(java.lang.String indexName,
                   java.lang.String key)
Selects the given item by looking it up in the given find item index. Does not center the map view.

Parameters:
indexName -
key -

findItem

public MapDataItem findItem(java.lang.String indexName,
                            java.lang.String key)
Returns the data associated with with the given find, or null if there is no match.