fi.hut.tml.xsmiles.csslayout
Class Adapter
java.lang.Object
fi.hut.tml.xsmiles.csslayout.Adapter
- public class Adapter
- extends java.lang.Object
- Author:
- Alessandro
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
renderer
protected CSSRenderer renderer
widthCont
protected int widthCont
heightCont
protected int heightCont
Adapter
public Adapter(CSSRenderer renderer)
setFontZoom
public void setFontZoom(double zoom)
setWSize
public void setWSize()
getStringValue
public java.lang.String getStringValue(View view,
org.w3c.dom.css.CSSStyleDeclaration style,
java.lang.String what)
getMeasure
public int getMeasure(org.w3c.dom.css.CSSValue v)
getMeasure
public int getMeasure(View view,
org.w3c.dom.css.CSSStyleDeclaration style,
java.lang.String what)
getImageSize
public int getImageSize(int orig)
getScaledSize
public int getScaledSize(View view,
int orig)
isPercentageValue
public boolean isPercentageValue(View view,
org.w3c.dom.css.CSSStyleDeclaration style,
java.lang.String property)
getCSSFontObj
public java.awt.Font getCSSFontObj(View view,
org.w3c.dom.css.CSSStyleDeclaration style)
parseColor
public java.awt.Color parseColor(View view,
org.w3c.dom.css.CSSValue color)
X-Smiles 1.2