mindio
Interface VisualFeedback


public interface VisualFeedback

Implemented by objects that have a visual display. Objects that have an animated visual display, such as Scopes and Spectrums, will implement this interface. It signals their intent to the application and it provides a method (setImageBuffer) that the application can use to assign an image buffer to the object.


Method Summary
 java.awt.Dimension getMaxSize()
          returns the maximum image size that the object can use.
 java.awt.Dimension getMinSize()
          returns the minimum image size that the object can use.
 java.awt.Dimension getPreferredSize()
          returns the image size that the object would prefer to use.
 void setImageBuffer(java.awt.image.BufferedImage imageBuffer)
          used by the application to assign an image buffer to the object.
 void setSize(java.awt.Dimension size)
          sets the image size that the object must use.
 

Method Detail

setImageBuffer

public void setImageBuffer(java.awt.image.BufferedImage imageBuffer)
used by the application to assign an image buffer to the object.


getPreferredSize

public java.awt.Dimension getPreferredSize()
returns the image size that the object would prefer to use.


getMinSize

public java.awt.Dimension getMinSize()
returns the minimum image size that the object can use.


getMaxSize

public java.awt.Dimension getMaxSize()
returns the maximum image size that the object can use.


setSize

public void setSize(java.awt.Dimension size)
sets the image size that the object must use.