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 int
getHeight(int base)
java.lang.String
getInnerCode()
CustomTag
getInstance(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)
int
getWidth(int base)
boolean
isEmptyTag()
void
paint(float x, float y, float width, float height, float containerWidth, float containerHeight, java.awt.Graphics2D g)
void
paint(float x, float y, java.awt.Graphics2D g)
void
setElement(com.pd4ml.html.doc.elements.Element element)
void
setHeight(int height)
void
setInnerCode(java.lang.String code)
void
setWidth(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()
-
-