Mise à jour de 'src/JsonInspector/Line.java'
This commit is contained in:
parent
2db0e6e3f2
commit
a9ec8cc4f8
@ -1,31 +1,33 @@
|
||||
import java.awt.*;
|
||||
|
||||
public class Line extends MyJPanel {
|
||||
//Le nœud qui est représenté par cette objet Line
|
||||
private Node node;
|
||||
|
||||
public Line(Node node) {
|
||||
super();
|
||||
this.node = node;
|
||||
}
|
||||
|
||||
public Line(Node node, String str) {
|
||||
super();
|
||||
this.add(new MyJLabel(str));
|
||||
this.node = node;
|
||||
}
|
||||
|
||||
public Line(Node node, String str, Color color) {
|
||||
super();
|
||||
this.add(new MyJLabel(str, color));
|
||||
this.node = node;
|
||||
}
|
||||
|
||||
public void add(String string) {
|
||||
this.add(new MyJLabel(string));
|
||||
}
|
||||
|
||||
public void add(String string, Color color) {
|
||||
this.add(new MyJLabel(string, color));
|
||||
}
|
||||
}
|
||||
package JsonInspector;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public class Line extends MyJPanel {
|
||||
//Le nœud qui est représenté par cette objet Line
|
||||
private Node node;
|
||||
|
||||
public Line(Node node) {
|
||||
super();
|
||||
this.node = node;
|
||||
}
|
||||
|
||||
public Line(Node node, String str) {
|
||||
super();
|
||||
this.add(new MyJLabel(str));
|
||||
this.node = node;
|
||||
}
|
||||
|
||||
public Line(Node node, String str, Color color) {
|
||||
super();
|
||||
this.add(new MyJLabel(str, color));
|
||||
this.node = node;
|
||||
}
|
||||
|
||||
public void add(String string) {
|
||||
this.add(new MyJLabel(string));
|
||||
}
|
||||
|
||||
public void add(String string, Color color) {
|
||||
this.add(new MyJLabel(string, color));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user