com.vaadin.ui
Class AbstractSelect.DefaultNewItemHandler

java.lang.Object
  extended by com.vaadin.ui.AbstractSelect.DefaultNewItemHandler
All Implemented Interfaces:
AbstractSelect.NewItemHandler, Serializable
Enclosing class:
AbstractSelect

public class AbstractSelect.DefaultNewItemHandler
extends Object
implements AbstractSelect.NewItemHandler

TODO refine doc This is a default class that handles adding new items that are typed by user to selects container. By extending this class one may implement some logic on new item addition like database inserts.

See Also:
Serialized Form

Constructor Summary
AbstractSelect.DefaultNewItemHandler()
           
 
Method Summary
 void addNewItem(String newItemCaption)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSelect.DefaultNewItemHandler

public AbstractSelect.DefaultNewItemHandler()
Method Detail

addNewItem

public void addNewItem(String newItemCaption)
Specified by:
addNewItem in interface AbstractSelect.NewItemHandler


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.