Package com.pd4ml.plugins
Class MathMLCustomTag
- java.lang.Object
-
- com.pd4ml.util.Base
-
- com.pd4ml.CustomTag
-
- com.pd4ml.plugins.MathMLCustomTag
-
public class MathMLCustomTag extends CustomTag
-
-
Field Summary
Fields Modifier and Type Field Description static booleandisable
-
Constructor Summary
Constructors Constructor Description MathMLCustomTag()MathMLCustomTag(String code, com.pd4ml.fonts.FontCache fontCache, CustomTag prime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight(int base)CustomTaggetInstance(String code, com.pd4ml.fonts.FontCache fontCache)StringgetLang()StringgetTitle(com.pd4ml.html.doc.render.to.Context context)intgetWidth(int base)booleanisEmptyTag()booleanisTaggedOutput(com.pd4ml.html.doc.render.to.Context context)voidpaint(float x, float y, float width, float height, float containerWidth, float containerHeight, Graphics2D g)-
Methods inherited from class com.pd4ml.CustomTag
getInnerCode, paint, setElement, setHeight, setInnerCode, setWidth
-
-
-
-
Constructor Detail
-
MathMLCustomTag
public MathMLCustomTag() throws UnsatisfiedLinkError- Throws:
UnsatisfiedLinkError
-
-
Method Detail
-
getInstance
public CustomTag getInstance(String code, com.pd4ml.fonts.FontCache fontCache) throws UnsatisfiedLinkError
- Overrides:
getInstancein classCustomTag- Throws:
UnsatisfiedLinkError
-
isEmptyTag
public boolean isEmptyTag()
- Overrides:
isEmptyTagin classCustomTag
-
paint
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, Graphics2D g)
-
isTaggedOutput
public boolean isTaggedOutput(com.pd4ml.html.doc.render.to.Context context)
-
getTitle
public String getTitle(com.pd4ml.html.doc.render.to.Context context)
-
getLang
public String getLang()
-
-