com.md5importer.control
Class AbstractController

java.lang.Object
  extended by com.md5importer.control.AbstractController
All Implemented Interfaces:
IController
Direct Known Subclasses:
BlendController, MD5AnimController, MD5NodeController

public abstract class AbstractController
extends java.lang.Object
implements IController

AbstractController defines the basic abstraction of a controller implementation. It only provides the most basic shared logic of all controllers.


Field Summary
protected  boolean active
          The Boolean activeness flag.
 
Constructor Summary
protected AbstractController()
          Constructor of AbstractController.
 
Method Summary
 boolean isActive()
          Check if this controller is active.
 void setActive(boolean active)
          Set the activeness of this controller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.md5importer.interfaces.control.IController
update
 

Field Detail

active

protected volatile boolean active
The Boolean activeness flag.

Constructor Detail

AbstractController

protected AbstractController()
Constructor of AbstractController.

Method Detail

setActive

public void setActive(boolean active)
Description copied from interface: IController
Set the activeness of this controller.

Specified by:
setActive in interface IController
Parameters:
active - The Boolean activeness flag.

isActive

public boolean isActive()
Description copied from interface: IController
Check if this controller is active.

Specified by:
isActive in interface IController
Returns:
The Boolean activeness flag.