|
|||||||||||
| 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.SquaredBracketSymbol
The bracket symbol for rendering interval. (i.e. symbol [ or ])
| Constructor Summary | |
SquaredBracketSymbol(char character,
java.awt.Component component)
The constructor. |
|
SquaredBracketSymbol(java.lang.String character,
java.awt.Component component)
The constructor. |
|
| Method Summary | |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of the display. |
java.awt.Dimension |
getSize()
Returns the size of the instance. |
void |
paint(java.awt.Graphics g)
The paint method of the object to display. |
void |
setThickness(int thickness)
Sets the thickness of the line to draw the symbol |
| Methods inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl |
getAscent, getDescent, getGraphicContext, getHeight, getLocation, getShiftX, getShiftY, getWidth, getX, getY, setAscent, setAttributes, setDescent, setGraphicContext, 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 SquaredBracketSymbol(char character,
java.awt.Component component)
character - the associated character (i.e. '[' or ']') to the instance
public SquaredBracketSymbol(java.lang.String character,
java.awt.Component component)
character - the string representation of the associated character (i.e. '[' or ']') to the instance| Method Detail |
public void setThickness(int thickness)
thickness - the thickness to draw the symbolpublic java.awt.Dimension getPreferredSize()
getPreferredSize in interface SizablegetPreferredSize in class DisplayableImplpublic java.awt.Dimension getSize()
DisplayableImpl
getSize in interface SizablegetSize in class DisplayableImplpublic 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 | ||||||||||