Forge - Parent 2.0.0.Alpha1

org.jboss.forge.ui.impl
Class UISelectManyImpl<VALUETYPE>

java.lang.Object
  extended by org.jboss.forge.facets.AbstractFaceted<HintsFacet>
      extended by org.jboss.forge.ui.impl.UIInputComponentBase<IMPLTYPE,VALUETYPE>
          extended by org.jboss.forge.ui.impl.UISelectInputComponentBase<UISelectMany<VALUETYPE>,VALUETYPE>
              extended by org.jboss.forge.ui.impl.UISelectManyImpl<VALUETYPE>
All Implemented Interfaces:
Faceted<HintsFacet>, InputComponent<UISelectMany<VALUETYPE>,VALUETYPE>, ManyValued<UISelectMany<VALUETYPE>,VALUETYPE>, SelectComponent<UISelectMany<VALUETYPE>,VALUETYPE>, UISelectMany<VALUETYPE>

public class UISelectManyImpl<VALUETYPE>
extends UISelectInputComponentBase<UISelectMany<VALUETYPE>,VALUETYPE>
implements UISelectMany<VALUETYPE>

Author:
Lincoln Baxter, III

Constructor Summary
UISelectManyImpl(String name, Class<VALUETYPE> type)
           
 
Method Summary
 Iterable<VALUETYPE> getValue()
           
 UISelectMany<VALUETYPE> setDefaultValue(Callable<Iterable<VALUETYPE>> callback)
           
 UISelectMany<VALUETYPE> setDefaultValue(Iterable<VALUETYPE> value)
           
 UISelectMany<VALUETYPE> setValue(Iterable<VALUETYPE> value)
           
 
Methods inherited from class org.jboss.forge.ui.impl.UISelectInputComponentBase
getItemLabelConverter, getValueChoices, setItemLabelConverter, setValueChoices
 
Methods inherited from class org.jboss.forge.ui.impl.UIInputComponentBase
getLabel, getName, getRequiredMessage, getValueConverter, getValueType, isEnabled, isRequired, setEnabled, setEnabled, setLabel, setRequired, setRequired, setRequiredMessage, setValueConverter, supports
 
Methods inherited from class org.jboss.forge.facets.AbstractFaceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.forge.ui.input.SelectComponent
getItemLabelConverter, getValueChoices, setItemLabelConverter, setValueChoices
 
Methods inherited from interface org.jboss.forge.ui.input.InputComponent
getLabel, getName, getRequiredMessage, getValueConverter, getValueType, isEnabled, isRequired, setEnabled, setEnabled, setLabel, setRequired, setRequired, setRequiredMessage, setValueConverter
 
Methods inherited from interface org.jboss.forge.facets.Faceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, supports, uninstall
 

Constructor Detail

UISelectManyImpl

public UISelectManyImpl(String name,
                        Class<VALUETYPE> type)
Method Detail

setValue

public UISelectMany<VALUETYPE> setValue(Iterable<VALUETYPE> value)
Specified by:
setValue in interface ManyValued<UISelectMany<VALUETYPE>,VALUETYPE>

setDefaultValue

public UISelectMany<VALUETYPE> setDefaultValue(Callable<Iterable<VALUETYPE>> callback)
Specified by:
setDefaultValue in interface ManyValued<UISelectMany<VALUETYPE>,VALUETYPE>

setDefaultValue

public UISelectMany<VALUETYPE> setDefaultValue(Iterable<VALUETYPE> value)
Specified by:
setDefaultValue in interface ManyValued<UISelectMany<VALUETYPE>,VALUETYPE>

getValue

public Iterable<VALUETYPE> getValue()
Specified by:
getValue in interface ManyValued<UISelectMany<VALUETYPE>,VALUETYPE>

Forge - Parent 2.0.0.Alpha1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.