|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.ui.AbstractSelect.CaptionChangeListener
protected class AbstractSelect.CaptionChangeListener
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().
| Constructor Summary | |
|---|---|
protected |
AbstractSelect.CaptionChangeListener()
|
| Method Summary | |
|---|---|
void |
addNotifierForItem(Object itemId)
|
void |
clear()
|
void |
itemPropertySetChange(Item.PropertySetChangeEvent event)
Notifies this listener that the Item's property set has changed. |
void |
valueChange(Property.ValueChangeEvent event)
Notifies this listener that the Property's value has changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSelect.CaptionChangeListener()
| Method Detail |
|---|
public void addNotifierForItem(Object itemId)
public void clear()
public void valueChange(Property.ValueChangeEvent event)
Property.ValueChangeListener
valueChange in interface Property.ValueChangeListenerevent - value change event objectpublic void itemPropertySetChange(Item.PropertySetChangeEvent event)
Item.PropertySetChangeListener
itemPropertySetChange in interface Item.PropertySetChangeListenerevent - Property set change event object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||