Sorry, I know better; I ask my customers for sample programs to ensure
nothing gets lost in translation.
There may be a simpler approach, but it seems to be working now with
the following additions to the wrapper class, which extends
AbstractPager:
m_cellList.addBlurHandler(new BlurHandler()
{
@Override
public void onBlur(BlurEvent p_event)
{
delegateEvent(CustomPager.this, p_event);
}
});
m_cellList.addFocusHandler(new FocusHandler()
{
@Override
public void onFocus(FocusEvent p_event)
{
delegateEvent(CustomPager.this, p_event);
}
});
...
private class FocusableCellList<T> extends CellList<T>
implements HasFocusHandlers, HasBlurHandlers
{
public FocusableCellList(Cell<T> p_cell)
{
super(p_cell);
}
@Override
public HandlerRegistration addFocusHandler(FocusHandler
p_handler)
{
return addDomHandler(p_handler, FocusEvent.getType());
}
@Override
public HandlerRegistration addBlurHandler(BlurHandler
p_handler)
{
return addDomHandler(p_handler, BlurEvent.getType());
}
}
On Jun 20, 10:14 am, Thomas Broyer <
t.bro...@gmail.com> wrote:
> Er, CellList *is* Focusable in
> 2.3:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...