net.sf.webphotos.util.legacy
Class Modal

java.lang.Object
  extended by net.sf.webphotos.util.legacy.Modal
All Implemented Interfaces:
WindowFocusListener, EventListener

public class Modal
extends Object
implements WindowFocusListener

Ajusta o modo de aparição da janela quando ganha ou perde o foco. Utilizada na classe FtpClient.

Author:
guilherme

Constructor Summary
Modal(JFrame f)
          Recebe um frame e seta o frame da classe.
 
Method Summary
 void windowGainedFocus(WindowEvent e)
          Implementa o método windowGainedFocus(WindowEvent e) da interface WindowFocusListener.
 void windowLostFocus(WindowEvent e)
          Implementa o método windowLostFocus(WindowEvent e) da interface WindowFocusListener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Modal

public Modal(JFrame f)
Recebe um frame e seta o frame da classe.

Parameters:
f - Frame.
Method Detail

windowGainedFocus

public void windowGainedFocus(WindowEvent e)
Implementa o método windowGainedFocus(WindowEvent e) da interface WindowFocusListener.

Specified by:
windowGainedFocus in interface WindowFocusListener
Parameters:
e - Evento de janela.

windowLostFocus

public void windowLostFocus(WindowEvent e)
Implementa o método windowLostFocus(WindowEvent e) da interface WindowFocusListener.

Specified by:
windowLostFocus in interface WindowFocusListener
Parameters:
e - Evento de janela.


Copyright © 2008-2012. All Rights Reserved.