@Override protected void onConfigure() { super.onConfigure(); } };
@Override public void detachModels() { super.detachModels(); triggerModel.detach(); }
@Override public void onClick(Optional<AjaxRequestTarget> targetOptional) { AjaxCommand.this.onClick(targetOptional); trySendActionPerformed(); } };
@Override public void onEvent(IEvent<?> event) { super.onEvent(event); Object payload = event.getPayload(); if(payload instanceof ActionPerformedEvent) { ajaxFormCommand.setVisibilityAllowed(getModeModel().getObject().equals(DisplayMode.EDIT)); ((ActionPerformedEvent<?>) payload).getTarget().ifPresent(target -> target.add(ajaxFormCommand)); } else if (payload instanceof AjaxRequestHandler) { ((AjaxRequestHandler) payload).add(ajaxFormCommand); } } };
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.angle_left); setBootstrapType(BootstrapType.PRIMARY); setAutoNotify(false); } });
@Override protected void onInitialize() { super.onInitialize(); applyVisualSettings(this); } @Override
@Override protected void onInstantiation() { super.onInstantiation(); setOutputMarkupPlaceholderTag(true); }
@Override protected void onDetach() { super.onDetach(); if(displayModeModel!=null) displayModeModel.detach(); }
table.addCommand(ajaxFormCommand.setBootstrapType(BootstrapType.PRIMARY) .setIcon(FAIconType.language)); add(tablePanel);
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.edit); setBootstrapType(BootstrapType.PRIMARY); setChangingDisplayMode(true); }
@Override protected void onInitialize() { super.onInitialize(); modal = new ModalWindow("modal"); modal.setAutoSize(true); add(modal); initializeContent(modal); setAutoNotify(false); }
@Override protected void onConfigure() { super.onConfigure(); expanded = false; updateLabel(); }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.cloud_download); setBootstrapType(BootstrapType.PRIMARY); setChangingDisplayMode(true); } });
@Override protected void onConfigure() { super.onConfigure(); setVisible(!DisplayMode.EDIT.equals(displayModeModel.getObject())); }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.refresh); setBootstrapType(BootstrapType.PRIMARY); setBootstrapType(BootstrapType.WARNING); setChandingModel(true); }
@Override protected void onConfigure() { super.onConfigure(); setVisibilityAllowed(getModeModel().getObject().equals(DisplayMode.EDIT)); }
@Override protected void onConfigure() { super.onConfigure(); setVisible(getDashboardPanel().getModeObject().canModify()); } });
@Override protected void onConfigure() { super.onConfigure(); setVisible(getDashboardPanel().getModeObject().canModify()); } });