Tabnine Logo
Panel.setVisible
Code IndexAdd Tabnine to your IDE (free)

How to use
setVisible
method
in
org.apache.wicket.markup.html.panel.Panel

Best Java code snippets using org.apache.wicket.markup.html.panel.Panel.setVisible (Showing top 13 results out of 315)

origin: OrienteerBAP/Orienteer

  protected Panel createFooterPanel(String id) {
    Panel panel = new EmptyPanel(id);
    panel.setVisible(false);
    return panel;
  }
}
origin: OrienteerBAP/Orienteer

@Override
protected void onConfigure() {
  super.onConfigure();
  if (showOrienteerModulesPanel) {
    orienteerModulesPanel.setVisible(true);
    userModulePanel.setVisible(false);
  } else {
    userModulePanel.setVisible(true);
    orienteerModulesPanel.setVisible(false);
  }
}
origin: micromata/projectforge

/**
 * Override this method if you need a top panel. The default top panel is empty and not visible.
 */
protected void addTopPanel()
{
 final Panel topPanel = new EmptyPanel("topPanel");
 topPanel.setVisible(false);
 form.add(topPanel);
}
origin: org.onehippo.cms7/hippo-cms-workflowmenu

private List<Panel> buildPanelsForCategories(final MenuHierarchy menu, final Node subject, String[] categories) throws RepositoryException {
  List<Panel> list = new ArrayList<>();
  for (final String category : categories) {
    List<Panel> panels = buildPanelsForCategory(subject, category);
    for (Panel panel : panels) {
      panel.visitChildren(Panel.class, new MenuVisitor(menu, category));
      panel.setVisible(false);
      list.add(panel);
    }
  }
  return list;
}
origin: micromata/projectforge

/**
 * Override this method if you need a bottom panel. The default bottom panel is empty and not visible.
 */
protected void addBottomPanel(final String id)
{
 final Panel bottomPanel = new EmptyPanel(id);
 bottomPanel.setVisible(false);
 form.add(bottomPanel);
}
origin: com.premiumminds/pm-wicket-utils

public void removeItem(AjaxRequestTarget target){
  Panel panel = new EmptyPanel("container");
  addOrReplace(panel);
  panel.setOutputMarkupId(true);
  panel.setVisible(false);
  target.add(panel);
}

origin: ro.fortsoft.wicket.dashboard/wicket-dashboard-core

@Override
public void onClick(AjaxRequestTarget target) {
  if (widget.hasSettings()) {
    WidgetPanel widgetPanel = findParent(WidgetPanel.class);
    Panel settingsPanel = widgetPanel.getSettingsPanel();
    settingsPanel.setVisible(true);
    target.add(settingsPanel);
  }
}
origin: decebals/wicket-dashboard

@Override
public void onClick(AjaxRequestTarget target) {
  if (widget.hasSettings()) {
    WidgetPanel widgetPanel = findParent(WidgetPanel.class);
    Panel settingsPanel = widgetPanel.getSettingsPanel();
    settingsPanel.setVisible(true);
    target.add(settingsPanel);
  }
}
origin: ro.fortsoft.wicket.dashboard/wicket-dashboard-core

public WidgetPanel(String id, IModel<Widget> model) {
  super(id, model);
  
  Widget widget = model.getObject(); 
    
  setOutputMarkupId(true);
  
  widgetHeaderPanel = new WidgetHeaderPanel("header", model);
  add(widgetHeaderPanel);
  
  if (model.getObject().hasSettings()) {
    settingsPanel = widget.createSettingsPanel("settings");
  } else {
    settingsPanel = new EmptyPanel("settings");
  }
  settingsPanel.setOutputMarkupPlaceholderTag(true);
  settingsPanel.setVisible(false);
  add(settingsPanel);
    
  widgetView = model.getObject().createView("content"); 
  add(widgetView);
}
origin: decebals/wicket-dashboard

public WidgetPanel(String id, IModel<Widget> model) {
  super(id, model);
  
  Widget widget = model.getObject(); 
    
  setOutputMarkupId(true);
  
  widgetHeaderPanel = new WidgetHeaderPanel("header", model);
  add(widgetHeaderPanel);
  
  if (model.getObject().hasSettings()) {
    settingsPanel = widget.createSettingsPanel("settings");
  } else {
    settingsPanel = new EmptyPanel("settings");
  }
  settingsPanel.setOutputMarkupPlaceholderTag(true);
  settingsPanel.setVisible(false);
  add(settingsPanel);
    
  widgetView = model.getObject().createView("content"); 
  add(widgetView);
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-monitoring

      .add(annotatorsProgressPercentageImage).add(projectName)
      .add(annotationDocumentStatusTable));
  annotationDocumentStatusTable.setVisible(false);
}else{
  annotationDocumentStatusTable = new EmptyPanel("rsTable");
  monitoringDetailForm.setVisible(false);
  add(monitoringDetailForm);
  annotationDocumentStatusTable.setVisible(false);
  annotatorsProgressImage.setVisible(false);
  annotatorsProgressPercentageImage.setVisible(false);
origin: webanno/webanno

      .add(annotatorsProgressPercentageImage)
      .add(annotationDocumentStatusTable));
  annotationDocumentStatusTable.setVisible(false);
} else {
  annotationDocumentStatusTable = new EmptyPanel("rsTable");
  monitoringDetailForm.setVisible(false);
  add(monitoringDetailForm);
  annotationDocumentStatusTable.setVisible(false);
  annotatorsProgressImage.setVisible(false);
  annotatorsProgressPercentageImage.setVisible(false);
origin: org.geoserver.web/gs-web-core

    !(deprecated && isEmpty(parameterValue))
        && !paramMetadata.getLevel().equals("program");
parameterPanel.setVisible(visible);
parameterPanel.setVisibilityAllowed(visible);
org.apache.wicket.markup.html.panelPanelsetVisible

Popular methods of Panel

  • renderHead
    Check the associated markup file for a wicket header tag
  • onBeforeRender
  • onInitialize
  • onConfigure
  • onComponentTag
  • onDetach
  • setOutputMarkupId
  • add
  • setDefaultModel
  • onAfterRender
  • detachModel
  • detachModels
  • detachModel,
  • detachModels,
  • getId,
  • onModelChanged,
  • remove,
  • replaceWith,
  • getMarkupId,
  • onComponentTagBody,
  • setMarkupId

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JOptionPane (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now