Class InternalFrameAdapter
java.lang.Object
javax.swing.event.InternalFrameAdapter
- All Implemented Interfaces:
EventListener, InternalFrameListener
An abstract adapter class for receiving internal frame events.
The methods in this class are empty. This class exists as
convenience for creating listener objects, and is functionally
equivalent to the WindowAdapter class in the AWT.
See How to Write an Internal Frame Listener in The Java Tutorial
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for subclasses to call. -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when an internal frame is activated.voidInvoked when an internal frame has been closed.voidInvoked when an internal frame is in the process of being closed.voidInvoked when an internal frame is de-activated.voidInvoked when an internal frame is de-iconified.voidInvoked when an internal frame is iconified.voidInvoked when an internal frame has been opened.Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Answers a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.May cause performance issues, deadlocks and hangs.getClass()Answers the unique instance of java.lang.Class which represents the class of the receiver.inthashCode()Answers an integer hash code for the receiver.final voidnotify()Causes one thread which iswaiting on the receiver to be made ready to run.final voidCauses all threads which arewaiting on the receiver to be made ready to run.toString()Answers a string containing a concise, human-readable description of the receiver.final voidwait()Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated bynotifyornotifyAll).final voidwait(long time) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.final voidwait(long time, int frac) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.
-
Constructor Details
-
InternalFrameAdapter
protected InternalFrameAdapter()Constructor for subclasses to call.
-
-
Method Details
-
internalFrameOpened
Invoked when an internal frame has been opened.- Specified by:
internalFrameOpenedin interfaceInternalFrameListener- Parameters:
e- anInternalFrameEventwith information about theJInternalFramethat originated the event- See Also:
-
internalFrameClosing
Invoked when an internal frame is in the process of being closed. The close operation can be overridden at this point.- Specified by:
internalFrameClosingin interfaceInternalFrameListener- Parameters:
e- anInternalFrameEventwith information about theJInternalFramethat originated the event- See Also:
-
internalFrameClosed
Invoked when an internal frame has been closed.- Specified by:
internalFrameClosedin interfaceInternalFrameListener- Parameters:
e- anInternalFrameEventwith information about theJInternalFramethat originated the event- See Also:
-
internalFrameIconified
Invoked when an internal frame is iconified.- Specified by:
internalFrameIconifiedin interfaceInternalFrameListener- Parameters:
e- anInternalFrameEventwith information about theJInternalFramethat originated the event- See Also:
-
internalFrameDeiconified
Invoked when an internal frame is de-iconified.- Specified by:
internalFrameDeiconifiedin interfaceInternalFrameListener- Parameters:
e- anInternalFrameEventwith information about theJInternalFramethat originated the event- See Also:
-
internalFrameActivated
Invoked when an internal frame is activated.- Specified by:
internalFrameActivatedin interfaceInternalFrameListener- Parameters:
e- anInternalFrameEventwith information about theJInternalFramethat originated the event- See Also:
-
internalFrameDeactivated
Invoked when an internal frame is de-activated.- Specified by:
internalFrameDeactivatedin interfaceInternalFrameListener- Parameters:
e- anInternalFrameEventwith information about theJInternalFramethat originated the event- See Also:
-