|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.joseluismartin.vaadin.ui.AbstractView<T>
public abstract class AbstractView<T>
Base class for Views. Subclases must implements buildPanel() method to create the Vaadin component of the view.
Constructor Summary | |
---|---|
AbstractView()
|
Method Summary | |
---|---|
protected abstract com.vaadin.ui.Component |
buildPanel()
Build the Component of view. |
com.vaadin.ui.Component |
getComponent()
Get the View Component |
T |
getModel()
Gets model |
void |
setModel(T model)
Sets model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.joseluismartin.vaadin.ui.Binder |
---|
refresh, update |
Constructor Detail |
---|
public AbstractView()
Method Detail |
---|
protected abstract com.vaadin.ui.Component buildPanel()
public com.vaadin.ui.Component getComponent()
getComponent
in interface View<T>
public T getModel()
getModel
in interface ModelHolder<T>
public void setModel(T model)
setModel
in interface ModelHolder<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |