de.esw.eengine.renderable.wtk
Class Label
java.lang.Object
de.esw.eengine.renderable.AbstractRenderable
de.esw.eengine.renderable.wtk.Component
de.esw.eengine.renderable.wtk.Label
- All Implemented Interfaces:
- IActivatable, IRenderable
public class Label
- extends Component
- Since:
- 1.0
- Version:
- $Id: Label.java 209 2005-07-23 00:39:50Z markusw $
- Author:
- markusw
|
Constructor Summary |
Label(java.lang.String text,
int x,
int y,
int width,
int height)
|
Label(java.lang.String text,
java.awt.Rectangle extents)
|
| Methods inherited from class de.esw.eengine.renderable.wtk.Component |
contains, getBorder, getBounds, getClientRect, getComponentAt, getLocation, isActive, move, render, setActive, setBorder, setImage, setLocation, toggle |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Label
public Label(java.lang.String text,
int x,
int y,
int width,
int height)
- Parameters:
text - Text for this Labelx - X location of this Componenty - Y location of this Componentwidth - Width of this Componentheight - Height of this Component
Label
public Label(java.lang.String text,
java.awt.Rectangle extents)
- Parameters:
text - Text for this Labelextents - Extents of this Component
getColor
public final java.awt.Color getColor()
- Returns:
- Returns the color.
setColor
public final void setColor(java.awt.Color color)
- Parameters:
color - The color to set.
getFont
public final Font getFont()
- Returns:
- Returns the font.
setFont
public final void setFont(Font font)
- Parameters:
font - The font to set.
getText
public final java.lang.String getText()
- Returns:
- Returns the text.
setText
public final void setText(java.lang.String text)
- Parameters:
text - The text to set.