public HandlerRegistration addAnchorClickedHandler(AnchorClickedHandler handler) {
final HandlerRegistration anchorClickReg = addHandler(handler, AnchorClickedEvent.TYPE);
final HandlerRegistration clickReg = anchor.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
fireEvent(new AnchorClickedEvent(ExpandingTextBoxImpl.this));
}
});
return new HandlerRegistration() {
@Override
public void removeHandler() {