public abstract class AbstractTouchUIWidgetMaker<T extends TouchUIWidgetParameters> extends Object implements TouchUIWidgetMaker
Modifier and Type | Field and Description |
---|---|
protected TouchUIWidgetMakerParameters |
parameters |
Constructor and Description |
---|
AbstractTouchUIWidgetMaker(TouchUIWidgetMakerParameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
getAdditionalPropertiesForField() |
<E> E |
getAnnotation(Class<E> annotationClass) |
protected String |
getCssClassForField() |
javassist.CtClass |
getCtType() |
protected String |
getDefaultValueForField() |
protected boolean |
getDisabledForField() |
protected String |
getFieldDescriptionForField() |
protected String |
getFieldLabelForField() |
protected String |
getFieldNameForField() |
protected String |
getName() |
protected String |
getNameForField()
Determines and returns the name for the dialog field.
|
protected boolean |
getRequiredForField() |
protected String |
getTitleForField() |
Class<?> |
getType() |
protected String |
getValueForField() |
protected boolean |
isField() |
protected boolean |
isMethod() |
TouchUIDialogElement |
make() |
protected abstract TouchUIDialogElement |
make(T parameters) |
protected final TouchUIWidgetMakerParameters parameters
public AbstractTouchUIWidgetMaker(TouchUIWidgetMakerParameters parameters)
public final TouchUIDialogElement make() throws ClassNotFoundException, InvalidComponentFieldException, TouchUIDialogGenerationException, IllegalAccessException, InstantiationException
make
in interface TouchUIWidgetMaker
ClassNotFoundException
InvalidComponentFieldException
TouchUIDialogGenerationException
IllegalAccessException
InstantiationException
protected abstract TouchUIDialogElement make(T parameters) throws ClassNotFoundException, InvalidComponentFieldException, TouchUIDialogGenerationException, IllegalAccessException, InstantiationException
protected String getNameForField()
Determines and returns the name for the dialog field. The name is the relative path to where any authored input using the resultant widget will be housed in the content repository.
When useDotSlashInName is true, the string './' will be prepended to the determined name.
getName()
method.protected String getFieldNameForField()
getName()
method otherwise.protected String getFieldLabelForField()
protected String getFieldDescriptionForField()
protected boolean getRequiredForField()
protected String getDefaultValueForField()
protected String getValueForField()
protected String getTitleForField()
protected boolean getDisabledForField()
protected String getCssClassForField()
protected String getName()
protected boolean isField()
protected boolean isMethod()
public <E> E getAnnotation(Class<E> annotationClass) throws ClassNotFoundException
ClassNotFoundException
public javassist.CtClass getCtType() throws javassist.NotFoundException, InvalidComponentFieldException
javassist.NotFoundException
InvalidComponentFieldException
public Class<?> getType() throws InvalidComponentFieldException
InvalidComponentFieldException
Copyright © 2019 ICF Olson. All rights reserved.