List of usage examples for com.vaadin.shared Position BOTTOM_CENTER
Position BOTTOM_CENTER
To view the source code for com.vaadin.shared Position BOTTOM_CENTER.
Click Source Link
From source file:org.eclipse.hawkbit.ui.login.LoginView.java
License:Open Source License
void loginCredentialsExpiredNotification() { final Notification notification = new Notification( i18n.getMessage("notification.login.failed.credentialsexpired.title")); notification.setDescription(i18n.getMessage("notification.login.failed.credentialsexpired.description")); notification.setDelayMsec(10000);//from www .ja v a 2 s . c o m notification.setHtmlContentAllowed(true); notification.setStyleName("error closeable"); notification.setPosition(Position.BOTTOM_CENTER); notification.show(Page.getCurrent()); }
From source file:ru.inovus.ui.SignInUI.java
License:Apache License
private void notification() { Notification notification = new Notification("!"); notification.setDescription(/*from w w w .jav a2 s .c o m*/ "<span> ?? ? <b>User</b> <b>password</b>.</span>"); notification.setHtmlContentAllowed(true); notification.setStyleName("tray dark small closable login-help"); notification.setPosition(Position.BOTTOM_CENTER); notification.setDelayMsec(20000); notification.show(Page.getCurrent()); }