Search in sources :

Example 1 with BsqReceiveView

use of bisq.desktop.main.dao.wallet.receive.BsqReceiveView 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);
}
Also used : BsqSendView(bisq.desktop.main.dao.wallet.send.BsqSendView) BsqReceiveView(bisq.desktop.main.dao.wallet.receive.BsqReceiveView) BsqDashboardView(bisq.desktop.main.dao.wallet.dashboard.BsqDashboardView) BsqDashboardView(bisq.desktop.main.dao.wallet.dashboard.BsqDashboardView) FxmlView(bisq.desktop.common.view.FxmlView) BsqSendView(bisq.desktop.main.dao.wallet.send.BsqSendView) BsqTxView(bisq.desktop.main.dao.wallet.tx.BsqTxView) BsqReceiveView(bisq.desktop.main.dao.wallet.receive.BsqReceiveView) DaoView(bisq.desktop.main.dao.DaoView) View(bisq.desktop.common.view.View) MainView(bisq.desktop.main.MainView) BsqTxView(bisq.desktop.main.dao.wallet.tx.BsqTxView)

Aggregations

FxmlView (bisq.desktop.common.view.FxmlView)1 View (bisq.desktop.common.view.View)1 MainView (bisq.desktop.main.MainView)1 DaoView (bisq.desktop.main.dao.DaoView)1 BsqDashboardView (bisq.desktop.main.dao.wallet.dashboard.BsqDashboardView)1 BsqReceiveView (bisq.desktop.main.dao.wallet.receive.BsqReceiveView)1 BsqSendView (bisq.desktop.main.dao.wallet.send.BsqSendView)1 BsqTxView (bisq.desktop.main.dao.wallet.tx.BsqTxView)1