public class PNotification extends Object
You don't usually create your own notifications directly. The PNotificationCenter method postNotification() allow you to conveniently post a notification without creating it first.
Modifier and Type | Field and Description |
---|---|
protected String |
name
Name of the notification.
|
protected Map |
properties
A free form map of properties to attach to this notification.
|
protected Object |
source
The Object associated with this notification.
|
Constructor and Description |
---|
PNotification(String name,
Object source,
Map properties)
Creates a notification.
|
protected String name
protected Object source
protected Map properties
public String getName()
public Object getObject()
Copyright © 1995-2012 Piccolo2D. All Rights Reserved.