<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to TLabel</title><link>https://sourceforge.net/p/stguil/wiki/TLabel/</link><description>Recent changes to TLabel</description><atom:link href="https://sourceforge.net/p/stguil/wiki/TLabel/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 16 Jul 2013 13:44:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/stguil/wiki/TLabel/feed" rel="self" type="application/rss+xml"/><item><title>TLabel modified by ShookTea</title><link>https://sourceforge.net/p/stguil/wiki/TLabel/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;b&gt;TLabel&lt;/b&gt; extends &lt;a class="alink" href="/p/stguil/wiki/TComponent/"&gt;[TComponent]&lt;/a&gt; is a component that stores a text.&lt;br /&gt;
Author: &lt;span&gt;[ShookTea]&lt;/span&gt;&lt;br /&gt;
Since: &lt;a class="alink" href="/p/stguil/wiki/stGUIL%201.1/"&gt;[stGUIL 1.1]&lt;/a&gt;&lt;br /&gt;
Version: 1.0&lt;/p&gt;
&lt;p&gt;Primary constructor:&lt;br /&gt;
&lt;code&gt;public TLabel(String text, Font font, Color color, int x, int y)&lt;/code&gt; - creating a component with text &lt;code&gt;text&lt;/code&gt;, font &lt;code&gt;font&lt;/code&gt; and color &lt;code&gt;color&lt;/code&gt;. Position of component is point &lt;code&gt;&lt;span&gt;[x;y]&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Overrided:&lt;br /&gt;
&lt;code&gt;public Image getImage()&lt;/code&gt; - return an image of component&lt;br /&gt;
&lt;code&gt;public void repaint()&lt;/code&gt; - if text, font or color of component was changed, this method recreate an component.&lt;/p&gt;
&lt;p&gt;New getters:&lt;br /&gt;
&lt;code&gt;public String getText()&lt;/code&gt; - return text of component.&lt;br /&gt;
&lt;code&gt;public Font getFont()&lt;/code&gt; - return font of text.&lt;br /&gt;
&lt;code&gt;public Color getColor()&lt;/code&gt; -return color of text.&lt;/p&gt;
&lt;p&gt;New setters:&lt;br /&gt;
&lt;code&gt;public void setText(String text)&lt;/code&gt; - set text of component.&lt;br /&gt;
&lt;code&gt;public void setFont(Font font)&lt;/code&gt; - set font of text.&lt;br /&gt;
&lt;code&gt;public void setColor(Color color)&lt;/code&gt; - set color of text.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ShookTea</dc:creator><pubDate>Tue, 16 Jul 2013 13:44:54 -0000</pubDate><guid>https://sourceforge.netfd64205d51194c6a417263f9384c8dd4a31ec32c</guid></item></channel></rss>