TLabel extends [TComponent] is a component that stores a text.
Author: [ShookTea]
Since: [stGUIL 1.1]
Version: 1.0
Primary constructor:
public TLabel(String text, Font font, Color color, int x, int y) - creating a component with text text, font font and color color. Position of component is point [x;y].
Overrided:
public Image getImage() - return an image of component
public void repaint() - if text, font or color of component was changed, this method recreate an component.
New getters:
public String getText() - return text of component.
public Font getFont() - return font of text.
public Color getColor() -return color of text.
New setters:
public void setText(String text) - set text of component.
public void setFont(Font font) - set font of text.
public void setColor(Color color) - set color of text.