com.sun.perseus.demo
Class ContactListScreen.SelectedContactItemBinder

java.lang.Object
  extended by com.sun.perseus.demo.ContactListScreen.SelectedContactItemBinder
All Implemented Interfaces:
SVGList.ListItemBinder
Enclosing class:
ContactListScreen

static class ContactListScreen.SelectedContactItemBinder
extends java.lang.Object
implements SVGList.ListItemBinder

In the list displayed by this application, we display the contact name and the contact cell phone in the selected item. The name is displayed in the item's first child (a element) and the phone number in the item's second element child (a element also).


Constructor Summary
ContactListScreen.SelectedContactItemBinder()
           
 
Method Summary
 void bindItem(java.lang.Object itemValue, org.w3c.dom.svg.SVGElement itemElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactListScreen.SelectedContactItemBinder

ContactListScreen.SelectedContactItemBinder()
Method Detail

bindItem

public void bindItem(java.lang.Object itemValue,
                     org.w3c.dom.svg.SVGElement itemElement)
Specified by:
bindItem in interface SVGList.ListItemBinder
Parameters:
itemValue - - the item value to transfer to the SVG element.
itemElement - - the item element where the item value is displayed.