use of bisq.desktop.main.dao.wallet.dashboard.BsqDashboardView in project bisq-desktop by bisq-network.
the class MenuItem method loadView.
private void loadView(Class<? extends View> viewClass) {
View view = viewLoader.load(viewClass);
content.getChildren().setAll(view.getRoot());
if (view instanceof BsqDashboardView)
dashboard.setSelected(true);
else if (view instanceof BsqSendView)
send.setSelected(true);
else if (view instanceof BsqReceiveView)
receive.setSelected(true);
else if (view instanceof BsqTxView)
transactions.setSelected(true);
}
Aggregations