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 boolean
disable
-
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 int
getHeight(int base)
CustomTag
getInstance(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)
java.lang.String
getLang()
java.lang.String
getTitle(com.pd4ml.html.doc.render.to.Context context)
int
getWidth(int base)
boolean
isEmptyTag()
boolean
isTaggedOutput(com.pd4ml.html.doc.render.to.Context context)
void
paint(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:
getInstance
in classCustomTag
- Throws:
java.lang.UnsatisfiedLinkError
-
isEmptyTag
public boolean isEmptyTag()
- Overrides:
isEmptyTag
in 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()
-
-