net.sf.dictccfe.and
Class DictAndActivity.ListViewKeyListener

java.lang.Object
  extended by net.sf.dictccfe.and.DictAndActivity.ListViewKeyListener
All Implemented Interfaces:
android.widget.AdapterView.OnItemClickListener
Enclosing class:
DictAndActivity

private final class DictAndActivity.ListViewKeyListener
extends java.lang.Object
implements android.widget.AdapterView.OnItemClickListener

Exact searching if the D-Pad center or Enter key has been pressed in the ListView in the lower part of the window.

Version:
$Revision$
Author:
Daniel Stoinski

Field Summary
private  DictAndActivity m_activity
          The activity object to execute actions on it for pressed keys.
 
Constructor Summary
DictAndActivity.ListViewKeyListener(DictAndActivity anActivity)
          Initializes the object for the given activity.
 
Method Summary
 void onItemClick(android.widget.AdapterView<?> aParent, android.view.View aView, int aPosition, long anId)
          Called if the item in the ListView has been selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_activity

private final DictAndActivity m_activity
The activity object to execute actions on it for pressed keys.

Constructor Detail

DictAndActivity.ListViewKeyListener

public DictAndActivity.ListViewKeyListener(DictAndActivity anActivity)
Initializes the object for the given activity.

Parameters:
anActivity - the activity to execute the action on.
Method Detail

onItemClick

public final void onItemClick(android.widget.AdapterView<?> aParent,
                              android.view.View aView,
                              int aPosition,
                              long anId)
Called if the item in the ListView has been selected.

Specified by:
onItemClick in interface android.widget.AdapterView.OnItemClickListener
Parameters:
aParent - ignored
aView - ignored
aPosition - ignored
anId - ignored