com.itmill.toolkit.ui
Class Select.OptionsStream
java.lang.Object
com.itmill.toolkit.ui.Select.OptionsStream
- All Implemented Interfaces:
- URIHandler
- Enclosing class:
- Select
protected class Select.OptionsStream
- extends Object
- implements URIHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Select.OptionsStream
public Select.OptionsStream(Select select)
getOptionFilter
public OptionFilter getOptionFilter()
setOptionFilter
public void setOptionFilter(OptionFilter of2)
handleURI
public DownloadStream handleURI(URL context,
String relativeUri)
- Handles the given relative URI.
- Specified by:
handleURI in interface URIHandler
- Parameters:
context - the URl.relativeUri - the relative uri.
- Returns:
- the download stream object.
- See Also:
URIHandler.handleURI(java.net.URL,
java.lang.String)
createDownloadStream
public DownloadStream createDownloadStream(int size,
int first,
String filter)
- Creates the DownloadStream for response.
- Parameters:
size - the Items to be return.first - filter -
- Returns:
- the new DownloadStream.
filterContent
public ArrayList filterContent(String key)
- Updates the visible items by given key.
- Parameters:
key - the key given to OptionFilter
- Returns:
- All item ids filtered by given key.
addToJSONArray
protected void addToJSONArray(StringBuffer json,
ArrayList values)
getJSON
protected String getJSON(int size,
int first,
String filter)
getCurrentFilter
protected String getCurrentFilter()
setCurrentFilter
protected void setCurrentFilter(String currentFilter)
Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.