mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 08:37:05 +00:00
rename idlabel #2
This commit is contained in:
@@ -2,14 +2,12 @@ package com.sparrowwallet.sparrow.control;
|
||||
|
||||
import javafx.scene.text.Font;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public class CopyableIdLabel extends CopyableLabel {
|
||||
public CopyableIdLabel() {
|
||||
public class IdLabel extends CopyableLabel {
|
||||
public IdLabel() {
|
||||
this("");
|
||||
}
|
||||
|
||||
public CopyableIdLabel(String text) {
|
||||
public IdLabel(String text) {
|
||||
super(text);
|
||||
setFont(Font.font("Courier"));
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.sparrowwallet.sparrow.transaction;
|
||||
|
||||
import com.sparrowwallet.drongo.protocol.Transaction;
|
||||
import com.sparrowwallet.sparrow.EventManager;
|
||||
import com.sparrowwallet.sparrow.control.CopyableIdLabel;
|
||||
import com.sparrowwallet.sparrow.control.IdLabel;
|
||||
import com.sparrowwallet.sparrow.control.CopyableLabel;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.Initializable;
|
||||
@@ -21,7 +21,7 @@ public class HeadersController extends TransactionFormController implements Init
|
||||
private HeadersForm headersForm;
|
||||
|
||||
@FXML
|
||||
private CopyableIdLabel id;
|
||||
private IdLabel id;
|
||||
|
||||
@FXML
|
||||
private Spinner<Integer> version;
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.sparrowwallet.drongo.crypto.ECKey;
|
||||
import com.sparrowwallet.drongo.protocol.*;
|
||||
import com.sparrowwallet.drongo.psbt.PSBTInput;
|
||||
import com.sparrowwallet.sparrow.EventManager;
|
||||
import com.sparrowwallet.sparrow.control.CopyableIdLabel;
|
||||
import com.sparrowwallet.sparrow.control.IdLabel;
|
||||
import com.sparrowwallet.sparrow.control.CopyableLabel;
|
||||
import com.sparrowwallet.sparrow.control.RelativeTimelockSpinner;
|
||||
import javafx.fxml.FXML;
|
||||
@@ -24,7 +24,6 @@ import java.time.Instant;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZoneId;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.List;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
public class InputController extends TransactionFormController implements Initializable {
|
||||
@@ -34,7 +33,7 @@ public class InputController extends TransactionFormController implements Initia
|
||||
private Fieldset inputFieldset;
|
||||
|
||||
@FXML
|
||||
private CopyableIdLabel outpoint;
|
||||
private IdLabel outpoint;
|
||||
|
||||
@FXML
|
||||
private Button outpointSelect;
|
||||
@@ -46,7 +45,7 @@ public class InputController extends TransactionFormController implements Initia
|
||||
private CopyableLabel from;
|
||||
|
||||
@FXML
|
||||
private CopyableIdLabel address;
|
||||
private IdLabel address;
|
||||
|
||||
@FXML
|
||||
private CodeArea scriptSigArea;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.sparrowwallet.sparrow.transaction;
|
||||
import com.sparrowwallet.drongo.address.Address;
|
||||
import com.sparrowwallet.drongo.protocol.NonStandardScriptException;
|
||||
import com.sparrowwallet.drongo.protocol.TransactionOutput;
|
||||
import com.sparrowwallet.sparrow.control.CopyableIdLabel;
|
||||
import com.sparrowwallet.sparrow.control.IdLabel;
|
||||
import com.sparrowwallet.sparrow.control.CopyableLabel;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.Initializable;
|
||||
@@ -26,7 +26,7 @@ public class OutputController extends TransactionFormController implements Initi
|
||||
private CopyableLabel to;
|
||||
|
||||
@FXML
|
||||
private CopyableIdLabel address;
|
||||
private IdLabel address;
|
||||
|
||||
@FXML
|
||||
private CodeArea scriptPubKeyArea;
|
||||
|
||||
Reference in New Issue
Block a user