mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 08:37:05 +00:00
delete unneeded partial in/out panes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user