org.apache.wicket.markup.html.form.CheckBox.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(6.8k)|赞(0)|评价(0)|浏览(149)

本文整理了Java中org.apache.wicket.markup.html.form.CheckBox.<init>()方法的一些代码示例,展示了CheckBox.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.<init>()方法的具体详情如下:
包路径:org.apache.wicket.markup.html.form.CheckBox
类名称:CheckBox
方法名:<init>

CheckBox.<init>介绍

暂无

代码示例

代码示例来源:origin: org.geoserver.web/gs-web-sec-core

public BasicAuthFilterPanel(String id, IModel<BasicAuthenticationFilterConfig> model) {
    super(id, model);

    add(new CheckBox("useRememberMe"));
  }
}

代码示例来源:origin: org.geoserver.web/gs-web-core

public CheckBoxParamPanel(final String id, final IModel model, final IModel paramLabelModel) {
  super(id, model);
  Label label = new Label("paramName", paramLabelModel);
  checkBox = new CheckBox("paramValue", model);
  add(label);
  add(checkBox);
}

代码示例来源:origin: org.geoserver.web/web-core

public CheckBoxParamPanel(final String id, final IModel model, final IModel paramLabelModel) {
  super(id, model);
  Label label = new Label("paramName", paramLabelModel);
  checkBox = new CheckBox("paramValue", model);
  add(label);
  add(checkBox);
}

代码示例来源:origin: org.geoserver.web/gs-web-sec-core

public MasterPasswordProviderPanel(String id, IModel<T> model) {
  super(id, model);
  add(new CheckBox("readOnly"));
  add(new CheckBox("loginEnabled"));
  add(new HelpLink("settingsHelp", this).setDialog(dialog));
}

代码示例来源:origin: org.geoserver.web/web-core

public BasicLayerConfig(String id, IModel model) {
  super(id, model);
  init();
  // atm the layer follows the resource name, so it's not editable
  TextField name = new TextField("name");
  name.setEnabled(false);
  
  add(name);
  add(new CheckBox("enabled"));
  add(new CheckBox("advertised"));
}

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/webanno-api-annotation

public BooleanFeatureEditor(String aId, MarkupContainer aItem, IModel<FeatureState> aModel)
{
  super(aId, aItem, new CompoundPropertyModel<>(aModel));
  add(new Label("feature", getModelObject().feature.getUiName()));
  field = new CheckBox("value");
  add(field);
}

代码示例来源:origin: org.geoserver.web/web-sec-core

public MasterPasswordProviderPanel(String id, IModel<T> model) {
  super(id, model);
  add(new CheckBox("readOnly"));
  add(new HelpLink("settingsHelp", this).setDialog(dialog));
}

代码示例来源:origin: org.openengsb.ui/org.openengsb.ui.common

@Override
  protected ModelFacade<Boolean> createFormComponent(AttributeDefinition attribute, IModel<String> model) {
    CheckBox check = new CheckBox("field", new BoolToStringModel(model));
    ModelFacade<Boolean> retVal = new ModelFacade<Boolean>();
    retVal.setMainComponent(check);
    return retVal;
  }
}

代码示例来源:origin: org.geoserver.security/sec-jdbc

public JDBCRoleServicePanel(String id, IModel<JDBCRoleServiceConfig> model) {
    super(id, model);

    add(new JDBCConnectionPanel("cx", model));
    add(new CheckBox("creatingTables"));
    add(new TextField("propertyFileNameDDL"));
    add(new TextField("propertyFileNameDML"));
  }
}

代码示例来源:origin: org.geoserver.web/gs-web-sec-jdbc

public JDBCUserGroupServicePanel(String id, IModel<JDBCUserGroupServiceConfig> model) {
    super(id, model);

    add(new JDBCConnectionPanel("cx", model));
    add(new CheckBox("creatingTables"));
    add(new TextField("propertyFileNameDDL"));
    add(new TextField("propertyFileNameDML"));
  }
}

代码示例来源:origin: org.geoserver.web/web-sec-jdbc

public JDBCRoleServicePanel(String id, IModel<JDBCRoleServiceConfig> model) {
    super(id, model);

    add(new JDBCConnectionPanel("cx", model));
    add(new CheckBox("creatingTables"));
    add(new TextField("propertyFileNameDDL"));
    add(new TextField("propertyFileNameDML"));
  }
}

代码示例来源:origin: org.geoserver.web/gs-web-sec-core

public XMLUserGroupServicePanel(String id, IModel<XMLUserGroupServiceConfig> model) {
    super(id, model);

    add(new TextField("fileName").setEnabled(isNew()));
    add(new CheckBox("validating"));
    add(new TextField("checkInterval"));
  }
}

代码示例来源:origin: org.geoserver.security/sec-jdbc

public JDBCUserGroupServicePanel(String id, IModel<JDBCUserGroupServiceConfig> model) {
    super(id, model);

    add(new JDBCConnectionPanel("cx", model));
    add(new CheckBox("creatingTables"));
    add(new TextField("propertyFileNameDDL"));
    add(new TextField("propertyFileNameDML"));
  }
}

代码示例来源:origin: org.geoserver.web/web-sec-jdbc

public JDBCUserGroupServicePanel(String id, IModel<JDBCUserGroupServiceConfig> model) {
    super(id, model);

    add(new JDBCConnectionPanel("cx", model));
    add(new CheckBox("creatingTables"));
    add(new TextField("propertyFileNameDDL"));
    add(new TextField("propertyFileNameDML"));
  }
}

代码示例来源:origin: org.geoserver.web/gs-web-sec-core

public XMLRoleServicePanel(String id, IModel<XMLRoleServiceConfig> model) {
    super(id, model);

    add(new TextField("fileName").setEnabled(isNew()));
    add(new CheckBox("validating"));
    add(new TextField("checkInterval"));
  }
}

代码示例来源:origin: org.geoserver.web/web-security

public XMLRoleServicePanel(String id, IModel<XMLRoleServiceConfig> model) {
    super(id, model);

    add(new TextField("fileName").setEnabled(isNew()));
    add(new CheckBox("validating"));
    add(new TextField("checkInterval"));
  }
}

代码示例来源:origin: org.geoserver.web/web-sec-core

public XMLUserGroupServicePanel(String id, IModel<XMLUserGroupServiceConfig> model) {
    super(id, model);

    add(new TextField("fileName").setEnabled(isNew()));
    add(new CheckBox("validating"));
    add(new TextField("checkInterval"));
  }
}

代码示例来源:origin: org.geoserver.web/web-sec-core

public XMLRoleServicePanel(String id, IModel<XMLRoleServiceConfig> model) {
    super(id, model);

    add(new TextField("fileName").setEnabled(isNew()));
    add(new CheckBox("validating"));
    add(new TextField("checkInterval"));
  }
}

代码示例来源:origin: org.geoserver.web/web-wcs

protected void build(IModel info, Form form) {
  // overview policy
  form.add(new DropDownChoice("overviewPolicy", Arrays.asList(OverviewPolicy.values()), new OverviewPolicyRenderer()));
  form.add(new CheckBox("subsamplingEnabled"));
  
  // resource limits
  TextField maxInputMemory = new TextField("maxInputMemory");
  maxInputMemory.add(new MinimumValidator(0l));
  form.add(maxInputMemory);
  TextField maxOutputMemory = new TextField("maxOutputMemory");
  maxOutputMemory.add(new MinimumValidator(0l));
  form.add(maxOutputMemory);
}

代码示例来源:origin: org.geoserver.web/web-core

public HTTPLayerConfig(String id, IModel model){
    super(id, model);
    add(new CheckBox("cachingEnabled", new MapModel(new PropertyModel(model, "resource.metadata"), "cachingEnabled")));
    TextField maxAge = new TextField("cacheAgeMax", new MapModel(new PropertyModel(model, "resource.metadata"), "cacheAgeMax"), Long.class);
    maxAge.add(NumberValidator.range(0, Long.MAX_VALUE));
    add(maxAge);
  }
}

相关文章