com.vaadin.ui
Class AbstractSelect.CaptionChangeListener
java.lang.Object
com.vaadin.ui.AbstractSelect.CaptionChangeListener
- All Implemented Interfaces:
- Item.PropertySetChangeListener, Property.ValueChangeListener, java.io.Serializable
- Enclosing class:
- AbstractSelect
protected class AbstractSelect.CaptionChangeListener
- extends java.lang.Object
- implements Item.PropertySetChangeListener, Property.ValueChangeListener
This is a listener helper for Item and Property changes that should cause
a repaint. It should be attached to all items that are displayed, and the
default implementation does this in paintContent(). Especially
"lazyloading" components should take care to add and remove listeners as
appropriate. Call addNotifierForItem() for each painted item (and
remember to clear).
NOTE: singleton, use getCaptionChangeListener().
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSelect.CaptionChangeListener
protected AbstractSelect.CaptionChangeListener()
addNotifierForItem
public void addNotifierForItem(java.lang.Object itemId)
clear
public void clear()
valueChange
public void valueChange(Property.ValueChangeEvent event)
- Description copied from interface:
Property.ValueChangeListener
- Notifies this listener that the Property's value has changed.
- Specified by:
valueChange
in interface Property.ValueChangeListener
- Parameters:
event
- value change event object
itemPropertySetChange
public void itemPropertySetChange(Item.PropertySetChangeEvent event)
- Description copied from interface:
Item.PropertySetChangeListener
- Notifies this listener that the Item's property set has changed.
- Specified by:
itemPropertySetChange
in interface Item.PropertySetChangeListener
- Parameters:
event
- Property set change event object
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.