org.PingOO.DLAI.lib.PWidget.event
Class PAdapter

java.lang.Object
  |
  +--org.PingOO.DLAI.lib.PWidget.event.PAdapter
Direct Known Subclasses:
PObserver.DefaultPAdapter

public abstract class PAdapter
extends java.lang.Object
implements PListener

Create a new PAdapter.
These listeners are used to transfer events to all PComponent forcing them to update to the new language.
An adpater implements only empty methods.
It offers to the programmer the possibility to override one or more method interfaced in the corresponding listener.

Since:
PingOO 2.0
Version:
2.0
Author:
Fabrice Bouyé (bouye@cur-archamps.fr)
See Also:
PListener

Constructor Summary
PAdapter()
           
 
Method Summary
 void fontUpdated(PEvent event)
          Indicates that the UI's font has changed.
 void languageUpdated(PEvent event)
          Indicates that the UI's language has changed.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PAdapter

public PAdapter()
Method Detail

languageUpdated

public void languageUpdated(PEvent event)
Indicates that the UI's language has changed.
Specified by:
languageUpdated in interface PListener
Parameters:
event - The event fired to start a language update of the UI.

fontUpdated

public void fontUpdated(PEvent event)
Indicates that the UI's font has changed.
Specified by:
fontUpdated in interface PListener
Parameters:
event - The event fired to start a font update of the UI.