org.jboss.forge.ui.impl
Class UIInputManyImpl<VALUETYPE>
java.lang.Object
org.jboss.forge.facets.AbstractFaceted<HintsFacet>
org.jboss.forge.ui.impl.UIInputComponentBase<UIInputMany<VALUETYPE>,VALUETYPE>
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
| 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 |
UIInputManyImpl
public UIInputManyImpl(String name,
Class<VALUETYPE> type)
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>
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.