com.sun.perseus.demo
Class ContactDetailsForm

java.lang.Object
  extended by com.sun.perseus.demo.ContactDetailsForm

public class ContactDetailsForm
extends java.lang.Object

The ContactDetailsForm class simplifies binding a contact's information (name, phone number, etc...) to the various SVG elements in the current skin.


Field Summary
protected  SVGTextBinding address1
           
protected  SVGTextBinding address2
           
protected  SVGTextBinding cellPhone
           
static java.lang.String CONTACT_DETAILS_ADDRESS1
           
static java.lang.String CONTACT_DETAILS_ADDRESS2
           
static java.lang.String CONTACT_DETAILS_CELL
           
static java.lang.String CONTACT_DETAILS_EMAIL
           
static java.lang.String CONTACT_DETAILS_HOME
           
static java.lang.String CONTACT_DETAILS_NAME
           
static java.lang.String CONTACT_DETAILS_PREFIX
          Identifier conventions used for contact details information.
static java.lang.String CONTACT_DETAILS_WORK
           
protected  SVGTextBinding email
           
protected  SVGTextBinding homePhone
           
protected  SVGTextBinding name
           
protected  SVGTextBinding workPhone
           
 
Constructor Summary
ContactDetailsForm()
          Default constructor.
 
Method Summary
 void hookSkin(org.w3c.dom.Document doc)
          Establishes new bindings between to the new skin.
(package private)  void setContactDetails(ContactDetails contactDetailsData)
          Applies the input contact details to the XML UI markup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTACT_DETAILS_PREFIX

public static final java.lang.String CONTACT_DETAILS_PREFIX
Identifier conventions used for contact details information.

See Also:
Constant Field Values

CONTACT_DETAILS_NAME

public static final java.lang.String CONTACT_DETAILS_NAME
See Also:
Constant Field Values

CONTACT_DETAILS_EMAIL

public static final java.lang.String CONTACT_DETAILS_EMAIL
See Also:
Constant Field Values

CONTACT_DETAILS_CELL

public static final java.lang.String CONTACT_DETAILS_CELL
See Also:
Constant Field Values

CONTACT_DETAILS_WORK

public static final java.lang.String CONTACT_DETAILS_WORK
See Also:
Constant Field Values

CONTACT_DETAILS_HOME

public static final java.lang.String CONTACT_DETAILS_HOME
See Also:
Constant Field Values

CONTACT_DETAILS_ADDRESS1

public static final java.lang.String CONTACT_DETAILS_ADDRESS1
See Also:
Constant Field Values

CONTACT_DETAILS_ADDRESS2

public static final java.lang.String CONTACT_DETAILS_ADDRESS2
See Also:
Constant Field Values

name

protected SVGTextBinding name

email

protected SVGTextBinding email

cellPhone

protected SVGTextBinding cellPhone

workPhone

protected SVGTextBinding workPhone

homePhone

protected SVGTextBinding homePhone

address1

protected SVGTextBinding address1

address2

protected SVGTextBinding address2
Constructor Detail

ContactDetailsForm

public ContactDetailsForm()
Default constructor.

Method Detail

hookSkin

public void hookSkin(org.w3c.dom.Document doc)
Establishes new bindings between to the new skin.

Parameters:
doc - - the new skin to hook into.

setContactDetails

void setContactDetails(ContactDetails contactDetailsData)
Applies the input contact details to the XML UI markup.

Parameters:
contactDetailsData - - the new data to display.