org.trails.component
Class IdentifierSelectionModel

java.lang.Object
  extended by org.trails.component.AbstractPropertySelectionModel
      extended by org.trails.component.IdentifierSelectionModel
All Implemented Interfaces:
org.apache.tapestry.form.IPropertySelectionModel

public class IdentifierSelectionModel
extends AbstractPropertySelectionModel


Field Summary
 
Fields inherited from class org.trails.component.AbstractPropertySelectionModel
allowNone, DEFAULT_NONE_LABEL, DEFAULT_NONE_VALUE, instances, labelProperty, noneLabel
 
Constructor Summary
IdentifierSelectionModel(java.util.List instances, java.lang.String idProperty)
           
IdentifierSelectionModel(java.util.List instances, java.lang.String idProperty, boolean allowNone)
           
 
Method Summary
 java.lang.String getValue(int index)
           
 boolean isDisabled(int i)
           
 java.lang.Object translateValue(java.lang.String value)
           
 
Methods inherited from class org.trails.component.AbstractPropertySelectionModel
getLabel, getLabelProperty, getNoneLabel, getOption, getOptionCount, setLabelProperty, setNoneLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentifierSelectionModel

public IdentifierSelectionModel(java.util.List instances,
                                java.lang.String idProperty)

IdentifierSelectionModel

public IdentifierSelectionModel(java.util.List instances,
                                java.lang.String idProperty,
                                boolean allowNone)
Method Detail

getValue

public java.lang.String getValue(int index)

translateValue

public java.lang.Object translateValue(java.lang.String value)

isDisabled

public boolean isDisabled(int i)
Specified by:
isDisabled in interface org.apache.tapestry.form.IPropertySelectionModel
Overrides:
isDisabled in class AbstractPropertySelectionModel


Copyright © 2004-2007. All Rights Reserved.