org.universAAL.ui.ui.handler.web.html.model
Class LabelModel

Package class diagram package LabelModel
java.lang.Object
  extended by org.universAAL.ui.ui.handler.web.html.model.Model
      extended by org.universAAL.ui.ui.handler.web.html.model.LabelModel

public class LabelModel
extends Model

Author:
amedrano

Field Summary
 
Fields inherited from class org.universAAL.ui.ui.handler.web.html.model.Model
fe, recModel
 
Constructor Summary
LabelModel(Label fe, HTMLUserGenerator render)
           
 
Method Summary
 StringBuffer generateHTML()
          
 StringBuffer getImgText()
           
 StringBuffer getLabelFor(String id)
          Generate a Label tag, for the given id.
 
Methods inherited from class org.universAAL.ui.ui.handler.web.html.model.Model
addSRCProp, getCachedURL, getFormElement, getRenderer, singleTag, tag, tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelModel

public LabelModel(Label fe,
                  HTMLUserGenerator render)
Parameters:
fe -
render -
Method Detail

generateHTML

public StringBuffer generateHTML()

Specified by:
generateHTML in class Model
Returns:
a StringBuffer with all the HTML code for the Element.

getImgText

public StringBuffer getImgText()
Returns:

getLabelFor

public StringBuffer getLabelFor(String id)
Generate a Label tag, for the given id.

Parameters:
id - the id in the "for" property.
Returns:


Copyright © 2014 universAAL Consortium. All Rights Reserved.