use of com.vaadin.flow.component.icon.Icon in project alibaba-rsocket-broker by alibaba.
the class MainLayout method filters.
private Tab filters() {
final Span label = new Span("RSocket Filters");
final Icon icon = FORWARD.create();
final Tab tab = new Tab(new HorizontalLayout(icon, label));
tab2Workspace.put(tab, new RSocketFiltersView(this.filterChain, this.rSocketBrokerManager));
return tab;
}
use of com.vaadin.flow.component.icon.Icon in project alibaba-rsocket-broker by alibaba.
the class MainLayout method dashBoard.
private Tab dashBoard() {
final Span label = new Span("Dashboard");
final Icon icon = DASHBOARD.create();
final Tab tab = new Tab(new HorizontalLayout(icon, label));
tab2Workspace.put(tab, new DashboardView(this.handlerRegistry, this.serviceRoutingSelector, this.rSocketBrokerManager));
return tab;
}
use of com.vaadin.flow.component.icon.Icon in project alibaba-rsocket-broker by alibaba.
the class MainLayout method system.
private Tab system() {
final Span label = new Span("Server");
final Icon icon = SERVER.create();
final Tab tab = new Tab(new HorizontalLayout(icon, label));
tab2Workspace.put(tab, new SystemView());
return tab;
}
use of com.vaadin.flow.component.icon.Icon in project alibaba-rsocket-broker by alibaba.
the class MainLayout method jwt.
private Tab jwt() {
final Span label = new Span("JWT");
final Icon icon = PASSWORD.create();
final Tab tab = new Tab(new HorizontalLayout(icon, label));
tab2Workspace.put(tab, new JwtGeneratorView(this.authenticationService));
return tab;
}
use of com.vaadin.flow.component.icon.Icon in project psip-automation by bssw-psip.
the class AppBar method searchModeOn.
/* === SEARCH === */
public void searchModeOn() {
menuIcon.setVisible(false);
title.setVisible(false);
actionItems.setVisible(false);
tabContainer.setVisible(false);
contextIcon.setIcon(new Icon(VaadinIcon.ARROW_BACKWARD));
contextIcon.setVisible(true);
searchRegistration = contextIcon.addClickListener(e -> searchModeOff());
search.setVisible(true);
search.focus();
}
Aggregations