public class PrintEvent extends EventObject
source
Constructor and Description |
---|
PrintEvent(Object source)
Constructs a
PrintEvent object. |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of this object.
|
getSource
public PrintEvent(Object source)
PrintEvent
object.source
- the source of this eventpublic String toString()
toString
in class EventObject
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)