NGP
Interface Sizeable

All Known Subinterfaces:
Component, Container
All Known Implementing Classes:
Applet, CheckBox, FileDialog, Frame, Image, Label, Menu, MenuBar, MenuItem, Panel, PushButton, RadioButton, RectangularShape, Slider, TextArea, TextBox, ToggleButton

public interface Sizeable

Indicates that an implementer can have its dimensions accessed and changed.

Author:
Matt Chotin (mhc)
See Also:
java.awt.Dimension

Method Summary
 Dimension getDimension()
          Get the dimensions of this Sizeable.
 void setDimension(Dimension d)
          Set the dimensions of this Sizeable.
 

Method Detail

setDimension

public void setDimension(Dimension d)
Set the dimensions of this Sizeable.

Parameters:
d - the user-preferred Dimension of this Sizeable
See Also:
getDimension

getDimension

public Dimension getDimension()
Get the dimensions of this Sizeable.

Returns:
the Dimension of this Sizeable
See Also:
setDimension