Class NotificationBar
- java.lang.Object
-
- org.teamapps.ux.component.AbstractComponent
-
- org.teamapps.ux.component.notification.NotificationBar
-
- All Implemented Interfaces:
ClientObject,Component
public class NotificationBar extends AbstractComponent
-
-
Field Summary
Fields Modifier and Type Field Description Event<NotificationBarItem>onItemClickedEvent<NotificationBarItemClosedEvent>onItemClosed-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered
-
-
Constructor Summary
Constructors Constructor Description NotificationBar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItem(NotificationBarItem item)org.teamapps.dto.UiComponentcreateUiComponent()voidhandleUiEvent(org.teamapps.dto.UiEvent event)voidremoveItem(NotificationBarItem item)-
Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, setVisible, toggleCssClass, toString, unrender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.component.ClientObject
handleUiQuery
-
Methods inherited from interface org.teamapps.ux.component.Component
setAttribute, setCssStyle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
-
-
-
Field Detail
-
onItemClosed
public final Event<NotificationBarItemClosedEvent> onItemClosed
-
onItemClicked
public final Event<NotificationBarItem> onItemClicked
-
-
Method Detail
-
handleUiEvent
public void handleUiEvent(org.teamapps.dto.UiEvent event)
-
createUiComponent
public org.teamapps.dto.UiComponent createUiComponent()
- Specified by:
createUiComponentin classAbstractComponent
-
addItem
public void addItem(NotificationBarItem item)
-
removeItem
public void removeItem(NotificationBarItem item)
-
-