mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Reduce visibility of view classes to package-private
This commit is contained in:
parent
68a1140a6d
commit
1390ce21a8
@ -31,7 +31,7 @@ import javafx.stage.Modality;
|
|||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
// TODO Arbitration is very basic yet
|
// TODO Arbitration is very basic yet
|
||||||
public class ArbitratorSettingsView extends AbstractView {
|
class ArbitratorSettingsView extends AbstractView {
|
||||||
|
|
||||||
private ArbitratorRegistrationView arbitratorRegistrationView;
|
private ArbitratorRegistrationView arbitratorRegistrationView;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ import javafx.scene.layout.*;
|
|||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
// TODO Arbitration is very basic yet
|
// TODO Arbitration is very basic yet
|
||||||
public class ArbitratorBrowserView extends ActivatableView<Pane, Void> implements ArbitratorListener {
|
class ArbitratorBrowserView extends ActivatableView<Pane, Void> implements ArbitratorListener {
|
||||||
|
|
||||||
@FXML Button prevButton, nextButton, selectButton, closeButton;
|
@FXML Button prevButton, nextButton, selectButton, closeButton;
|
||||||
@FXML Pane arbitratorProfile;
|
@FXML Pane arbitratorProfile;
|
||||||
|
@ -28,7 +28,7 @@ import javafx.fxml.FXML;
|
|||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
|
|
||||||
public class ChangePasswordView extends InitializableView<GridPane, ChangePasswordViewModel> implements Wizard.Step {
|
class ChangePasswordView extends InitializableView<GridPane, ChangePasswordViewModel> implements Wizard.Step {
|
||||||
|
|
||||||
@FXML HBox buttonsHBox;
|
@FXML HBox buttonsHBox;
|
||||||
@FXML Button saveButton, skipButton;
|
@FXML Button saveButton, skipButton;
|
||||||
|
@ -49,7 +49,7 @@ import org.controlsfx.dialog.Dialog;
|
|||||||
|
|
||||||
import static javafx.beans.binding.Bindings.createBooleanBinding;
|
import static javafx.beans.binding.Bindings.createBooleanBinding;
|
||||||
|
|
||||||
public class FiatAccountView extends ActivatableViewAndModel<GridPane, FiatAccountViewModel> implements Wizard.Step {
|
class FiatAccountView extends ActivatableViewAndModel<GridPane, FiatAccountViewModel> implements Wizard.Step {
|
||||||
|
|
||||||
@FXML HBox buttonsHBox;
|
@FXML HBox buttonsHBox;
|
||||||
@FXML ComboBox<Region> regionComboBox;
|
@FXML ComboBox<Region> regionComboBox;
|
||||||
|
@ -35,7 +35,7 @@ import javafx.scene.paint.*;
|
|||||||
import de.jensd.fx.fontawesome.AwesomeDude;
|
import de.jensd.fx.fontawesome.AwesomeDude;
|
||||||
import de.jensd.fx.fontawesome.AwesomeIcon;
|
import de.jensd.fx.fontawesome.AwesomeIcon;
|
||||||
|
|
||||||
public class AccountSettingsView extends ActivatableViewAndModel {
|
class AccountSettingsView extends ActivatableViewAndModel {
|
||||||
|
|
||||||
private final ViewLoader viewLoader;
|
private final ViewLoader viewLoader;
|
||||||
private final Navigation navigation;
|
private final Navigation navigation;
|
||||||
|
@ -36,7 +36,7 @@ import javafx.scene.control.*;
|
|||||||
import javafx.scene.image.*;
|
import javafx.scene.image.*;
|
||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
|
|
||||||
public class AccountSetupWizard extends ActivatableView implements Wizard {
|
class AccountSetupWizard extends ActivatableView implements Wizard {
|
||||||
|
|
||||||
@FXML VBox leftVBox;
|
@FXML VBox leftVBox;
|
||||||
@FXML AnchorPane content;
|
@FXML AnchorPane content;
|
||||||
|
@ -29,7 +29,7 @@ import javafx.beans.value.ChangeListener;
|
|||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
|
|
||||||
public class FundsView extends ActivatableViewAndModel<TabPane, Activatable> {
|
class FundsView extends ActivatableViewAndModel<TabPane, Activatable> {
|
||||||
|
|
||||||
@FXML Tab withdrawalTab, transactionsTab;
|
@FXML Tab withdrawalTab, transactionsTab;
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ import javafx.fxml.FXML;
|
|||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
import javafx.util.Callback;
|
import javafx.util.Callback;
|
||||||
|
|
||||||
public class TransactionsView extends ActivatableViewAndModel {
|
class TransactionsView extends ActivatableViewAndModel {
|
||||||
|
|
||||||
@FXML TableView<TransactionsListItem> table;
|
@FXML TableView<TransactionsListItem> table;
|
||||||
@FXML TableColumn<TransactionsListItem, TransactionsListItem> dateColumn, addressColumn, amountColumn, typeColumn,
|
@FXML TableColumn<TransactionsListItem, TransactionsListItem> dateColumn, addressColumn, amountColumn, typeColumn,
|
||||||
|
@ -53,7 +53,7 @@ import org.controlsfx.control.action.Action;
|
|||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public class WithdrawalView extends ActivatableViewAndModel {
|
class WithdrawalView extends ActivatableViewAndModel {
|
||||||
|
|
||||||
@FXML TableView<WithdrawalListItem> table;
|
@FXML TableView<WithdrawalListItem> table;
|
||||||
@FXML Button addNewAddressButton;
|
@FXML Button addNewAddressButton;
|
||||||
|
@ -21,5 +21,5 @@ import io.bitsquare.gui.AbstractView;
|
|||||||
|
|
||||||
// home is just hosting the arbiters buttons yet, but that's just for dev, not clear yet what will be in home,
|
// home is just hosting the arbiters buttons yet, but that's just for dev, not clear yet what will be in home,
|
||||||
// probably overview, event history, news, charts,... -> low prio
|
// probably overview, event history, news, charts,... -> low prio
|
||||||
public class HomeView extends AbstractView {
|
class HomeView extends AbstractView {
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,6 @@ import io.bitsquare.gui.AbstractView;
|
|||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
|
|
||||||
// will be probably only used for arbitration communication, will be renamed and the icon changed
|
// will be probably only used for arbitration communication, will be renamed and the icon changed
|
||||||
public class MsgView extends AbstractView {
|
class MsgView extends AbstractView {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ import javafx.beans.value.ChangeListener;
|
|||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
|
|
||||||
public class PortfolioView extends ActivatableViewAndModel<TabPane, Activatable> {
|
class PortfolioView extends ActivatableViewAndModel<TabPane, Activatable> {
|
||||||
|
|
||||||
@FXML Tab offersTab, openTradesTab, closedTradesTab;
|
@FXML Tab offersTab, openTradesTab, closedTradesTab;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ import javafx.scene.control.*;
|
|||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
import javafx.util.Callback;
|
import javafx.util.Callback;
|
||||||
|
|
||||||
public class ClosedTradesView extends ActivatableViewAndModel<GridPane, ClosedTradesViewModel> {
|
class ClosedTradesView extends ActivatableViewAndModel<GridPane, ClosedTradesViewModel> {
|
||||||
|
|
||||||
@FXML TableView<ClosedTradesListItem> table;
|
@FXML TableView<ClosedTradesListItem> table;
|
||||||
@FXML TableColumn<ClosedTradesListItem, ClosedTradesListItem> priceColumn, amountColumn, volumeColumn,
|
@FXML TableColumn<ClosedTradesListItem, ClosedTradesListItem> priceColumn, amountColumn, volumeColumn,
|
||||||
|
@ -30,7 +30,7 @@ import javafx.scene.image.*;
|
|||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
import javafx.util.Callback;
|
import javafx.util.Callback;
|
||||||
|
|
||||||
public class OffersView extends ActivatableViewAndModel<GridPane, OffersViewModel> {
|
class OffersView extends ActivatableViewAndModel<GridPane, OffersViewModel> {
|
||||||
|
|
||||||
@FXML TableView<OfferListItem> table;
|
@FXML TableView<OfferListItem> table;
|
||||||
@FXML TableColumn<OfferListItem, OfferListItem> priceColumn, amountColumn, volumeColumn,
|
@FXML TableColumn<OfferListItem, OfferListItem> priceColumn, amountColumn, volumeColumn,
|
||||||
|
@ -52,7 +52,7 @@ import javafx.scene.layout.*;
|
|||||||
import javafx.util.Callback;
|
import javafx.util.Callback;
|
||||||
import javafx.util.StringConverter;
|
import javafx.util.StringConverter;
|
||||||
|
|
||||||
public class PendingTradesView extends ActivatableViewAndModel<AnchorPane, PendingTradesViewModel> {
|
class PendingTradesView extends ActivatableViewAndModel<AnchorPane, PendingTradesViewModel> {
|
||||||
|
|
||||||
@FXML GridPane gridPane;
|
@FXML GridPane gridPane;
|
||||||
@FXML ScrollPane scrollPane;
|
@FXML ScrollPane scrollPane;
|
||||||
|
@ -30,7 +30,7 @@ import javafx.beans.value.ChangeListener;
|
|||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
|
|
||||||
public class SettingsView extends ActivatableViewAndModel<TabPane, Activatable> {
|
class SettingsView extends ActivatableViewAndModel<TabPane, Activatable> {
|
||||||
|
|
||||||
@FXML Tab preferencesTab, networkSettingsTab;
|
@FXML Tab preferencesTab, networkSettingsTab;
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ import javafx.fxml.FXML;
|
|||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
import javafx.scene.layout.*;
|
import javafx.scene.layout.*;
|
||||||
|
|
||||||
public class PreferencesView extends ActivatableViewAndModel<GridPane, PreferencesViewModel> {
|
class PreferencesView extends ActivatableViewAndModel<GridPane, PreferencesViewModel> {
|
||||||
|
|
||||||
@FXML ComboBox<String> btcDenominationComboBox;
|
@FXML ComboBox<String> btcDenominationComboBox;
|
||||||
@FXML CheckBox useAnimationsCheckBox, useEffectsCheckBox;
|
@FXML CheckBox useAnimationsCheckBox, useEffectsCheckBox;
|
||||||
|
@ -26,7 +26,7 @@ import javax.inject.Inject;
|
|||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.scene.control.*;
|
import javafx.scene.control.*;
|
||||||
|
|
||||||
public class NetworkSettingsView extends InitializableView {
|
class NetworkSettingsView extends InitializableView {
|
||||||
|
|
||||||
private final String bitcoinNetworkValue;
|
private final String bitcoinNetworkValue;
|
||||||
private final ClientNode clientNode;
|
private final ClientNode clientNode;
|
||||||
|
@ -22,7 +22,7 @@ import io.bitsquare.gui.ViewLoader;
|
|||||||
|
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
|
|
||||||
public class BuyView extends TradeView {
|
class BuyView extends TradeView {
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public BuyView(ViewLoader viewLoader, Navigation navigation) {
|
public BuyView(ViewLoader viewLoader, Navigation navigation) {
|
||||||
|
@ -22,7 +22,7 @@ import io.bitsquare.gui.ViewLoader;
|
|||||||
|
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
|
|
||||||
public class SellView extends TradeView {
|
class SellView extends TradeView {
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public SellView(ViewLoader viewLoader, Navigation navigation) {
|
public SellView(ViewLoader viewLoader, Navigation navigation) {
|
||||||
|
Loading…
Reference in New Issue
Block a user