org.anadix.html
Class FontTag

java.lang.Object
  extended by org.anadix.html.HtmlElement
      extended by org.anadix.html.CoreAttributes
          extended by org.anadix.html.FontTag
All Implemented Interfaces:
Comparable<HtmlElement>, Element

public class FontTag
extends CoreAttributes

Defines font, color, and size for text

Version:
$Id: $
Author:
tomason

Method Summary
 String getColor()
          Specifies the color of text
 String getDir()
          Specifies the text direction for the content in an element
 String getFace()
          Specifies the font of text
 String getLang()
          Specifies a language code for the content in an element
 String getSize()
          Specifies the size of text
 
Methods inherited from class org.anadix.html.CoreAttributes
getClassAttribute, getIdAttribute, getStyle, getTitle
 
Methods inherited from class org.anadix.html.HtmlElement
compareTo, equals, getAttribute, getAttributes, getId, getName, getParent, getPosition, getSource, getTextContent, hashCode, setPosition, setSource, setTextContent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getLang

public String getLang()
Specifies a language code for the content in an element

Returns:
language code

getDir

public String getDir()
Specifies the text direction for the content in an element

Returns:
text direction

getSize

public String getSize()
Specifies the size of text

Returns:
size of text

getColor

public String getColor()
Specifies the color of text

Returns:
color of text

getFace

public String getFace()
Specifies the font of text

Returns:
font of text


Copyright © 2011. All Rights Reserved.