delete unneeded partial in/out panes

This commit is contained in:
Craig Raw 2020-04-10 11:06:33 +02:00
parent 30fd16e8d6
commit 16bac7326e
6 changed files with 0 additions and 116 deletions

View file

@ -1,19 +0,0 @@
package com.sparrowwallet.sparrow.transaction;
import javafx.fxml.Initializable;
import java.net.URL;
import java.util.ResourceBundle;
public class PartialInputController extends TransactionFormController implements Initializable {
private PartialInputForm partialInputForm;
@Override
public void initialize(URL location, ResourceBundle resources) {
}
public void setModel(PartialInputForm form) {
this.partialInputForm = form;
}
}

View file

@ -1,25 +0,0 @@
package com.sparrowwallet.sparrow.transaction;
import com.sparrowwallet.drongo.protocol.Transaction;
import com.sparrowwallet.drongo.psbt.PSBTInput;
import javafx.fxml.FXMLLoader;
import javafx.scene.Node;
import java.io.IOException;
public class PartialInputForm extends TransactionForm {
private PSBTInput psbtInput;
public PartialInputForm(Transaction transaction, PSBTInput psbtInput) {
super(transaction);
this.psbtInput = psbtInput;
}
public Node getContents() throws IOException {
FXMLLoader loader = new FXMLLoader(getClass().getResource("partialinput.fxml"));
Node node = loader.load();
PartialInputController controller = loader.getController();
controller.setModel(this);
return node;
}
}

View file

@ -1,19 +0,0 @@
package com.sparrowwallet.sparrow.transaction;
import javafx.fxml.Initializable;
import java.net.URL;
import java.util.ResourceBundle;
public class PartialOutputController extends TransactionFormController implements Initializable {
private PartialOutputForm partialOutputForm;
@Override
public void initialize(URL location, ResourceBundle resources) {
}
public void setModel(PartialOutputForm form) {
this.partialOutputForm = form;
}
}

View file

@ -1,25 +0,0 @@
package com.sparrowwallet.sparrow.transaction;
import com.sparrowwallet.drongo.protocol.Transaction;
import com.sparrowwallet.drongo.psbt.PSBTOutput;
import javafx.fxml.FXMLLoader;
import javafx.scene.Node;
import java.io.IOException;
public class PartialOutputForm extends TransactionForm {
private PSBTOutput psbtOutput;
public PartialOutputForm(Transaction transaction, PSBTOutput psbtOutput) {
super(transaction);
this.psbtOutput = psbtOutput;
}
public Node getContents() throws IOException {
FXMLLoader loader = new FXMLLoader(getClass().getResource("partialoutput.fxml"));
Node node = loader.load();
PartialOutputController controller = loader.getController();
controller.setModel(this);
return node;
}
}

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.sparrowwallet.sparrow.transaction.PartialInputController"
prefHeight="400.0" prefWidth="600.0">
</AnchorPane>

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.sparrowwallet.sparrow.transaction.PartialOutputController"
prefHeight="400.0" prefWidth="600.0">
</AnchorPane>