Button btn = new Button(); btn.addListener(Events.Select, new Listener<ButtonEvent>() { public void handleEvent(ButtonEvent be) { Button button = be.button; } });
4950515253545556575859
Long d1 = (Long) w1.getData("date"); Long d2 = (Long) w2.getData("date"); return d1 == null || d1 < d2 ? -1 : 1; } }; listener = new Listener() { public void handleEvent(BaseEvent be) { activateLast(); } }; }
5253545556575859606162
Long d1 = (Long) w1.getData("_gxtdate"); Long d2 = (Long) w2.getData("_gxtdate"); return d1 == null || d1 < d2 ? -1 : 1; } }; listener = new Listener() { public void handleEvent(BaseEvent be) { activateLast(); } }; }
408409410411412413414415416417418
} super.onRender(target, index); if (autoValidate) { validationTask = new DelayedTask(new Listener() { public void handleEvent(BaseEvent be) { validate(); } }); }
314315316317318319320321322323324
final BorderLayoutData data) { SplitBar bar = (SplitBar) component.getData("splitBar"); if (bar == null || bar.getResizeWidget() != component) { bar = createSplitBar(region, component); final SplitBar fBar = bar; Listener splitBarListener = new Listener<ComponentEvent>() { public void handleEvent(ComponentEvent ce) { switch (ce.type) { case Events.DragStart: switch (region) {
188189190191192193194195196197198
public void init(final Table table) { this.table = table; this.cm = table.getColumnModel(); Listener l = new Listener<TableEvent>() { public void handleEvent(TableEvent be) { switch (be.type) { case Events.HeaderChange: { TableColumn c = cm.getColumn(be.columnIndex);
388389390391392393394395396397398
sortInfo.setSortField(field); sortInfo.setSortDir(sortDir); if (loader != null && loader.isRemoteSort()) { Listener l = new Listener() { public void handleEvent(BaseEvent be) { loader.removeListener(Sort, this); fireEvent(Sort, createStoreEvent()); } };