Class SynchronizeDisplayedPropertyChangeListener

java.lang.Object
com.globalmentor.beans.AbstractGenericPropertyChangeListener<Boolean>
io.guise.framework.event.SynchronizeDisplayedPropertyChangeListener
All Implemented Interfaces:
com.globalmentor.beans.GenericPropertyChangeListener<Boolean>, PropertyChangeListener, EventListener

public class SynchronizeDisplayedPropertyChangeListener extends com.globalmentor.beans.AbstractGenericPropertyChangeListener<Boolean>
A Boolean property change listener that synchronizes a Displayable source's Displayable.DISPLAYED_PROPERTY by calling Displayable.setDisplayed(boolean) with any new value that it receives. If there is no Displayable event source or no new value for any given event, no action occurs.
Author:
Garret Wilson
  • Constructor Details

    • SynchronizeDisplayedPropertyChangeListener

      public SynchronizeDisplayedPropertyChangeListener()
  • Method Details

    • propertyChange

      public void propertyChange(com.globalmentor.beans.GenericPropertyChangeEvent<Boolean> genericPropertyChangeEvent)