/*
* This file is part of Spoutcraft (http://wiki.getspout.org/).
*
* Spoutcraft is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Spoutcraft is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.getspout.spout.gui;
public interface Label extends Widget{
/**
* Gets the text of the label
* @return text
*/
public String getText();
/**
* Sets the text of the label
* @param text to set
* @return label
*/
public Label setText(String text);
/**
* Gets the color for the text
* @return color
*/
public Color getTextColor();
/**
* Sets the color for the text
* @param color to set
* @return label
*/
public Label setTextColor(Color color);
/**
* Determines if text expands to fill width and height
* @param auto
* @return label
*/
public Label setAuto(boolean auto);
/**
* Gets if the text will expand to fill width and height
* @param auto
* @return label
*/
public boolean getAuto();
public WidgetAnchor getAlign();
public Widget setAlign(WidgetAnchor pos);
}