/**
* Label text.
*/
- private String text = "";
+ private String label = "";
/**
* Get label text.
*
* @return label text
*/
- public String getText() {
- return text;
+ public String getLabel() {
+ return label;
}
/**
* Set label text.
*
- * @param text new label text
+ * @param label new label text
*/
- public void setText(final String text) {
- this.text = text;
+ public void setLabel(final String label) {
+ this.label = label;
}
/**
// Set parent and window
super(parent, false, x, y, text.length(), 1);
- this.text = text;
+ this.label = text;
this.colorKey = colorKey;
}
CellAttributes background = getWindow().getBackground();
color.setBackColor(background.getBackColor());
- getScreen().putStrXY(0, 0, text, color);
+ getScreen().putStringXY(0, 0, label, color);
}
}