259260261262263264265266267
// ----------------------------------------- Accessor ----------------------------- // ------------------------------------------ constructor ------------------------- public Label() { super(); this.graph = new GraphicElement(); addMouseListener(this); addMouseMotionListener(this); }
266267268269270271272273274
addMouseMotionListener(this); } public Label(Icon image, int horizontalAlignment) { super(image, horizontalAlignment); this.graph = new GraphicElement(); addMouseListener(this); addMouseMotionListener(this); }
273274275276277278279280281
addMouseMotionListener(this); } public Label(Icon image) { super(image); this.graph = new GraphicElement(); addMouseListener(this); addMouseMotionListener(this); }
280281282283284285286287288
addMouseMotionListener(this); } public Label(String text, Icon icon, int horizontalAlignment) { super(text, icon, horizontalAlignment); this.graph = new GraphicElement(); addMouseListener(this); addMouseMotionListener(this); }
287288289290291292293294295
addMouseMotionListener(this); } public Label(String text, int horizontalAlignment) { super(text, horizontalAlignment); this.graph = new GraphicElement(); addMouseListener(this); addMouseMotionListener(this); }
294295296297298299300301302
addMouseMotionListener(this); } public Label(String text) { super(text); this.graph = new GraphicElement(); addMouseListener(this); addMouseMotionListener(this); }