com.emarson.lemonade.bluelemon.midp1
Class ChoiceFactory

java.lang.Object
  extended by com.emarson.lemonade.bluelemon.midp1.ChoiceFactory

public class ChoiceFactory
extends Object

This class is the factory for creating instances of the List object.


Constructor Summary
ChoiceFactory()
          Constructs a new, empty ChoiceFactory object.
 
Method Summary
 List createList(Number listType)
          Constructs a new List object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoiceFactory

public ChoiceFactory()
Constructs a new, empty ChoiceFactory object.

Usage examples:
   <blue:newInstance class="com/emarson/lemonade/bluelemon/midp1/ChoiceFactory"
                     toVariable="choiceFactory"/>
 
Method Detail

createList

public List createList(Number listType)
Constructs a new List object.

Parameters:
listType - the type of the List, one of List.IMPLICIT, List.MULTIPLE, List.EXCLUSIVE
Returns:
new instance of the List object
Usage examples:
   <blue:call object="choiceFactory" method="createList"
              toVariable="list">
     <blue:argument type="byte" value="List.IMPLICIT"/>
   </blue:call>
 


Copyright © 2007 E-MARSON. All Rights Reserved.