Package org.opencms.gwt.client.ui.input
Class CmsDefaultStringModel
java.lang.Object
org.opencms.gwt.client.ui.input.CmsDefaultStringModel
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>
,com.google.gwt.event.shared.HasHandlers
,I_CmsStringModel
The default string model implementation.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gwt.event.shared.HandlerRegistration
addValueChangeHandler
(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler) void
fireEvent
(com.google.gwt.event.shared.GwtEvent<?> event) getId()
Returns the model id.getValue()
Returns the model value.void
Sets the model value.
-
Constructor Details
-
CmsDefaultStringModel
Creates a new string model.- Parameters:
id
- the model id
-
-
Method Details
-
getId
Description copied from interface:I_CmsStringModel
Returns the model id.- Specified by:
getId
in interfaceI_CmsStringModel
- Returns:
- the model id
- See Also:
-
getValue
Description copied from interface:I_CmsStringModel
Returns the model value.- Specified by:
getValue
in interfaceI_CmsStringModel
- Returns:
- the model value
- See Also:
-
setValue
Description copied from interface:I_CmsStringModel
Sets the model value.- Specified by:
setValue
in interfaceI_CmsStringModel
- Parameters:
value
- the new model valuenotify
- if true, value change listeners will be notified of the new value- See Also: