Logo Search packages:      
Sourcecode: jeuclid version File versions

net::sourceforge::jeuclid::elements::content::semantic::Semantics Class Reference

Inheritance diagram for net::sourceforge::jeuclid::elements::content::semantic::Semantics:

net::sourceforge::jeuclid::elements::presentation::AbstractContainer org::w3c::dom::mathml::MathMLSemanticsElement net::sourceforge::jeuclid::elements::AbstractJEuclidElement org::w3c::dom::mathml::MathMLPresentationContainer org::w3c::dom::mathml::MathMLElement net::sourceforge::jeuclid::elements::JEuclidElement org::w3c::dom::mathml::MathMLPresentationElement org::w3c::dom::mathml::MathMLContainer 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

This class represents a semantics element.


Definition at line 32 of file Semantics.java.

Public Member Functions

final void addMathElement (final MathMLElement child)
void deleteAnnotation (int index)
void deleteAnnotation (final int index)
void deleteArgument (int index) throws DOMException
void deleteArgument (final int index)
void deleteDeclaration (int index) throws DOMException
void deleteDeclaration (final int index)
boolean dispatchEvent (final Event evt)
MathMLElement getAnnotation (int index)
MathMLElement getAnnotation (final int index)
MathMLElement getArgument (int index) throws DOMException
MathMLElement getArgument (final int index)
MathMLNodeList getArguments ()
MathMLElement getBody ()
LayoutContext getChildLayoutContext (final int childNum, final LayoutContext context)
List< LayoutableNodegetChildrenToDraw ()
List< LayoutableNodegetChildrenToLayout ()
String getClassName ()
MathMLNodeList getContents ()
MathMLDeclareElement getDeclaration (int index) throws DOMException
MathMLDeclareElement getDeclaration (final int index)
MathMLNodeList getDeclarations ()
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)
int getNAnnotations ()
int getNArguments ()
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)
MathMLElement insertAnnotation (MathMLElement newAnnotation, int index) throws DOMException
MathMLElement insertAnnotation (final MathMLElement newAnnotation, final int index)
MathMLElement insertArgument (MathMLElement newArgument, int index) throws DOMException
MathMLElement insertArgument (final MathMLElement newArgument, final int index)
MathMLDeclareElement insertDeclaration (MathMLDeclareElement newDeclaration, int index) throws DOMException
MathMLDeclareElement insertDeclaration (final MathMLDeclareElement newDeclaration, final int index)
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)
MathMLElement removeAnnotation (int index)
MathMLElement removeAnnotation (final int index)
MathMLElement removeArgument (int index) throws DOMException
MathMLElement removeArgument (final int index)
MathMLDeclareElement removeDeclaration (int index) throws DOMException
MathMLDeclareElement removeDeclaration (final int index)
 Semantics ()
MathMLElement setAnnotation (MathMLElement newAnnotation, int index) throws DOMException
MathMLElement setAnnotation (final MathMLElement newAnnotation, final int index)
MathMLElement setArgument (MathMLElement newArgument, int index) throws DOMException
MathMLElement setArgument (final MathMLElement newArgument, final int index)
void setBody (MathMLElement body)
void setBody (final MathMLElement body)
void setClassName (String className)
void setClassName (final String className)
MathMLDeclareElement setDeclaration (MathMLDeclareElement newDeclaration, int index) throws DOMException
MathMLDeclareElement setDeclaration (final MathMLDeclareElement newDeclaration, final int index)
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 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 = "semantics"
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)
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)

Static Package Functions

 [static initializer]

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