|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component net.sourceforge.jeuclid.awt.MathComponent
public class MathComponent
A class for displaying MathML content in a AWT Component.
JMathComponent
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
MathComponent()
Default constructor. |
Method Summary | |
---|---|
Document |
getDocument()
|
Dimension |
getMinimumSize()
Gets the minimum size of this component. |
Dimension |
getPreferredSize()
Gets the preferred size of this component. |
void |
paint(Graphics g)
Paints this component. |
void |
setDebug(boolean debugMode)
Enables, or disables the debug mode. |
void |
setDocument(Document newDocument)
|
void |
setParameters(MutableLayoutContext newParameters)
Sets the rendering parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MathComponent()
Method Detail |
---|
public final void setParameters(MutableLayoutContext newParameters)
newParameters
- the set of parameters.public Document getDocument()
public Dimension getMinimumSize()
getMinimumSize
in class Component
public Dimension getPreferredSize()
getPreferredSize
in class Component
public void paint(Graphics g)
paint
in class Component
g
- The graphics context to use for painting.public void setDebug(boolean debugMode)
debugMode
- Debug mode.public void setDocument(Document newDocument)
newDocument
- the document to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |