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()
        Returns a string representation of this PrintEvent.
        Overrides:
        toString in class EventObject
        Returns:
        a message describing the event