|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sigpath.tapestry.ConcentrationUnitModel
public class ConcentrationUnitModel
Model for concentration property selection menu. This will dynamically build the pull down menu for the concentration types.
| Constructor Summary | |
|---|---|
ConcentrationUnitModel()
Constructs a new unit model for SigPath concentration units |
|
| Method Summary | |
|---|---|
String |
getLabel(int index)
String representation of the label for unit at the given index |
Object |
getOption(int index)
Returns the Unit object at the given index |
int |
getOptionCount()
Returns the total number of concentration units |
String |
getValue(int index)
String representation of the unit at the given index |
Object |
translateValue(String value)
Returns the object that corresponds to the string value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConcentrationUnitModel()
| Method Detail |
|---|
public int getOptionCount()
getOptionCount in interface IPropertySelectionModelpublic Object getOption(int index)
getOption in interface IPropertySelectionModelindex -
public String getLabel(int index)
getLabel in interface IPropertySelectionModelindex -
public String getValue(int index)
getValue in interface IPropertySelectionModelindex -
public Object translateValue(String value)
translateValue in interface IPropertySelectionModelvalue - Unit type
|
SigPath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||