Class PanelPresentationViewImpl
Object
PanelPresentationViewImpl
- All Implemented Interfaces:
View,PanelPresentationView,SerializableEventListener,TabSheet.SelectedTabChangeListener,Serializable,EventListener
@Component
@Scope("prototype")
public class PanelPresentationViewImpl
extends Object
implements PanelPresentationView, TabSheet.SelectedTabChangeListener
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface PanelPresentationView
PanelPresentationView.SelectedViewChangeEvent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddView(int id, TabLazyLoader.Loader loader, String caption) Adiciona uma nova view, baseada num componente de carga sob demanda.intAdiciona uma nova viewComponentEventBusBarramento de eventos da ViewButtonButtonintgetNextViewId(int id) Obtem o proximo item na visualizacaoButtonButtongetTitle()ComponentgetViewById(int id) Retorna o componente em questaoComponentintgetViewId(Component c) Obtem o ID da view atualRetorna todos os ID's de viewsvoidRemover viesvoidremoveView(int id) Remove a view identificada pelo IDvoidreplaceView(int id, Component view) Atualiza uma view com ID informadovoidselectedTabChange(TabSheet.SelectedTabChangeEvent event) voidselectView(int id) Exibe a view atualvoidsetNotificacoesPopup(ResumoNotificacoesPopupPresenter notificacoesPopup)
-
Constructor Details
-
PanelPresentationViewImpl
public PanelPresentationViewImpl()
-
-
Method Details
-
getNextViewId
public int getNextViewId(int id) Description copied from interface:PanelPresentationViewObtem o proximo item na visualizacao- Specified by:
getNextViewIdin interfacePanelPresentationView- Parameters:
id-- Returns:
-
setNotificacoesPopup
-
getViewComponent
public Component getViewComponent()- Specified by:
getViewComponentin interfaceView
-
getTitle
- Specified by:
getTitlein interfaceView
-
addView
Description copied from interface:PanelPresentationViewAdiciona uma nova view- Specified by:
addViewin interfacePanelPresentationView- Parameters:
view- - ID da nova View- Returns:
-
addView
Description copied from interface:PanelPresentationViewAdiciona uma nova view, baseada num componente de carga sob demanda.- Specified by:
addViewin interfacePanelPresentationView- Parameters:
loader-caption-- Returns:
-
selectView
public void selectView(int id) Description copied from interface:PanelPresentationViewExibe a view atual- Specified by:
selectViewin interfacePanelPresentationView- Parameters:
id-
-
replaceView
public void replaceView(int id, Component view) Description copied from interface:PanelPresentationViewAtualiza uma view com ID informado- Specified by:
replaceViewin interfacePanelPresentationView- Parameters:
id-view-
-
getViewsIds
Description copied from interface:PanelPresentationViewRetorna todos os ID's de views- Specified by:
getViewsIdsin interfacePanelPresentationView- Returns:
-
getViewById
public Component getViewById(int id) Description copied from interface:PanelPresentationViewRetorna o componente em questao- Specified by:
getViewByIdin interfacePanelPresentationView- Parameters:
id-- Returns:
-
getViewId
public int getViewId(Component c) Description copied from interface:PanelPresentationViewObtem o ID da view atual- Specified by:
getViewIdin interfacePanelPresentationView- Parameters:
c-- Returns:
-
removeView
public void removeView(int id) Description copied from interface:PanelPresentationViewRemove a view identificada pelo ID- Specified by:
removeViewin interfacePanelPresentationView- Parameters:
id-
-
removeAllViews
public void removeAllViews()Description copied from interface:PanelPresentationViewRemover vies- Specified by:
removeAllViewsin interfacePanelPresentationView
-
createErrorView
public Component createErrorView()- Specified by:
createErrorViewin interfacePanelPresentationView- Returns:
-
getEventBus
public EventBus getEventBus()Description copied from interface:PanelPresentationViewBarramento de eventos da View- Specified by:
getEventBusin interfacePanelPresentationView- Returns:
-
selectedTabChange
public void selectedTabChange(TabSheet.SelectedTabChangeEvent event) - Specified by:
selectedTabChangein interfaceTabSheet.SelectedTabChangeListener
-
getPlayPauseButton
public Button getPlayPauseButton()- Specified by:
getPlayPauseButtonin interfacePanelPresentationView
-
getFullScreenButton
public Button getFullScreenButton()- Specified by:
getFullScreenButtonin interfacePanelPresentationView
-
getReloadButton
public Button getReloadButton()- Specified by:
getReloadButtonin interfacePanelPresentationView
-
getLogoutButton
public Button getLogoutButton()- Specified by:
getLogoutButtonin interfacePanelPresentationView
-