org.expasy.jpl.commons.base
Interface Pluggable<T>

Type Parameters:
T - the plugged object.
All Known Subinterfaces:
ProgressBarReady

public interface Pluggable<T>

The Pluggable interface should be implemented by any object that can plug a T type instance.

Version:
1.0
Author:
nikitin

Method Summary
 void enablePlug(boolean bool)
          En/Disable plugged object
 boolean isPlugEnabled()
          Return true if enabled
 void plug(T o)
          Plug object
 

Method Detail

plug

void plug(T o)
Plug object


enablePlug

void enablePlug(boolean bool)
En/Disable plugged object


isPlugEnabled

boolean isPlugEnabled()
Return true if enabled



Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.