Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.openwave.oui.waomelements
Class PickerCard  view PickerCard download PickerCard.java

java.lang.Object
  extended bycom.openwave.oui.framework.WaomElement
      extended bycom.openwave.oui.framework.WaomComposite
          extended bycom.openwave.oui.waomelements.AbsCard
              extended bycom.openwave.oui.waomelements.PickerCard
All Implemented Interfaces:
java.io.Serializable

public class PickerCard
extends AbsCard

There are cases where users should set a variable with one single click and then move on. While this is similar to what both Menus and Pickers achieve, those two objects don't really maximize usability in a cross-browser fashion for this specific case. The PickerCard object is a special object that achieves that.
Creation date: (4/4/2001 12:57:36 PM)


Field Summary
(package private)  Paragraph currentParagraph
           
(package private)  boolean isInParagraph
           
protected  java.lang.String nextCardURL
           
private static long serialVersionUID
           
protected  java.lang.String softkeyLabel
           
protected  java.lang.String text
           
protected  java.lang.String varName
           
 
Fields inherited from class com.openwave.oui.waomelements.AbsCard
enforceLinks, onenterbackwardURL, onenterforwardURL, ontimerURL, shortTitle
 
Fields inherited from class com.openwave.oui.framework.WaomElement
 
Constructor Summary
PickerCard(java.lang.String id, java.lang.String title, java.lang.String varName, java.lang.String nextCardURL, java.lang.String softkeyLabel, java.lang.String text)
          PickerCard constructor.
 
Method Summary
 void addEntry(java.lang.String value, java.lang.String text)
          Possible values of the associated variable and accompanying text.
 void addEntry(java.lang.String value, java.lang.String text, java.lang.String onpick, java.lang.String title)
          Possible values of the associated variable and accompanying text.
 void enforceNavigationWithLinks()
          Must set to false (special for PickerCard)
 java.lang.String getId()
          Insert the method's description here.
 java.lang.String getNextCardURL()
          Insert the method's description here.
 java.lang.String getSoftkeyLabel()
          Insert the method's description here.
 java.lang.String getText()
          Insert the method's description here.
 java.lang.String getVarName()
          Insert the method's description here.
 void setId(java.lang.String id)
          Sets card ID.
 void setNextCardURL(java.lang.String nextCardURL)
          Insert the method's description here.
 void setSoftkeyLabel(java.lang.String softkeyLabel)
          Insert the method's description here.
 void setText(java.lang.String text)
          Insert the method's description here.
 void setVarName(java.lang.String varName)
          Insert the method's description here.
 void visit(com.openwave.oui.framework.WaomVisitor wv)
           
 
Methods inherited from class com.openwave.oui.waomelements.AbsCard
addElement, addText, alignCenter, alignLeft, alignRight, areLinksEnforced, beginParagraph, beginParagraph, beginParagraph, containsWidget, endParagraph, enforceLogicalBack, enforceTitle, getAccesskey, getCurrentParagraph, getEnforceTitle, getNewcontext, getNumberOfWidgets, getOnenterbackward, getOnenterforward, getOntimer, getOrdered, getTitle, isAbsCard, setEnforceTitle, setNewcontext, setOnenterbackward, setOnenterforward, setOntimer, setOrdered, setTitle
 
Methods inherited from class com.openwave.oui.framework.WaomElement
addTo, clearChildren, getChildren, getClassValue, getDirectDefinition, getIdValue, getParent, getWaomElementName, isAppendix, isBodyPager, isCaller, isCard, isComboMenu, isConditionalCard, isDeck, isForm, isHead, isInRawMode, isOnevent, isOption, isParagraph, isPathTask, isTask, isTaskMenu, isTemplate, isTimer, isWidget, render, setClassValue, setDirectDefinition, setIdValue, setToRawMode, setWaomElementName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varName

protected java.lang.String varName

nextCardURL

protected java.lang.String nextCardURL

softkeyLabel

protected java.lang.String softkeyLabel

text

protected java.lang.String text

currentParagraph

Paragraph currentParagraph

isInParagraph

boolean isInParagraph

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

PickerCard

public PickerCard(java.lang.String id,
                  java.lang.String title,
                  java.lang.String varName,
                  java.lang.String nextCardURL,
                  java.lang.String softkeyLabel,
                  java.lang.String text)
PickerCard constructor.

Method Detail

getId

public java.lang.String getId()
Insert the method's description here. Creation date: (4/4/2001 2:00:59 PM)


setId

public void setId(java.lang.String id)
Sets card ID. Creation date: (4/4/2001 2:00:59 PM)


addEntry

public void addEntry(java.lang.String value,
                     java.lang.String text)
Possible values of the associated variable and accompanying text.


addEntry

public void addEntry(java.lang.String value,
                     java.lang.String text,
                     java.lang.String onpick,
                     java.lang.String title)
Possible values of the associated variable and accompanying text.


enforceNavigationWithLinks

public void enforceNavigationWithLinks()
Must set to false (special for PickerCard)

Overrides:
enforceNavigationWithLinks in class AbsCard

getNextCardURL

public java.lang.String getNextCardURL()
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


getSoftkeyLabel

public java.lang.String getSoftkeyLabel()
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


getText

public java.lang.String getText()
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


getVarName

public java.lang.String getVarName()
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


setNextCardURL

public void setNextCardURL(java.lang.String nextCardURL)
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


setSoftkeyLabel

public void setSoftkeyLabel(java.lang.String softkeyLabel)
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


setText

public void setText(java.lang.String text)
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


setVarName

public void setVarName(java.lang.String varName)
Insert the method's description here. Creation date: (10-05-2001 13:18:11)


visit

public void visit(com.openwave.oui.framework.WaomVisitor wv)
Overrides:
visit in class AbsCard