List of usage examples for com.google.gwt.dom.client OptionElement getInnerText
@Override
public String getInnerText()
From source file:com.google.speedtracer.client.view.Controller.java
License:Apache License
/** * Gets the url for the page at a specific index in our select box. This DOES * NOT DO BOUNDS CHECKING./* w w w. ja v a 2s . c o m*/ * * @param index * @return the String corresponding to the page URL */ public String getPageUrlForIndex(int index) { OptionElement option = getOptionAtIndex((SelectElement) pages.getElement(), index); return option.getInnerText(); }
From source file:com.tractionsoftware.gwt.user.client.ui.GroupedListBox.java
License:Apache License
@Override public String getItemText(int index) { OptionElement opt = getOption(index); return opt.getInnerText(); }