fr.ove.openmath.jome.ctrlview.bidim
Interface Sizable

All Known Subinterfaces:
Displayable
All Known Implementing Classes:
Display, DisplayableImpl

public interface Sizable

Interface that must implement all objects that want to be sized.

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

Method Summary
 int getHeight()
          Returns the height of the instance.
 java.awt.Dimension getPreferredSize()
          Returns the preferred size of the instance.
 java.awt.Dimension getSize()
          Returns the size of the instance.
 int getWidth()
          Returns the width of the instance.
 void setHeight(int height)
          Sets the height of the instance.
 void setSize(java.awt.Dimension size)
          Sets the size of the instance.
 void setSize(int width, int height)
          Sets the size of the instance.
 void setWidth(int width)
          Sets the width of the instance.
 

Method Detail

getWidth

public int getWidth()
Returns the width of the instance.


setWidth

public void setWidth(int width)
Sets the width of the instance.

Parameters:
width - the width of the instance

getHeight

public int getHeight()
Returns the height of the instance.


setHeight

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

Parameters:
height - the height of the instance

getSize

public java.awt.Dimension getSize()
Returns the size of the instance.


setSize

public void setSize(int width,
                    int height)
Sets the size of the instance.

Parameters:
width - the width of the instance.
height - the height of the instance

setSize

public void setSize(java.awt.Dimension size)
Sets the size of the instance.

Parameters:
size - the size of the instance.

getPreferredSize

public java.awt.Dimension getPreferredSize()
Returns the preferred size of the instance.



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