de.kosi.gui.swing
Interface CWindow

All Superinterfaces:
java.util.EventListener, LookAndFeelChangeListener, ResourceBundleChangeListener
All Known Implementing Classes:
CDialog, CFrame

public interface CWindow
extends ResourceBundleChangeListener, LookAndFeelChangeListener

An interface to simplify the handling of the different window classes of swing.


Method Summary
 javax.swing.ActionMap getActionMap()
          Returns the action map of this window.
 java.lang.String getName()
          Gets the name of this window.
 void lookAndFeelChanged()
          Informs this window that the look and feel has been changed.
 void resourceBundleChanged(CResourceBundle resourceBundle)
          Informs this window that the resource bundle has been changed.
 

Method Detail

getName

public java.lang.String getName()
Gets the name of this window.
Returns:
the name of this window.

resourceBundleChanged

public void resourceBundleChanged(CResourceBundle resourceBundle)
Informs this window that the resource bundle has been changed.
Specified by:
resourceBundleChanged in interface ResourceBundleChangeListener
Parameters:
resourceBundle - the new resource bundle.

lookAndFeelChanged

public void lookAndFeelChanged()
Informs this window that the look and feel has been changed.
Specified by:
lookAndFeelChanged in interface LookAndFeelChangeListener

getActionMap

public javax.swing.ActionMap getActionMap()
Returns the action map of this window.
Returns:
the action map of this window.