uk.ac.starlink.ast.gui
Class FontChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by uk.ac.starlink.ast.gui.FontChangedEvent
All Implemented Interfaces:
Serializable

public class FontChangedEvent
extends EventObject

FontChangedEvent defines an event that passes on a new Font.

Since:
$Date$, 08-NOV-2000
Version:
$Id$
Author:
Peter W. Draper
See Also:
Serialized Form

Field Summary
protected  Font font
          The font
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FontChangedEvent(Object source, Font font)
          Constructs a FontChangedEvent object.
 
Method Summary
 Font getFont()
          Return the font.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

font

protected Font font
The font

Constructor Detail

FontChangedEvent

public FontChangedEvent(Object source,
                        Font font)
Constructs a FontChangedEvent object.

Parameters:
source - the source Object (typically this).
font - the new font..
Method Detail

getFont

public Font getFont()
Return the font.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.