org.jboss.forge.ui.impl
Class UIInputImpl<VALUETYPE>
java.lang.Object
org.jboss.forge.facets.AbstractFaceted<HintsFacet>
org.jboss.forge.ui.impl.UIInputComponentBase<UIInput<VALUETYPE>,VALUETYPE>
org.jboss.forge.ui.impl.UIInputImpl<VALUETYPE>
- Type Parameters:
VALUETYPE
-
- All Implemented Interfaces:
- Faceted<HintsFacet>, HasCompleter<UIInput<VALUETYPE>,VALUETYPE>, InputComponent<UIInput<VALUETYPE>,VALUETYPE>, SingleValued<UIInput<VALUETYPE>,VALUETYPE>, UIInput<VALUETYPE>
@Vetoed
public class UIInputImpl<VALUETYPE>
- extends UIInputComponentBase<UIInput<VALUETYPE>,VALUETYPE>
- implements UIInput<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 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 |
UIInputImpl
public UIInputImpl(String name,
Class<VALUETYPE> type)
getCompleter
public UICompleter<VALUETYPE> getCompleter()
- Specified by:
getCompleter
in interface HasCompleter<UIInput<VALUETYPE>,VALUETYPE>
setCompleter
public UIInput<VALUETYPE> setCompleter(UICompleter<VALUETYPE> completer)
- Specified by:
setCompleter
in interface HasCompleter<UIInput<VALUETYPE>,VALUETYPE>
setValue
public UIInput<VALUETYPE> setValue(VALUETYPE value)
- Specified by:
setValue
in interface SingleValued<UIInput<VALUETYPE>,VALUETYPE>
setDefaultValue
public UIInput<VALUETYPE> setDefaultValue(Callable<VALUETYPE> callback)
- Specified by:
setDefaultValue
in interface SingleValued<UIInput<VALUETYPE>,VALUETYPE>
setDefaultValue
public UIInput<VALUETYPE> setDefaultValue(VALUETYPE value)
- Specified by:
setDefaultValue
in interface SingleValued<UIInput<VALUETYPE>,VALUETYPE>
getValue
public VALUETYPE getValue()
- Specified by:
getValue
in interface SingleValued<UIInput<VALUETYPE>,VALUETYPE>
getValueConverter
public Converter<String,VALUETYPE> getValueConverter()
- Specified by:
getValueConverter
in interface InputComponent<UIInput<VALUETYPE>,VALUETYPE>
- Overrides:
getValueConverter
in class UIInputComponentBase<UIInput<VALUETYPE>,VALUETYPE>
setValueConverter
public UIInput<VALUETYPE> setValueConverter(Converter<String,VALUETYPE> converter)
- Specified by:
setValueConverter
in interface InputComponent<UIInput<VALUETYPE>,VALUETYPE>
- Overrides:
setValueConverter
in class UIInputComponentBase<UIInput<VALUETYPE>,VALUETYPE>
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.