Search in sources :

Example 1 with AltCoinAccountsView

use of io.bitsquare.gui.main.account.content.altcoinaccounts.AltCoinAccountsView in project bitsquare by bitsquare.

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(io.bitsquare.gui.main.account.content.backup.BackupView) AltCoinAccountsView(io.bitsquare.gui.main.account.content.altcoinaccounts.AltCoinAccountsView) ArbitratorSelectionView(io.bitsquare.gui.main.account.content.arbitratorselection.ArbitratorSelectionView) SeedWordsView(io.bitsquare.gui.main.account.content.seedwords.SeedWordsView) PasswordView(io.bitsquare.gui.main.account.content.password.PasswordView) SeedWordsView(io.bitsquare.gui.main.account.content.seedwords.SeedWordsView) MainView(io.bitsquare.gui.main.MainView) ArbitratorSelectionView(io.bitsquare.gui.main.account.content.arbitratorselection.ArbitratorSelectionView) FiatAccountsView(io.bitsquare.gui.main.account.content.fiataccounts.FiatAccountsView) AltCoinAccountsView(io.bitsquare.gui.main.account.content.altcoinaccounts.AltCoinAccountsView) BackupView(io.bitsquare.gui.main.account.content.backup.BackupView) PasswordView(io.bitsquare.gui.main.account.content.password.PasswordView) AccountView(io.bitsquare.gui.main.account.AccountView) FiatAccountsView(io.bitsquare.gui.main.account.content.fiataccounts.FiatAccountsView)

Aggregations

MainView (io.bitsquare.gui.main.MainView)1 AccountView (io.bitsquare.gui.main.account.AccountView)1 AltCoinAccountsView (io.bitsquare.gui.main.account.content.altcoinaccounts.AltCoinAccountsView)1 ArbitratorSelectionView (io.bitsquare.gui.main.account.content.arbitratorselection.ArbitratorSelectionView)1 BackupView (io.bitsquare.gui.main.account.content.backup.BackupView)1 FiatAccountsView (io.bitsquare.gui.main.account.content.fiataccounts.FiatAccountsView)1 PasswordView (io.bitsquare.gui.main.account.content.password.PasswordView)1 SeedWordsView (io.bitsquare.gui.main.account.content.seedwords.SeedWordsView)1