Forge - UI Impl 2.0.0.Alpha3

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

java.lang.Object
  extended by org.jboss.forge.facets.AbstractFaceted<HintsFacet>
      extended by org.jboss.forge.ui.impl.UIInputComponentBase<UIInputMany<VALUETYPE>,VALUETYPE>
          extended by org.jboss.forge.ui.impl.UIInputManyImpl<VALUETYPE>
Type Parameters:
VALUETYPE -
All Implemented Interfaces:
org.jboss.forge.facets.Faceted<HintsFacet>, HasCompleter<UIInputMany<VALUETYPE>,VALUETYPE>, InputComponent<UIInputMany<VALUETYPE>,VALUETYPE>, ManyValued<UIInputMany<VALUETYPE>,VALUETYPE>, UIInputMany<VALUETYPE>

@Vetoed
public class UIInputManyImpl<VALUETYPE>
extends UIInputComponentBase<UIInputMany<VALUETYPE>,VALUETYPE>
implements UIInputMany<VALUETYPE>

Implementation of a UIInput object

Author:
George Gastaldi

Constructor Summary
UIInputManyImpl(String name, Class<VALUETYPE> type)
           
 
Method Summary
 UICompleter<VALUETYPE> getCompleter()
           
 Iterable<VALUETYPE> getValue()
           
 Converter<String,VALUETYPE> getValueConverter()
           
 UIInputMany<VALUETYPE> setCompleter(UICompleter<VALUETYPE> completer)
           
 UIInputMany<VALUETYPE> setDefaultValue(Callable<Iterable<VALUETYPE>> callback)
           
 UIInputMany<VALUETYPE> setDefaultValue(Iterable<VALUETYPE> value)
           
 UIInputMany<VALUETYPE> setValue(Iterable<VALUETYPE> value)
           
 UIInputMany<VALUETYPE> setValueConverter(Converter<String,VALUETYPE> converter)
           
 
Methods inherited from class org.jboss.forge.ui.impl.UIInputComponentBase
getLabel, getName, getRequiredMessage, getValueType, isEnabled, isRequired, setEnabled, setEnabled, setLabel, setRequired, setRequired, setRequiredMessage, 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.InputComponent
getLabel, getName, getRequiredMessage, getValueType, isEnabled, isRequired, setEnabled, setEnabled, setLabel, setRequired, setRequired, setRequiredMessage
 
Methods inherited from interface org.jboss.forge.facets.Faceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, supports, uninstall
 

Constructor Detail

UIInputManyImpl

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

getCompleter

public UICompleter<VALUETYPE> getCompleter()
Specified by:
getCompleter in interface HasCompleter<UIInputMany<VALUETYPE>,VALUETYPE>

setCompleter

public UIInputMany<VALUETYPE> setCompleter(UICompleter<VALUETYPE> completer)
Specified by:
setCompleter in interface HasCompleter<UIInputMany<VALUETYPE>,VALUETYPE>

setValue

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

setDefaultValue

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

setDefaultValue

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

getValue

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

getValueConverter

public Converter<String,VALUETYPE> getValueConverter()
Specified by:
getValueConverter in interface InputComponent<UIInputMany<VALUETYPE>,VALUETYPE>
Overrides:
getValueConverter in class UIInputComponentBase<UIInputMany<VALUETYPE>,VALUETYPE>

setValueConverter

public UIInputMany<VALUETYPE> setValueConverter(Converter<String,VALUETYPE> converter)
Specified by:
setValueConverter in interface InputComponent<UIInputMany<VALUETYPE>,VALUETYPE>
Overrides:
setValueConverter in class UIInputComponentBase<UIInputMany<VALUETYPE>,VALUETYPE>

Forge - UI Impl 2.0.0.Alpha3

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