|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.gwt.runtime.client.ui.AbstractView
public abstract class AbstractView
Constructor Summary | |
---|---|
AbstractView(java.lang.String name)
|
Method Summary | |
---|---|
boolean |
acceptInput(java.lang.Object input)
Whether or not this view accepts the given input. |
java.lang.String |
getIcon()
Gets a icon suitable for this view. |
java.lang.Object |
getInput()
Gets the current input if the view if any. |
java.lang.String |
getName()
Gets the view name the view an can be used to find out a view from its container. |
java.lang.String |
getTitle()
Gets a title suitable for this view. |
com.google.gwt.user.client.ui.Widget |
getWidget()
Gets the underlying widget of this object. |
boolean |
hasWidget()
Whether or not the view widget was created. |
void |
hideBusy()
Hides busy state. |
void |
install(Site site,
java.lang.Object input)
Installs the view into a site and sets is input to the given one. |
boolean |
isInstalled()
Whether or not this view is installed into a site (its widget was created). |
void |
refresh()
Refreshes this view using current input. |
void |
setInput(java.lang.Object input)
Sets the input object for the view. |
void |
showBusy()
Shows busy state. |
java.lang.String |
toString()
|
void |
uninstall()
Uninstalls the view from its site. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractView(java.lang.String name)
Method Detail |
---|
public void install(Site site, java.lang.Object input)
View
install
in interface View
site
- the site to host the viewinput
- the input objectpublic void uninstall()
View
uninstall
in interface View
public boolean isInstalled()
View
isInstalled
in interface View
public boolean hasWidget()
View
hasWidget
in interface View
public java.lang.String getName()
View
getName
in interface View
public java.lang.String getTitle()
View
getTitle
in interface View
public java.lang.String getIcon()
View
getIcon
in interface View
public void refresh()
View
refresh
in interface View
public void showBusy()
View
showBusy
in interface View
public void hideBusy()
View
hideBusy
in interface View
public com.google.gwt.user.client.ui.Widget getWidget()
Drawable
getWidget
in interface Drawable
public boolean acceptInput(java.lang.Object input)
View
acceptInput
in interface View
public void setInput(java.lang.Object input)
View
setInput
in interface View
public java.lang.Object getInput()
View
getInput
in interface View
public java.lang.String toString()
toString
in class java.lang.Object
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |