public class ParameterDisplayer extends Object
| Constructor and Description |
|---|
ParameterDisplayer(ParameterDescriptor descriptor)
Creates a new displayer for the specified parameter.
|
| Modifier and Type | Method and Description |
|---|---|
ParameterDescriptor |
getDescriptor() |
String |
getValue() |
com.google.gwt.user.client.ui.Widget |
getWidget() |
void |
setFocused(boolean focused)
Explicitly focus/unfocus the input control.
|
void |
setValue(String value)
Sets the displayed value of the underlying macro parameter.
|
boolean |
validate()
Validates the current value of the displayed macro parameter and shows a notification message near the input
control if the value is illegal.
|
public ParameterDisplayer(ParameterDescriptor descriptor)
descriptor - describes the parameter to be displayedpublic ParameterDescriptor getDescriptor()
descriptorpublic com.google.gwt.user.client.ui.Widget getWidget()
public void setFocused(boolean focused)
focused - whether the input control should take focus or release itpublic String getValue()
public void setValue(String value)
value - the value to setpublic boolean validate()
true if the current value is legal, false otherwiseCopyright © 2004–2017 XWiki. All rights reserved.