Package com.pd4ml
Class CustomTag
- java.lang.Object
-
- com.pd4ml.util.Base
-
- com.pd4ml.CustomTag
-
- Direct Known Subclasses:
BatikSvgCustomTag,MathMLCustomTag,ORCodeCustomTag,PD4MLSvgCustomTag
public class CustomTag extends com.pd4ml.util.Base
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight(int base)java.lang.StringgetInnerCode()CustomTaggetInstance(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)intgetWidth(int base)booleanisEmptyTag()voidpaint(float x, float y, float width, float height, float containerWidth, float containerHeight, java.awt.Graphics2D g)voidpaint(float x, float y, java.awt.Graphics2D g)voidsetElement(com.pd4ml.html.doc.elements.Element element)voidsetHeight(int height)voidsetInnerCode(java.lang.String code)voidsetWidth(int width)
-
-
-
Constructor Detail
-
CustomTag
public CustomTag()
-
CustomTag
public CustomTag(java.lang.String code, com.pd4ml.fonts.FontCache fontCache, CustomTag prime)
-
-
Method Detail
-
getInstance
public CustomTag getInstance(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)
-
setElement
public void setElement(com.pd4ml.html.doc.elements.Element element)
-
getInnerCode
public java.lang.String getInnerCode()
-
setInnerCode
public void setInnerCode(java.lang.String code)
-
getWidth
public int getWidth(int base)
-
getHeight
public int getHeight(int base)
-
setWidth
public void setWidth(int width)
-
setHeight
public void setHeight(int height)
-
paint
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, java.awt.Graphics2D g)
-
paint
public void paint(float x, float y, java.awt.Graphics2D g)
-
isEmptyTag
public boolean isEmptyTag()
-
-