public static class SplashScreen.SplashScreenPropertyListener extends Object implements PropertyChangeListener
It can be registered on a page view as PropertyChangeListener to get notified about changes in the currently shown document.
For example:
myPageView.addPropertyChangeListener(PageView.DOCUMENT_PROPERTY, new SplashScreenPropertyListener(mainViewerPanel));If no document is loaded in the viewer, the SplashScreen will be enabled by this listener which also makes the panel visible. If there is a document, the component will be hidden.
Constructor and Description |
---|
SplashScreenPropertyListener(BasicJadicePanel mainViewerPanel) |
Modifier and Type | Method and Description |
---|---|
void |
propertyChange(PropertyChangeEvent evt)
Called to notify this listener about a PropertyChange.
|
public SplashScreenPropertyListener(BasicJadicePanel mainViewerPanel)
public void propertyChange(PropertyChangeEvent evt)
Note
We do not check the PropertyChangeEvent key here - the listener is registered via
getPageView().addPropertyChangeListener(String key, PropertyChangeListener listener)Due to this registration, this listener will just receive Events with the specified key
propertyChange
in interface PropertyChangeListener
Copyright © 2024 levigo holding gmbh. All rights reserved.