X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fde%2Ftodesbaum%2Futil%2Fswing%2FTLabel.java;h=4fb47668a51a1961843bd1d85b553221945d7e61;hb=8db42d2121e8ee465ab8380a66febde1949a0106;hp=0393f5ce066a54d63b62b6c0c8a97fcd4f05bcc7;hpb=38bdc433e50669e8244a63b5af59e597f88f1d29;p=jSite.git diff --git a/src/main/java/de/todesbaum/util/swing/TLabel.java b/src/main/java/de/todesbaum/util/swing/TLabel.java index 0393f5c..4fb4766 100644 --- a/src/main/java/de/todesbaum/util/swing/TLabel.java +++ b/src/main/java/de/todesbaum/util/swing/TLabel.java @@ -1,5 +1,5 @@ /* - * jSite - TLabel.java - Copyright © 2006–2012 David Roden + * jSite - TLabel.java - Copyright © 2006–2019 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,40 +29,6 @@ import javax.swing.JLabel; */ public class TLabel extends JLabel { - public TLabel() { - super(); - } - - public TLabel(int mnemonic, Component labelFor) { - super(); - setDisplayedMnemonic(mnemonic); - setLabelFor(labelFor); - } - - public TLabel(Icon image) { - super(image); - } - - public TLabel(Icon image, int mnemonic, Component labelFor) { - super(image); - setDisplayedMnemonic(mnemonic); - setLabelFor(labelFor); - } - - public TLabel(Icon image, int horizontalAlignment) { - super(image); - } - - public TLabel(Icon image, int horizontalAlignment, int mnemonic, Component labelFor) { - super(image); - setDisplayedMnemonic(mnemonic); - setLabelFor(labelFor); - } - - public TLabel(String text) { - super(text); - } - public TLabel(String text, int mnemonic, Component labelFor) { super(text); setDisplayedMnemonic(mnemonic); @@ -70,24 +36,4 @@ public class TLabel extends JLabel { setAlignmentX(0.0f); } - public TLabel(String text, Icon icon, int horizontalAlignment) { - super(text, icon, horizontalAlignment); - } - - public TLabel(String text, Icon icon, int horizontalAlignment, int mnemonic, Component labelFor) { - super(text, icon, horizontalAlignment); - setDisplayedMnemonic(mnemonic); - setLabelFor(labelFor); - } - - public TLabel(String text, int horizontalAlignment) { - super(text, horizontalAlignment); - } - - public TLabel(String text, int horizontalAlignment, int mnemonic, Component labelFor) { - super(text, horizontalAlignment); - setDisplayedMnemonic(mnemonic); - setLabelFor(labelFor); - } - }