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
@@ -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;
}
}
@@ -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;
}
}
@@ -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;
}
}
@@ -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;
}
}