SigPath

org.sigpath.tapestry.util
Class CompartmentModel

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

public class CompartmentModel
extends Object
implements IPropertySelectionModel


Constructor Summary
CompartmentModel(Vector compartments)
           
 
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
 

Constructor Detail

CompartmentModel

public CompartmentModel(Vector compartments)
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.