irc.gui
Class FontSelector

java.lang.Object
  |
  +--irc.gui.FontSelector
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.WindowListener

public class FontSelector
extends java.lang.Object
implements java.awt.event.WindowListener, java.awt.event.ActionListener

The font selector window.


Constructor Summary
FontSelector(IRCConfiguration config)
          Create a new font selector.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void disposeFrame()
          Internally used.
 void release()
          Release this object.
 void selectFont(FontSelectorListener lis)
          Ask for a font to be selected, calling back the given listener once choice is performed.
 void windowActivated(java.awt.event.WindowEvent e)
           
 void windowClosed(java.awt.event.WindowEvent e)
           
 void windowClosing(java.awt.event.WindowEvent e)
           
 void windowDeactivated(java.awt.event.WindowEvent e)
           
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 void windowOpened(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontSelector

public FontSelector(IRCConfiguration config)
Create a new font selector.

Parameters:
config - the irc configuration.
Method Detail

disposeFrame

public void disposeFrame()
Internally used. Do not call.


release

public void release()
Release this object.


selectFont

public void selectFont(FontSelectorListener lis)
Ask for a font to be selected, calling back the given listener once choice is performed.

Parameters:
lis - listener to be called once font is selected.

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Specified by:
windowClosing in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener