org.ztemplates.property
Class ZSelectProperty<T>

java.lang.Object
  extended by org.ztemplates.property.ZProperty<T>
      extended by org.ztemplates.property.ZSelectProperty<T>
Direct Known Subclasses:
ZStringSelectProperty

public abstract class ZSelectProperty<T>
extends ZProperty<T>


Field Summary
 
Fields inherited from class org.ztemplates.property.ZProperty
log
 
Constructor Summary
ZSelectProperty()
           
 
Method Summary
abstract  String computeDisplayValue(T value)
           
 List<String> getAllowedDisplayValues()
           
 List<String> getAllowedStringValues()
           
 List<T> getAllowedValues()
           
 String getDisplayValue()
           
 void setAllowedValues(List<T> selectFrom)
           
 
Methods inherited from class org.ztemplates.property.ZProperty
clear, format, getName, getStringValue, getStringValues, getValidators, getValue, getValues, isEmpty, isReadable, isRequired, isWriteable, parse, setName, setReadable, setRequired, setStringValue, setStringValues, setValue, setWriteable, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZSelectProperty

public ZSelectProperty()
Method Detail

computeDisplayValue

public abstract String computeDisplayValue(T value)

getDisplayValue

public String getDisplayValue()
                       throws Exception
Throws:
Exception

getAllowedDisplayValues

public List<String> getAllowedDisplayValues()

getAllowedStringValues

public List<String> getAllowedStringValues()

getAllowedValues

public List<T> getAllowedValues()

setAllowedValues

public void setAllowedValues(List<T> selectFrom)


Copyright © 2011. All Rights Reserved.