|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl
fr.ove.openmath.jome.ctrlview.bidim.BracketSymbol
The bracket.
| Constructor Summary | |
BracketSymbol(boolean isLeftBracket,
int heightExtremities,
java.awt.image.ImageObserver observer)
The constructor. |
|
| Method Summary | |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of the display. |
void |
paint(java.awt.Graphics g)
The paint method of the object to display. |
void |
setGraphicContext(GraphicContext graphicContext)
Sets the graphic context of the instance. |
| Methods inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl |
getAscent, getDescent, getGraphicContext, getHeight, getLocation, getShiftX, getShiftY, getSize, getWidth, getX, getY, setAscent, setAttributes, setDescent, setHeight, setLocation, setLocation, setShiftX, setShiftY, setSize, setSize, setWidth, setX, setY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BracketSymbol(boolean isLeftBracket,
int heightExtremities,
java.awt.image.ImageObserver observer)
isLeftBracket - true if the instance represents a left bracket. false
otherwise.heightExtremities - the height of the extremities of the bracket.observer - the object to be notified as more of the image is converted.| Method Detail |
public void paint(java.awt.Graphics g)
g - the drawing area of the symbol.public java.awt.Dimension getPreferredSize()
getPreferredSize in interface SizablegetPreferredSize in class DisplayableImplpublic void setGraphicContext(GraphicContext graphicContext)
setGraphicContext in interface DisplayablesetGraphicContext in class DisplayableImplgraphicContext - the graphic context.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||