|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An implementation of the Displayable interface.
| Method Summary | |
int |
getAscent()
Returns the ascent. |
int |
getDescent()
Returns the descent. |
GraphicContext |
getGraphicContext()
Returns the graphic context of the instance. |
int |
getShiftX()
Returns the horizontal shift. |
int |
getShiftY()
Returns the vertical shift. |
void |
paint(java.awt.Graphics g)
The paint method of the object to display. |
void |
setAscent(int ascent)
Sets the ascent. |
void |
setAttributes(int ascent,
int descent,
int shiftX,
int shiftY)
Sets all the attributes. |
void |
setDescent(int descent)
Sets the descent. |
void |
setGraphicContext(GraphicContext graphicContext)
Sets the graphic context of the instance. |
void |
setShiftX(int shiftX)
Sets the horizontal shift. |
void |
setShiftY(int shiftY)
Sets the vertical shift. |
| Methods inherited from interface fr.ove.openmath.jome.ctrlview.bidim.Localisable |
getLocation, getX, getY, setLocation, setLocation, setX, setY |
| Methods inherited from interface fr.ove.openmath.jome.ctrlview.bidim.Sizable |
getHeight, getPreferredSize, getSize, getWidth, setHeight, setSize, setSize, setWidth |
| Method Detail |
public void setAscent(int ascent)
ascent - the new ascent value.public int getAscent()
public void setDescent(int descent)
descent - the new descent value.public int getDescent()
public void setShiftX(int shiftX)
public int getShiftX()
public void setShiftY(int shiftY)
shiftY - the new vertical shift value.public int getShiftY()
public void setAttributes(int ascent,
int descent,
int shiftX,
int shiftY)
ascent - the new ascent value.descent - the new descent value.shiftX - the new horizontal shift value.shiftY - the new vertical shift value.public void setGraphicContext(GraphicContext graphicContext)
graphicContext - the graphic context.public GraphicContext getGraphicContext()
public void paint(java.awt.Graphics g)
g - the drawing area of the symbol.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||