Search in sources :

Example 1 with PasswordView

use of bisq.desktop.main.account.content.password.PasswordView 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 FiatAccountsView)
        paymentAccount.setSelected(true);
    else if (view instanceof AltCoinAccountsView)
        altCoinsAccountView.setSelected(true);
    else if (view instanceof ArbitratorSelectionView)
        arbitratorSelection.setSelected(true);
    else if (view instanceof PasswordView)
        password.setSelected(true);
    else if (view instanceof SeedWordsView)
        seedWords.setSelected(true);
    else if (view instanceof BackupView)
        backup.setSelected(true);
}
Also used : BackupView(bisq.desktop.main.account.content.backup.BackupView) AltCoinAccountsView(bisq.desktop.main.account.content.altcoinaccounts.AltCoinAccountsView) ArbitratorSelectionView(bisq.desktop.main.account.content.arbitratorselection.ArbitratorSelectionView) SeedWordsView(bisq.desktop.main.account.content.seedwords.SeedWordsView) PasswordView(bisq.desktop.main.account.content.password.PasswordView) ArbitratorSelectionView(bisq.desktop.main.account.content.arbitratorselection.ArbitratorSelectionView) FiatAccountsView(bisq.desktop.main.account.content.fiataccounts.FiatAccountsView) FxmlView(bisq.desktop.common.view.FxmlView) PasswordView(bisq.desktop.main.account.content.password.PasswordView) AccountView(bisq.desktop.main.account.AccountView) BackupView(bisq.desktop.main.account.content.backup.BackupView) SeedWordsView(bisq.desktop.main.account.content.seedwords.SeedWordsView) View(bisq.desktop.common.view.View) MainView(bisq.desktop.main.MainView) AltCoinAccountsView(bisq.desktop.main.account.content.altcoinaccounts.AltCoinAccountsView) FiatAccountsView(bisq.desktop.main.account.content.fiataccounts.FiatAccountsView)

Aggregations

FxmlView (bisq.desktop.common.view.FxmlView)1 View (bisq.desktop.common.view.View)1 MainView (bisq.desktop.main.MainView)1 AccountView (bisq.desktop.main.account.AccountView)1 AltCoinAccountsView (bisq.desktop.main.account.content.altcoinaccounts.AltCoinAccountsView)1 ArbitratorSelectionView (bisq.desktop.main.account.content.arbitratorselection.ArbitratorSelectionView)1 BackupView (bisq.desktop.main.account.content.backup.BackupView)1 FiatAccountsView (bisq.desktop.main.account.content.fiataccounts.FiatAccountsView)1 PasswordView (bisq.desktop.main.account.content.password.PasswordView)1 SeedWordsView (bisq.desktop.main.account.content.seedwords.SeedWordsView)1