VALUETYPE - @Vetoed public abstract class UIInputComponentBase<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE> extends org.jboss.forge.facets.AbstractFaceted<HintsFacet> implements InputComponent<IMPLTYPE,VALUETYPE>
UIInput object| Constructor and Description |
|---|
UIInputComponentBase(String name,
Class<VALUETYPE> type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
String |
getName() |
String |
getRequiredMessage() |
Converter<String,VALUETYPE> |
getValueConverter() |
Class<VALUETYPE> |
getValueType() |
boolean |
isEnabled() |
boolean |
isRequired() |
IMPLTYPE |
setEnabled(boolean enabled) |
IMPLTYPE |
setEnabled(Callable<Boolean> callback) |
IMPLTYPE |
setLabel(String label) |
IMPLTYPE |
setRequired(boolean required) |
IMPLTYPE |
setRequired(Callable<Boolean> required) |
IMPLTYPE |
setRequiredMessage(String requiredMessage) |
IMPLTYPE |
setValueConverter(Converter<String,VALUETYPE> converter) |
boolean |
supports(HintsFacet type) |
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, uninstallclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, uninstallpublic String getLabel()
getLabel in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public String getName()
getName in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public Class<VALUETYPE> getValueType()
getValueType in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public boolean isEnabled()
isEnabled in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public boolean isRequired()
isRequired in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public IMPLTYPE setEnabled(boolean enabled)
setEnabled in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public IMPLTYPE setEnabled(Callable<Boolean> callback)
setEnabled in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public IMPLTYPE setLabel(String label)
setLabel in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public IMPLTYPE setRequired(boolean required)
setRequired in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public IMPLTYPE setRequired(Callable<Boolean> required)
setRequired in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public boolean supports(HintsFacet type)
supports in interface org.jboss.forge.facets.Faceted<HintsFacet>public String getRequiredMessage()
getRequiredMessage in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public IMPLTYPE setRequiredMessage(String requiredMessage)
setRequiredMessage in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public Converter<String,VALUETYPE> getValueConverter()
getValueConverter in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>public IMPLTYPE setValueConverter(Converter<String,VALUETYPE> converter)
setValueConverter in interface InputComponent<IMPLTYPE extends InputComponent<IMPLTYPE,VALUETYPE>,VALUETYPE>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.