org.jboss.errai.ui.client.widget
Interface HasModel<M>
- Type Parameters:
M
- the model type.
public interface HasModel<M>
Indicates that the implementing widget displays an instance of type .
- Author:
- Christian Sadilek
Method Summary |
M |
getModel()
Returns the model instance associated with this widget. |
void |
setModel(M model)
Associate the model instance with this widget. |
getModel
M getModel()
- Returns the model instance associated with this widget.
- Returns:
- the model instance, or null if no instance is associated with this widget.
setModel
void setModel(M model)
- Associate the model instance with this widget.
- Parameters:
model
- the model instance.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.