org.riotfamily.components.config
Class ComponentListConfig

java.lang.Object
  extended by org.riotfamily.components.config.ComponentListConfig

public class ComponentListConfig
extends Object


Constructor Summary
ComponentListConfig(Integer min, Integer max, List<String> initial, List<?> valid)
           
 
Method Summary
 ComponentConfig getConfig(String type)
           
 List<String> getInitialTypes()
           
 Integer getMax()
           
 Integer getMin()
           
 Collection<ComponentConfig> getValidTypes()
           
 String toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentListConfig

public ComponentListConfig(Integer min,
                           Integer max,
                           List<String> initial,
                           List<?> valid)
Method Detail

getMin

public Integer getMin()

getMax

public Integer getMax()

getValidTypes

public Collection<ComponentConfig> getValidTypes()

getInitialTypes

public List<String> getInitialTypes()

getConfig

public ComponentConfig getConfig(String type)

toJSON

public String toJSON()