public class GUIFormRenderer extends Object
| Constructor and Description |
|---|
GUIFormRenderer(com.googlecode.fascinator.common.JsonSimpleConfig config)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ajaxFluidErrorHolder(String prefix)
Render an error message text container.
|
String |
ajaxFluidLoader(String prefix)
Render a circular loading animation.
|
String |
ajaxProgressLoader(String prefix)
Render a horizontal progress loading animation.
|
String |
renderFormElement(String name,
String type,
String label)
Render a simple form 'input' element with optional 'label'.
|
String |
renderFormElement(String name,
String type,
String label,
String value)
Render a simple form 'input' element with optional 'label' and a
starting value.
|
String |
renderFormSelect(String name,
String label,
Map<String,String> values)
Render a 'select' drop-down element with optional 'label'.
|
public GUIFormRenderer(com.googlecode.fascinator.common.JsonSimpleConfig config)
config - : System configurationpublic String ajaxFluidErrorHolder(String prefix)
prefix - : A String to prepend to element IDspublic String ajaxFluidLoader(String prefix)
prefix - : A String to prepend to element IDspublic String ajaxProgressLoader(String prefix)
prefix - : A String to prepend to element IDspublic String renderFormElement(String name, String type, String label)
name - : Value of the 'name' attributetype - : Value of the 'type' attributelabel - : Label textpublic String renderFormElement(String name, String type, String label, String value)
name - : Value of the 'name' attributetype - : Value of the 'type' attributelabel - : Label textvalue - : The starting text for the element valuepublic String renderFormSelect(String name, String label, Map<String,String> values)
name - : Value of the 'name' attributelabel - : Label textvalues - : A Map of values of label for the drop-down.Copyright © 2009-2015. All Rights Reserved.