Module java.desktop

Class PrintEvent

    • Constructor Detail

      • PrintEvent

        public PrintEvent​(Object source)
        Constructs a PrintEvent object.
        Parameters:
        source - is the source of the event
        Throws:
        IllegalArgumentException - if source is null.
    • Method Detail

      • toString

        public String toString​()
        Description copied from class: EventObject
        Returns a String representation of this EventObject.
        Overrides:
        toString in class EventObject
        Returns:
        a message describing the event