Logo Search packages:      
Sourcecode: jeuclid version File versions

net::sourceforge::jeuclid::elements::presentation::token::Mglyph Class Reference

Inheritance diagram for net::sourceforge::jeuclid::elements::presentation::token::Mglyph:

net::sourceforge::jeuclid::elements::presentation::token::AbstractTokenWithTextLayout org::w3c::dom::mathml::MathMLGlyphElement net::sourceforge::jeuclid::elements::AbstractJEuclidElement org::w3c::dom::mathml::MathMLPresentationToken org::w3c::dom::mathml::MathMLPresentationElement net::sourceforge::jeuclid::elements::JEuclidElement org::w3c::dom::mathml::MathMLPresentationElement org::w3c::dom::mathml::MathMLElement org::w3c::dom::mathml::MathMLElement net::sourceforge::jeuclid::elements::JEuclidNode net::sourceforge::jeuclid::layout::LayoutableNode org::w3c::dom::mathml::MathMLElement net::sourceforge::jeuclid::elements::JEuclidNode

List of all members.


Detailed Description

Implements the mglyph element.

Todo:
FontFamliy gives a "deprecated attribute" warning due to the current design.
Todo:
other attributes (such as italic, bold, etc.) may be inherited from the context.
Version:
Revision
718

Definition at line 42 of file Mglyph.java.


Public Member Functions

final void addMathElement (final MathMLElement child)
boolean dispatchEvent (final Event evt)
String getAlt ()
LayoutContext getChildLayoutContext (final int childNum, final LayoutContext context)
List< LayoutableNodegetChildrenToDraw ()
List< LayoutableNodegetChildrenToLayout ()
String getClassName ()
MathMLNodeList getContents ()
MathMLNodeList getContents ()
Font getFont (final LayoutContext context)
String getFontfamily ()
FontMetrics getFontMetrics (final Graphics2D g, final LayoutContext context)
String getHref ()
String getId ()
int getIndex ()
int getIndexOfMathElement (final JEuclidElement element)
String getMathbackground ()
String getMathbackground ()
String getMathcolor ()
String getMathcolor ()
int getMathElementCount ()
String getMathElementStyle ()
String getMathsize ()
String getMathsize ()
String getMathvariant ()
MathVariant getMathvariantAsVariant ()
float getMiddleShift (final Graphics2D g, final LayoutContext context)
MathMLMathElement getOwnerMathElement ()
JEuclidElement getParent ()
String getText ()
String getXref ()
boolean hasChildPostscripts (final JEuclidElement child, LayoutContext context)
boolean hasChildPostscripts (final JEuclidElement child, final LayoutContext context)
boolean hasChildPrescripts (final JEuclidElement child)
void layoutStage1 (LayoutView view, LayoutInfo info, LayoutStage childMinStage, LayoutContext context)
void layoutStage1 (final LayoutView view, final LayoutInfo info, final LayoutStage childMinStage, final LayoutContext context)
void layoutStage2 (LayoutView view, LayoutInfo info, LayoutContext context)
void layoutStage2 (final LayoutView view, final LayoutInfo info, final LayoutContext context)
void layoutStageInvariant (final LayoutView view, final LayoutInfo info, final LayoutStage stage, final LayoutContext context)
 Mglyph ()
void setAlt (String alt)
void setAlt (final String alt)
void setClassName (String className)
void setClassName (final String className)
void setFakeParent (final JEuclidElement parent)
void setFontfamily (String fontfamily)
void setFontfamily (final String fontfamily)
void setHref (String href)
void setHref (final String href)
void setId (String id)
void setId (final String id)
void setIndex (int index)
void setIndex (final int index)
void setMathbackground (String mathbackground)
void setMathbackground (final String mathbackground)
void setMathcolor (String mathcolor)
void setMathcolor (final String mathcolor)
void setMathElementStyle (String mathElementStyle)
void setMathElementStyle (final String mathElementStyle)
void setMathsize (String mathsize)
void setMathsize (final String mathsize)
void setMathvariant (String mathvariant)
void setMathvariant (final String mathvariant)
void setXref (String xref)
void setXref (final String xref)

Static Public Attributes

static final String ATTR_CLASS = "class"
static final String ATTR_DEPRECATED_BACKGROUND = "background"
static final String ATTR_DEPRECATED_COLOR = "color"
static final String ATTR_DEPRECATED_FONTFAMILY = "fontfamily"
static final String ATTR_DEPRECATED_FONTSIZE = "fontsize"
static final String ATTR_DEPRECATED_FONTSTYLE = "fontstyle"
static final String ATTR_DEPRECATED_FONTWEIGHT = "fontweight"
static final String ATTR_HREF = "xlink:href"
static final String ATTR_ID = "id"
static final String ATTR_MATHBACKGROUND = "mathbackground"
static final String ATTR_MATHCOLOR = "mathcolor"
static final String ATTR_MATHSIZE = "mathsize"
static final String ATTR_MATHVARIANT = "mathvariant"
static final String ATTR_STYLE = "style"
static final String ATTR_XREF = "xref"
static final String ELEMENT = "mglyph"
static final int TRIVIAL_SPACE_MAX = 0x20
static final String URI = "http://www.w3.org/1998/Math/MathML"

Protected Member Functions

LayoutContext applyLocalAttributesToContext (final LayoutContext context)
void changeHook ()
String getMathAttribute (final String attrName, final boolean useDefault)
String getMathAttribute (final String attrName)
JEuclidElement getMathElement (final int index)
boolean isEmpty ()
Node newNode ()
void setDefaultMathAttribute (final String key, final String value)
void setMathElement (final int index, final MathMLElement newElement)
abstract AttributedString textContentAsAttributedString (LayoutContext context)
AttributedString textContentAsAttributedString (final LayoutContext now)

Package Functions

String getMathvariant ()

Static Package Functions

 [static initializer]

Static Private Attributes

static final String ATTR_ALT = "alt"
static final String ATTR_FONTFAMILY = "fontfamily"
static final String ATTR_INDEX = "index"
static final long serialVersionUID = 1L

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index