Maven module :un.engine : engine-ui :
Class : un.engine.ui.widget.AbstractLabeled
Extends/Implements : un.engine.ui.widget.WContainer
Subclasses : -

Internal class, parent of Label and button.
author  Johann Sorel


Variables : GRAPHIC_TOP, GRAPHIC_RIGHT, GRAPHIC_BOTTOM, GRAPHIC_LEFT, HALIGN_LEFT, HALIGN_CENTER, HALIGN_RIGHT, VALIGN_TOP, VALIGN_CENTER, VALIGN_BOTTOM, PROPERTY_TEXT, PROPERTY_GRAPHIC, PROPERTY_IMAGE_PLACEMENT, PROPERTY_HALIGN, PROPERTY_VALIGN
Functions : AbstractLabeled, AbstractLabeled, AbstractLabeled, getText, setText, varText, getGraphic, setGraphic, varGraphic, getGraphicPlacement, setGraphicPlacement, getHorizontalAlignment, setHorizontalAlignment, getVerticalAlignment, setVerticalAlignment, receiveEventChildren


public int GRAPHIC_TOP

public int GRAPHIC_RIGHT

public int GRAPHIC_BOTTOM

public int GRAPHIC_LEFT

public int HALIGN_LEFT

public int HALIGN_CENTER

public int HALIGN_RIGHT

public int VALIGN_TOP

public int VALIGN_CENTER

public int VALIGN_BOTTOM


Property for the widget text.
public Chars PROPERTY_TEXT


Property for the widget image.
public Chars PROPERTY_GRAPHIC


Property for the image placement.
public Chars PROPERTY_IMAGE_PLACEMENT


Property for the horizontal alignement.
public Chars PROPERTY_HALIGN


Property for the vertical alignment.
public Chars PROPERTY_VALIGN


public void AbstractLabeled ()

public void AbstractLabeled (CharArray text)

public void AbstractLabeled (CharArray text, Widget graphic)


Get label text.
return  CharArray, can be null
public CharArray getText ()


Set label text.
param  text can be null
public void setText (CharArray text)


Get text variable.
return  Variable.
public Variable varText ()


Get label graphic.
return  Widget, can be null
public Widget getGraphic ()


Set label graphic.
param  graphic can be null
public void setGraphic (Widget graphic)


Get image variable.
return  Variable.
public Variable varGraphic ()


Get graphic placement relative to text
return  int
public int getGraphicPlacement ()


Set graphic placement relative to text
param  place
public void setGraphicPlacement (int place)


Get text and graphic horizontal alignment.
return  int
public int getHorizontalAlignment ()


Set text and graphic horizontal alignment.
param  align
public void setHorizontalAlignment (int align)


Get text and graphic vertical alignment.
return  int
public int getVerticalAlignment ()


Set text and graphic vertical alignment.
param  align
public void setVerticalAlignment (int align)

protected void receiveEventChildren (Event event)