Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.man.bioinf.apps.optionable
Class NullOptionHandler

    java.lang.Object
      |
      +--uk.ac.man.bioinf.apps.optionable.NullOptionHandler

All Implemented Interfaces:
  OptionHandler

public class NullOptionHandler
extends Object
implements OptionHandler

NullOptionHandler.java An option handler object that does nothing. Created: Thu Feb 1 17:42:05 2001

Version:
  $Id: NullOptionHandler.java,v 1.2 2001/04/11 17:04:42 lord Exp $
Author:
  Phillip Lord

Method Summary
`void` | `addOptionable(Optionable optionable)` Add an optionable object.
`static OptionHandler` | `getInstance()`
`void` | `removeOptionable(Optionable optionable)` Remove the following optionable object from the list
`void` | `requestOptionUpdate(Optionable optionable)` Request that the optionable object set the the options of the optionable object via its setOptions method.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static OptionHandler getInstance()

### addOptionable

    public void addOptionable(Optionable optionable)

  Description copied from interface: `OptionHandler`
  Add an optionable object. On adding the Optionhandler should set itself as the OptionHandler for the optionable object, and call requestOptionUpdate also.

  Specified by:
    `addOptionable` in interface `OptionHandler`

### removeOptionable

    public void removeOptionable(Optionable optionable)

  Description copied from interface: `OptionHandler`
  Remove the following optionable object from the list

  Specified by:
    `removeOptionable` in interface `OptionHandler`
  Parameters:
    `optionable` -

### requestOptionUpdate

    public void requestOptionUpdate(Optionable optionable)

  Description copied from interface: `OptionHandler`
  Request that the optionable object set the the options of the optionable object via its setOptions method. This could be used for a variety of reasons, although the most obvious is a "revert to saved" option.

  Specified by:
    `requestOptionUpdate` in interface `OptionHandler`
  Parameters:
    `optionable` - the optionable object
  See Also:
    `Optionable.setOptions(java.lang.Object)`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD