javax.imageio

Interface IIOParamController

public interface IIOParamController

An interface to set image parameters. An IIOParamController may be a GUI component, a database reader, command-line parser or any other means of getting parameter settings. For exampe, a dialog box could implement IIOParamController to allow a user to adjust JPEG compression levels. The activate method should always behave modally; it should only return when the action has been either cancelled or completed.
Method Summary
booleanactivate(IIOParam param)
Activates the controller.

Method Detail

activate

public boolean activate(IIOParam param)
Activates the controller. A return value of false should mean that no changes were made to param. A return value of true should mean that the image is ready to be read or written.

Parameters: param the IIOParam to be modified

Returns: true if the IIOParam has been modified, false otherwise

Throws: IllegalArgumentException if param is null or is not an instance of the correct class