picturedream.action
Class ControllerPictureEnabler

java.lang.Object
  |
  +--picturedream.action.ControllerPictureEnabler
All Implemented Interfaces:
IPictureListener

public class ControllerPictureEnabler
extends java.lang.Object
implements IPictureListener

Title: PictureDream

Description: controller dis- and enabling the stored components depending on picture's state

Copyright: Copyright (c) 2003 MRoc

Organisation: MRoc Audiosolutions

Version:
1.0
Author:
MRoc mail@mroc.de

Field Summary
protected  java.util.Vector ivComponents
           
protected  IPicture ivPicture
           
 
Constructor Summary
ControllerPictureEnabler(java.awt.Component[] components, IPicture p)
           
ControllerPictureEnabler(IPicture p)
           
 
Method Summary
 void addComponent(java.awt.Component c)
           
 IPicture getPicture()
           
 void onPictureChanged()
          invoked when the picture data changed
 void setPicture(IPicture p)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ivPicture

protected IPicture ivPicture

ivComponents

protected java.util.Vector ivComponents
Constructor Detail

ControllerPictureEnabler

public ControllerPictureEnabler(IPicture p)

ControllerPictureEnabler

public ControllerPictureEnabler(java.awt.Component[] components,
                                IPicture p)
Method Detail

addComponent

public void addComponent(java.awt.Component c)

setPicture

public void setPicture(IPicture p)

getPicture

public IPicture getPicture()

onPictureChanged

public void onPictureChanged()
Description copied from interface: IPictureListener
invoked when the picture data changed
Specified by:
onPictureChanged in interface IPictureListener