ARoad0.Gui1
Class IconPolice

java.lang.Object
  extended by ARoad0.Gui1.IconPolice
All Implemented Interfaces:
Singleton, java.beans.VetoableChangeListener, java.util.EventListener

public class IconPolice
extends java.lang.Object
implements Singleton, java.beans.VetoableChangeListener

The change listener insists that there is always at least one noniconified frame.


Field Summary
protected static IconPolice instance_
           
 
Constructor Summary
private IconPolice()
          with this private constructor, the compiler won't generate a default public constructor.
 
Method Summary
static IconPolice getInstance()
          Only mean to get an instance.
 void vetoableChange(java.beans.PropertyChangeEvent _ev)
          This method controls the number of iconified frames to forbid iconfication of all frames.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance_

protected static IconPolice instance_
Constructor Detail

IconPolice

private IconPolice()
with this private constructor, the compiler won't generate a default public constructor.

Method Detail

getInstance

public static IconPolice getInstance()
Only mean to get an instance.

Returns:
IconPolice

vetoableChange

public void vetoableChange(java.beans.PropertyChangeEvent _ev)
                    throws java.beans.PropertyVetoException
This method controls the number of iconified frames to forbid iconfication of all frames.

Specified by:
vetoableChange in interface java.beans.VetoableChangeListener
Parameters:
_ev - PropertyChangeEvent
Throws:
java.beans.PropertyVetoException