Пример #1
0
 /**
  * Notifies this instance about a change in the value of a property of a source which of interest
  * to this instance. For example, <tt>OneToOneCallPeerPanel</tt> updates its user
  * interface-related properties upon changes in the value of the {@link
  * CallContainer#PROP_FULL_SCREEN} property of its associated {@link #callRenderer}.
  *
  * @param ev a <tt>PropertyChangeEvent</tt> which identifies the source, the name of the property
  *     and the old and new values
  */
 public void propertyChange(PropertyChangeEvent ev) {
   if (CallContainer.PROP_FULL_SCREEN.equals(ev.getPropertyName())) updateViewFromModel();
 }
Пример #2
0
 /**
  * Notifies this instance about a change in the value of a property of a source which of interest
  * to this instance. For example, <tt>FullScreenButton</tt> updates its user interface-related
  * properties upon changes in the value of the {@link CallContainer#PROP_FULL_SCREEN} property of
  * its associated {@link #callContainer}.
  *
  * @param ev a <tt>PropertyChangeEvent</tt> which identifies the source, the name of the property
  *     and the old and new values
  */
 public void propertyChange(PropertyChangeEvent ev) {
   if (CallContainer.PROP_FULL_SCREEN.equals(ev.getPropertyName())
       && this.callContainer.equals(ev.getSource())) {
     loadSkin();
   }
 }