Logo Search packages:      
Sourcecode: jeuclid version File versions

net::sourceforge::jeuclid::elements::presentation::script::AbstractUnderOver Class Reference

Inheritance diagram for net::sourceforge::jeuclid::elements::presentation::script::AbstractUnderOver:

net::sourceforge::jeuclid::elements::AbstractJEuclidElement org::w3c::dom::mathml::MathMLUnderOverElement net::sourceforge::jeuclid::elements::JEuclidElement org::w3c::dom::mathml::MathMLPresentationElement 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 net::sourceforge::jeuclid::elements::presentation::script::Mover net::sourceforge::jeuclid::elements::presentation::script::Munder net::sourceforge::jeuclid::elements::presentation::script::Munderover

List of all members.


Detailed Description

Implementation and helper methods for munder, mover, and munderover.

Todo:
some operators should "default" to being an accent, but currently they don't
Version:
Revision
795

Definition at line 48 of file AbstractUnderOver.java.


Public Member Functions

 AbstractUnderOver ()
final void addMathElement (final MathMLElement child)
boolean dispatchEvent (final Event evt)
String getAccent ()
String getAccentunder ()
JEuclidElement getBase ()
LayoutContext getChildLayoutContext (final int childNum, final LayoutContext context)
List< LayoutableNodegetChildrenToDraw ()
List< LayoutableNodegetChildrenToLayout ()
String getClassName ()
MathMLNodeList getContents ()
Font getFont (final LayoutContext context)
FontMetrics getFontMetrics (final Graphics2D g, final LayoutContext context)
String getHref ()
String getId ()
int getIndexOfMathElement (final JEuclidElement element)
String getMathbackground ()
String getMathcolor ()
int getMathElementCount ()
String getMathElementStyle ()
String getMathsize ()
String getMathvariant ()
MathVariant getMathvariantAsVariant ()
float getMiddleShift (final Graphics2D g, final LayoutContext context)
abstract JEuclidElement getOverscript ()
MathMLMathElement getOwnerMathElement ()
JEuclidElement getParent ()
String getText ()
abstract JEuclidElement getUnderscript ()
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 setAccent (String accent)
void setAccent (final String accent)
void setAccentunder (String accentunder)
void setAccentunder (final String accentunder)
void setBase (MathMLElement base)
void setBase (final MathMLElement base)
void setClassName (String className)
void setClassName (final String className)
void setFakeParent (final JEuclidElement parent)
void setHref (String href)
void setHref (final String href)
void setId (String id)
void setId (final String id)
void setMathbackground (final String mathbackground)
void setMathcolor (final String mathcolor)
void setMathElementStyle (String mathElementStyle)
void setMathElementStyle (final String mathElementStyle)
void setMathsize (final String mathsize)
void setMathvariant (final String mathvariant)
void setOverscript (MathMLElement overscript)
void setUnderscript (MathMLElement underscript)
void setXref (String xref)
void setXref (final String xref)

Static Public Attributes

static final String ATTR_ACCENT = "accent"
static final String ATTR_ACCENTUNDER = "accentunder"
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 float NON_ACCENT_MULTIPLIER = 2.5f
static final int TRIVIAL_SPACE_MAX = 0x20
static final String UNDER_OVER_SPACE = "0.1ex"
static final String URI = "http://www.w3.org/1998/Math/MathML"

Protected Member Functions

LayoutContext applyLocalAttributesToContext (final LayoutContext context)
void changeHook ()
boolean getAccentAsBoolean ()
boolean getAccentunderAsBoolean ()
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)
void setDefaultMathAttribute (final String key, final String value)
void setMathElement (final int index, final MathMLElement newElement)

Static Package Functions

 [static initializer]

Private Member Functions

void layoutUnderOver (final LayoutView view, final LayoutInfo info, final LayoutStage stage, final LayoutContext now)
boolean limitsAreMoved (final LayoutContext now)
void positionOver (final LayoutStage stage, final LayoutInfo baseInfo, final LayoutInfo overInfo, final float extraShift, final float middle)
void positionUnder (final LayoutStage stage, final LayoutInfo baseInfo, final LayoutInfo underInfo, final float extraShift, final float middle)

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

Generated by  Doxygen 1.6.0   Back to index