|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.macro.ParameterDisplayer
public class ParameterDisplayer
Displays a macro parameter allowing us to change its value.
| Constructor Summary | |
|---|---|
ParameterDisplayer(ParameterDescriptor descriptor)
Creates a new displayer for the specified parameter. |
|
| Method Summary | |
|---|---|
ParameterDescriptor |
getDescriptor()
|
java.lang.String |
getValue()
|
com.google.gwt.user.client.ui.Widget |
getWidget()
|
void |
setFocused(boolean focused)
Explicitly focus/unfocus the input control. |
void |
setValue(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterDisplayer(ParameterDescriptor descriptor)
descriptor - describes the parameter to be displayed| Method Detail |
|---|
public 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 java.lang.String getValue()
public void setValue(java.lang.String value)
value - the value to setpublic boolean validate()
true if the current value is legal, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||