com.vaadin.client.ui
Class VFilterSelect.FilterSelectSuggestion

java.lang.Object
  extended by com.vaadin.client.ui.VFilterSelect.FilterSelectSuggestion
Enclosing class:
VFilterSelect

public class VFilterSelect.FilterSelectSuggestion
extends java.lang.Object

Represents a suggestion in the suggestion popup box


Constructor Summary
VFilterSelect.FilterSelectSuggestion(UIDL uidl)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void execute()
          Executes a selection of this item.
 java.lang.String getDisplayString()
          Gets the visible row in the popup as a HTML string.
 java.lang.String getIconUri()
          Get the URI of the icon.
 java.lang.String getOptionKey()
          Get the option key which represents the item on the server side.
 java.lang.String getReplacementString()
          Get a string that represents this item.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VFilterSelect.FilterSelectSuggestion

public VFilterSelect.FilterSelectSuggestion(UIDL uidl)
Constructor

Parameters:
uidl - The UIDL recieved from the server
Method Detail

getDisplayString

public java.lang.String getDisplayString()
Gets the visible row in the popup as a HTML string. The string contains an image tag with the rows icon (if an icon has been specified) and the caption of the item


getReplacementString

public java.lang.String getReplacementString()
Get a string that represents this item. This is used in the text box.


getOptionKey

public java.lang.String getOptionKey()
Get the option key which represents the item on the server side.

Returns:
The key of the item

getIconUri

public java.lang.String getIconUri()
Get the URI of the icon. Used when constructing the displayed option.

Returns:

execute

public void execute()
Executes a selection of this item.


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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