|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.jscroll.widgets.DesktopListener
This class provides common Component and Action Listeners for other objects in the system.
| Constructor Summary | |
DesktopListener(DesktopMediator desktopMediator)
creates the DesktopListener object. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
common actionPerformed method that responds to both button and menu events. |
void |
componentHidden(ComponentEvent e)
interface placeholder |
void |
componentMoved(ComponentEvent e)
updates the preferred size of the desktop when a component is moved |
void |
componentResized(ComponentEvent e)
updates the preferred size of the desktop when either an internal frame or the scrollable desktop pane itself is resized |
void |
componentShown(ComponentEvent e)
revalidates the desktop to ensure the viewport has the proper height/width settings when a new component is shown upon the desktop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DesktopListener(DesktopMediator desktopMediator)
desktopMediator - a reference to the DesktopMediator object| Method Detail |
public void componentResized(ComponentEvent e)
componentResized in interface ComponentListenere - the ComponentEventpublic void componentShown(ComponentEvent e)
componentShown in interface ComponentListenere - the ComponentEventpublic void componentMoved(ComponentEvent e)
componentMoved in interface ComponentListenere - the ComponentEventpublic void componentHidden(ComponentEvent e)
componentHidden in interface ComponentListenere - the ComponentEventpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the ActionEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||