Logo Search packages:      
Sourcecode: jeuclid version File versions

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

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

net::sourceforge::jeuclid::elements::AbstractJEuclidElement org::w3c::dom::mathml::MathMLOperatorElement net::sourceforge::jeuclid::elements::JEuclidElement org::w3c::dom::mathml::MathMLPresentationToken org::w3c::dom::mathml::MathMLElement net::sourceforge::jeuclid::elements::JEuclidNode net::sourceforge::jeuclid::layout::LayoutableNode org::w3c::dom::mathml::MathMLPresentationElement net::sourceforge::jeuclid::elements::JEuclidNode org::w3c::dom::mathml::MathMLElement

List of all members.

Detailed Description

This class presents a math operator, like "(" or "*".


Definition at line 63 of file Mo.java.

Public Member Functions

final void addMathElement (final MathMLElement child)
void changeHook ()
boolean dispatchEvent (final Event evt)
String getAccent ()
LayoutContext getChildLayoutContext (final int childNum, final LayoutContext context)
List< LayoutableNodegetChildrenToDraw ()
List< LayoutableNodegetChildrenToLayout ()
String getClassName ()
MathMLNodeList getContents ()
MathMLNodeList getContents ()
String getFence ()
Font getFont (final LayoutContext context)
FontMetrics getFontMetrics (final Graphics2D g, final LayoutContext context)
String getForm ()
String getHref ()
String getId ()
int getIndexOfMathElement (final JEuclidElement element)
String getLargeop ()
float getLargeOpCorrector (final LayoutContext now)
String getLspace ()
String getMathbackground ()
String getMathbackground ()
String getMathcolor ()
String getMathcolor ()
int getMathElementCount ()
String getMathElementStyle ()
String getMathsize ()
String getMathsize ()
String getMathvariant ()
MathVariant getMathvariantAsVariant ()
String getMaxsize ()
float getMiddleShift (final Graphics2D g, final LayoutContext context)
String getMinsize ()
String getMovablelimits ()
MathMLMathElement getOwnerMathElement ()
JEuclidElement getParent ()
String getRspace ()
String getSeparator ()
String getStretchy ()
String getSymmetric ()
String getText ()
String getXref ()
void handleEvent (final Event evt)
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)
 Mo ()
void setAccent (String accent)
void setAccent (final String accent)
void setClassName (String className)
void setClassName (final String className)
void setFakeParent (final JEuclidElement parent)
void setFence (String fence)
void setFence (final String fence)
void setForm (String form)
void setForm (final String form)
void setHref (String href)
void setHref (final String href)
void setId (String id)
void setId (final String id)
void setLargeop (String largeop)
void setLargeop (final String largeop)
void setLspace (String lspace)
void setLspace (final String lspace)
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 setMaxsize (String maxsize)
void setMaxsize (final String maxsize)
void setMinsize (String minsize)
void setMinsize (final String minsize)
void setMovablelimits (String movablelimits)
void setMovablelimits (final String movablelimits)
void setRspace (String rspace)
void setRspace (final String rspace)
void setSeparator (String separator)
void setSeparator (final String separator)
void setStretchy (String stretchy)
void setStretchy (final String stretchy)
void setSymmetric (String symmetric)
void setSymmetric (final String symmetric)
void setXref (String xref)
void setXref (final String xref)

Static Public Attributes

static final String ATTR_ACCENT = "accent"
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_FENCE = "fence"
static final String ATTR_FORM = "form"
static final String ATTR_HREF = "xlink:href"
static final String ATTR_ID = "id"
static final String ATTR_LARGEOP = "largeop"
static final String ATTR_LSPACE = "lspace"
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_MAXSIZE = "maxsize"
static final String ATTR_MINSIZE = "minsize"
static final String ATTR_MOVABLELIMITS = "movablelimits"
static final String ATTR_MOVEABLEWRONG = "moveablelimits"
static final String ATTR_RSPACE = "rspace"
static final String ATTR_SEPARATOR = "separator"
static final String ATTR_STRETCHY = "stretchy"
static final String ATTR_STYLE = "style"
static final String ATTR_SYMMETRIC = "symmetric"
static final String ATTR_XREF = "xref"
static final String ELEMENT = "mo"
static final String HOR_DELIMITERS
static final float LARGEOP_CORRECTOR_BLOCK = (float) 1.5
static final float LARGEOP_CORRECTOR_INLINE = (float) 1.2
static final String MOEVENT = "MOEvent"
static final int TRIVIAL_SPACE_MAX = 0x20
static final String URI = "http://www.w3.org/1998/Math/MathML"
static final String VER_DELIMITERS

Protected Member Functions

LayoutContext applyLocalAttributesToContext (final LayoutContext context)
String getMathAttribute (final String attrName, final boolean useDefault)
String getMathAttribute (final String attrName)
JEuclidElement getMathElement (final int index)
void layoutStageInvariant (final LayoutView view, final LayoutInfo info, final LayoutStage stage, final LayoutContext context)
Node newNode ()
void setDefaultMathAttribute (final String key, final String value)
void setMathElement (final int index, final MathMLElement newElement)

Package Functions

String getMathvariant ()

Static Package Functions

 [static initializer]

Private Member Functions

float calcXScaleFactor (final LayoutInfo info, final LayoutInfo parentInfo, final TextLayoutInfo textLayoutInfo)
float[] calcYScaleFactorAndBaselineShift (final LayoutInfo info, final LayoutInfo parentInfo, final TextLayoutInfo textLayoutInfo, final LayoutContext now)
void detectFormParameter ()
float getLspaceAsFloat (final LayoutContext now)
float getRspaceAsFloat (final LayoutContext now)
boolean isFence ()
boolean isHorizontalDelimeter ()
boolean isVerticalDelimeter ()
void loadAttributeFromDictionary (final String attrname, final String defvalue)
TextLayout produceUnstrechtedLayout (final Graphics2D g, final LayoutContext now)

Private Attributes

boolean inChangeHook
final OperatorDictionary opDict

Static Private Attributes

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