public void setcf4PBtnFinishListener(ButtonPressListener e) { cf4PBtnFinish.getButtonPressListeners().add(e); }
public void setcf4PBtnBackListener(ButtonPressListener e) { cf4PBtnBack.getButtonPressListeners().add(e); }
public void setcf3PBtnNextListener(ButtonPressListener e) { cf3PBtnNext.getButtonPressListeners().add(e); }
public void setrf1PBtnCheckInListener(ButtonPressListener e) { rf1PBtnCheckIn.getButtonPressListeners().add(e); }
@Override public void initialize(Map<String, Object> namespace, URL location, Resources resources) { recetas = new ArrayList<RecetaListFormatItem>(); recetasTable.setTableData(recetas); initRecetasTable(); initCategoriaListButton(); nombreText .getComponentKeyListeners() .add( new ComponentKeyListener.Adapter() { @Override public boolean keyTyped(Component component, char character) { aplicarFiltro(); return false; } }); minutosSpinner .getSpinnerSelectionListeners() .add( new SpinnerSelectionListener.Adapter() { @Override public void selectedItemChanged(Spinner spinner, Object previousSelectedItem) { aplicarFiltro(); } }); segundosSpinner .getSpinnerSelectionListeners() .add( new SpinnerSelectionListener.Adapter() { @Override public void selectedItemChanged(Spinner spinner, Object previousSelectedItem) { aplicarFiltro(); } }); categoriasListButton .getListButtonSelectionListeners() .add( new ListButtonSelectionListener.Adapter() { @Override public void selectedItemChanged(ListButton listButton, Object previousSelectedItem) { aplicarFiltro(); } }); aniadirButton .getButtonPressListeners() .add( new ButtonPressListener() { @Override public void buttonPressed(Button button) { onAniadirButtonPressed(); } }); eliminarButton .getButtonPressListeners() .add( new ButtonPressListener() { @Override public void buttonPressed(Button arg0) { onEliminarButtonPressed(); } }); editarButton .getButtonPressListeners() .add( new ButtonPressListener() { @Override public void buttonPressed(Button button) { onEditarButtonPressed(); } }); }
public void setasf1PBtnCancel(ButtonPressListener e) { asf1PBtnCancel.getButtonPressListeners().add(e); }
public void setasf2PBtnBack(ButtonPressListener e) { asf2PBtnBack.getButtonPressListeners().add(e); }