|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.perseus.demo.ContactDetailsForm
public class ContactDetailsForm
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 |
---|
public static final java.lang.String CONTACT_DETAILS_PREFIX
public static final java.lang.String CONTACT_DETAILS_NAME
public static final java.lang.String CONTACT_DETAILS_EMAIL
public static final java.lang.String CONTACT_DETAILS_CELL
public static final java.lang.String CONTACT_DETAILS_WORK
public static final java.lang.String CONTACT_DETAILS_HOME
public static final java.lang.String CONTACT_DETAILS_ADDRESS1
public static final java.lang.String CONTACT_DETAILS_ADDRESS2
protected SVGTextBinding name
protected SVGTextBinding email
protected SVGTextBinding cellPhone
protected SVGTextBinding workPhone
protected SVGTextBinding homePhone
protected SVGTextBinding address1
protected SVGTextBinding address2
Constructor Detail |
---|
public ContactDetailsForm()
Method Detail |
---|
public void hookSkin(org.w3c.dom.Document doc)
doc
- - the new skin to hook into.void setContactDetails(ContactDetails contactDetailsData)
contactDetailsData
- - the new data to display.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |