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(java.lang.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(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)java.lang.StringgetLang()java.lang.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, java.awt.Graphics2D g)-
Methods inherited from class com.pd4ml.CustomTag
getInnerCode, paint, setElement, setHeight, setInnerCode, setWidth
-
-
-
-
Constructor Detail
-
MathMLCustomTag
public MathMLCustomTag() throws java.lang.UnsatisfiedLinkError- Throws:
java.lang.UnsatisfiedLinkError
-
MathMLCustomTag
public MathMLCustomTag(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) throws java.lang.UnsatisfiedLinkError
- Overrides:
getInstancein classCustomTag- Throws:
java.lang.UnsatisfiedLinkError
-
isEmptyTag
public boolean isEmptyTag()
- Overrides:
isEmptyTagin classCustomTag
-
paint
public void paint(float x, float y, float width, float height, float containerWidth, float containerHeight, java.awt.Graphics2D g)
-
isTaggedOutput
public boolean isTaggedOutput(com.pd4ml.html.doc.render.to.Context context)
-
getTitle
public java.lang.String getTitle(com.pd4ml.html.doc.render.to.Context context)
-
getLang
public java.lang.String getLang()
-
-