public final class InputFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static ChoiceInput |
createBooleanInput() |
protected static ChoiceInput |
createChoiceInput(Map<String,String> options)
Creates a choice input based on the given options.
|
static com.google.gwt.user.client.ui.Widget |
createInput(ParameterType type)
Creates a new input control that collects user data of the specified type.
|
public static com.google.gwt.user.client.ui.Widget createInput(ParameterType type)
java.lang.String and boolean.type - the type of a macro parameterprotected static ChoiceInput createChoiceInput(Map<String,String> options)
options - the options the user has to choose fromprotected static ChoiceInput createBooleanInput()
Copyright © 2004–2015 XWiki. All rights reserved.