SigPath

org.sigpath.tapestry.util
Class CompartmentNameModel

java.lang.Object
  extended by org.sigpath.tapestry.util.CompartmentNameModel
All Implemented Interfaces:
IPropertySelectionModel

public class CompartmentNameModel
extends Object
implements IPropertySelectionModel


Field Summary
static String All_Users
           
 
Constructor Summary
CompartmentNameModel(Vector compartments)
          Constructs a new unit model for SigPath concentration units
 
Method Summary
 void add(String label)
           
 String getLabel(int index)
           
 Object getOption(int index)
           
 int getOptionCount()
           
 String getValue(int index)
           
 Object translateValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

All_Users

public static final String All_Users
See Also:
Constant Field Values
Constructor Detail

CompartmentNameModel

public CompartmentNameModel(Vector compartments)
Constructs a new unit model for SigPath concentration units

Method Detail

add

public void add(String label)

getOptionCount

public int getOptionCount()
Specified by:
getOptionCount in interface IPropertySelectionModel

getOption

public Object getOption(int index)
Specified by:
getOption in interface IPropertySelectionModel

getLabel

public String getLabel(int index)
Specified by:
getLabel in interface IPropertySelectionModel

getValue

public String getValue(int index)
Specified by:
getValue in interface IPropertySelectionModel

translateValue

public Object translateValue(String value)
Specified by:
translateValue in interface IPropertySelectionModel

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.