fr.ove.openmath.jome.ctrlview.bidim
Class Bar

java.lang.Object
  extended byfr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl
      extended byfr.ove.openmath.jome.ctrlview.bidim.Bar
All Implemented Interfaces:
Displayable, Localisable, java.io.Serializable, Sizable

public class Bar
extends DisplayableImpl

The fraction bar to display with a fraction.

Version:
2.0 08/07/1999
Author:
© 1999 DIRAT Laurent
See Also:
Serialized Form

Constructor Summary
Bar()
           
 
Method Summary
 void paint(java.awt.Graphics g)
          The paint method of the object to display.
 void setHeight(int height)
          Sets the height of the instance.
 
Methods inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl
getAscent, getDescent, getGraphicContext, getHeight, getLocation, getPreferredSize, getShiftX, getShiftY, getSize, getWidth, getX, getY, setAscent, setAttributes, setDescent, setGraphicContext, 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

Bar

public Bar()
Method Detail

setHeight

public void setHeight(int height)
Sets the height of the instance.

Specified by:
setHeight in interface Sizable
Overrides:
setHeight in class DisplayableImpl
Parameters:
height - the height of the instance

paint

public void paint(java.awt.Graphics g)
The paint method of the object to display.

Parameters:
g - the drawing area of the symbol.


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.