Package sk.iway.iwcm.system.datatable
Class NotifyBean
java.lang.Object
sk.iway.iwcm.system.datatable.NotifyBean
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNotifyBean
(String title, String text, NotifyBean.NotifyType type) NotifyBean
(String title, String text, NotifyBean.NotifyType type, long timeout) Prida novu notifikaciu -
Method Summary
Modifier and TypeMethodDescriptionaddButton
(NotifyButton button) Prida tlacidlo do notifikaciegetText()
long
getTitle()
getType()
void
setButtons
(List<NotifyButton> buttons) void
void
setTimeout
(long timeout) void
void
void
setType
(NotifyBean.NotifyType type)
-
Constructor Details
-
NotifyBean
public NotifyBean() -
NotifyBean
-
NotifyBean
Prida novu notifikaciu- Parameters:
title
-text
-type
-timeout
- - pocet ms po ktorych sa notifikacia schova
-
-
Method Details
-
setType
-
setType
-
addButton
Prida tlacidlo do notifikacie- Parameters:
button
-- Returns:
-
getTitle
-
getType
-
getText
-
getTimeout
public long getTimeout() -
getButtons
-
setTitle
-
setText
-
setTimeout
public void setTimeout(long timeout) -
setButtons
-