Back to index

wims  3.65+svn20090927
Public Member Functions
fr.ove.openmath.jome.ctrlview.bidim.Displayable Interface Reference

An implementation of the Displayable interface. More...

Inheritance diagram for fr.ove.openmath.jome.ctrlview.bidim.Displayable:
Inheritance graph
[legend]
Collaboration diagram for fr.ove.openmath.jome.ctrlview.bidim.Displayable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setAscent (int ascent)
 Sets the ascent.
int getAscent ()
 Returns the ascent.
void setDescent (int descent)
 Sets the descent.
int getDescent ()
 Returns the descent.
void setShiftX (int shiftX)
 Sets the horizontal shift.
int getShiftX ()
 Returns the horizontal shift.
void setShiftY (int shiftY)
 Sets the vertical shift.
int getShiftY ()
 Returns the vertical shift.
void setAttributes (int ascent, int descent, int shiftX, int shiftY)
 Sets all the attributes.
void setGraphicContext (GraphicContext graphicContext)
 Sets the graphic context of the instance.
GraphicContext getGraphicContext ()
 Returns the graphic context of the instance.
void paint (Graphics g)
 The paint method of the object to display.
void setX (int x)
 Sets the x-location of the instance.
int getX ()
 Returns the x-location of the instance.
void setY (int y)
 Sets the y-location of the instance.
int getY ()
 Returns the y-location of the instance.
void setLocation (int x, int y)
 Sets the location of the instance.
void setLocation (Point location)
 Sets the location of the instance.
Point getLocation ()
 Returns the location of the instance.
int getWidth ()
 Returns the width of the instance.
void setWidth (int width)
 Sets the width of the instance.
int getHeight ()
 Returns the height of the instance.
void setHeight (int height)
 Sets the height of the instance.
Dimension getSize ()
 Returns the size of the instance.
void setSize (int width, int height)
 Sets the size of the instance.
void setSize (Dimension size)
 Sets the size of the instance.
Dimension getPreferredSize ()
 Returns the preferred size of the instance.

Detailed Description

An implementation of the Displayable interface.


Author:
1999 DIRAT Laurent
Version:
2.0 29/06/1999

Definition at line 42 of file Displayable.java.


Member Function Documentation

Returns the ascent.

Returns:
the ascent.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

Returns the descent.

Returns:
the descent.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

Returns the graphic context of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Returns the location of the instance.

Returns:
A Point representing the location of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

Returns the horizontal shift.

Returns:
the horizontal shift.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Returns the vertical shift.

Returns:
the vertical shift.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Returns the size of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl, and fr.ove.openmath.jome.ctrlview.bidim.SquaredBracketSymbol.

Here is the caller graph for this function:

Returns the x-location of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Returns the y-location of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Sets the ascent.

Parameters:
ascentthe new ascent value.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

void fr.ove.openmath.jome.ctrlview.bidim.Displayable.setAttributes ( int  ascent,
int  descent,
int  shiftX,
int  shiftY 
)

Sets all the attributes.

Parameters:
ascentthe new ascent value.
descentthe new descent value.
shiftXthe new horizontal shift value.
shiftYthe new vertical shift value.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl, and fr.ove.openmath.jome.ctrlview.bidim.SymbolDisplay.

Sets the descent.

Parameters:
descentthe new descent value.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

Sets the height of the instance.

Parameters:
heightthe height of the instance

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl, and fr.ove.openmath.jome.ctrlview.bidim.Bar.

Here is the caller graph for this function:

void fr.ove.openmath.jome.ctrlview.bidim.Localisable.setLocation ( int  x,
int  y 
) [inherited]

Sets the location of the instance.

Parameters:
xthe x-location of the instance.
ythe y-location of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

Sets the location of the instance.

Parameters:
locationthe location of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Sets the horizontal shift.

Parameters:
shiftthe new horizontal shift value.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

Sets the vertical shift.

Parameters:
shiftYthe new vertical shift value.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

void fr.ove.openmath.jome.ctrlview.bidim.Sizable.setSize ( int  width,
int  height 
) [inherited]

Sets the size of the instance.

Parameters:
widththe width of the instance.
heightthe height of the instance

Implemented in fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Here is the caller graph for this function:

void fr.ove.openmath.jome.ctrlview.bidim.Sizable.setSize ( Dimension  size) [inherited]

Sets the size of the instance.

Parameters:
sizethe size of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Sets the width of the instance.

Parameters:
widththe width of the instance

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Sets the x-location of the instance.

Parameters:
xthe x-location of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.

Sets the y-location of the instance.

Parameters:
ythe y-location of the instance.

Implemented in fr.ove.openmath.jome.ctrlview.bidim.Display, and fr.ove.openmath.jome.ctrlview.bidim.DisplayableImpl.


The documentation for this interface was generated from the following file: