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

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

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

CheckBox.onConfigure介绍

暂无

代码示例

代码示例来源:origin: theonedev/onedev

@Override
protected void onConfigure() {
  super.onConfigure();
  setEnabled(!administratorInput.getModelObject());
}

代码示例来源:origin: theonedev/onedev

@Override
protected void onConfigure() {
  super.onConfigure();
  setEnabled(!administratorInput.getModelObject());
}

代码示例来源:origin: theonedev/onedev

@Override
protected void onConfigure() {
  super.onConfigure();
  setVisible(mergeBase != null && !mergeBase.equals(leftCommitId));
}

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

@Override
protected void onConfigure()
{
  super.onConfigure();
  
  String layertype = FeatureDetailForm.this.getModelObject().getLayer().getType();
  // Currently not configurable for chains or relations
  // TODO: technically it is possible
  setVisible(!CHAIN_TYPE.equals(layertype) && !RELATION_TYPE.equals(layertype));
}

代码示例来源:origin: webanno/webanno

@Override
protected void onConfigure()
{
  super.onConfigure();
  
  String layertype = FeatureDetailForm.this.getModelObject().getLayer().getType();
  // Currently not configurable for chains or relations
  // TODO: technically it is possible
  setVisible(!CHAIN_TYPE.equals(layertype) && !RELATION_TYPE.equals(layertype));
}

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.project

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    AnnotationLayer layer = LayerDetailForm.this.getModelObject();
    setVisible(!isBlank(layer.getType()) && CHAIN_TYPE.equals(layer.getType()));
  }
});

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.project

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    AnnotationLayer layer = LayerDetailForm.this.getModelObject();
    // Makes no sense for relation layers or layers that attach to tokens
    setVisible(!isBlank(layer.getType()) && !RELATION_TYPE.equals(layer.getType())
        && !CHAIN_TYPE.equals(layer.getType())
        && layer.getAttachFeature() == null);
  }
});

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.project

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    AnnotationLayer layer = LayerDetailForm.this.getModelObject();
    // Makes no sense for layers that attach to tokens
    setVisible(!isBlank(layer.getType()) && layer.getAttachFeature() == null
        && !CHAIN_TYPE.equals(layer.getType()));
  }
});

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.project

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    AnnotationLayer layer = LayerDetailForm.this.getModelObject();
    // Makes no sense for layers that attach to tokens
    setVisible(!isBlank(layer.getType()) && layer.getAttachFeature() == null
        && !CHAIN_TYPE.equals(layer.getType()));
  }
});

代码示例来源:origin: de.tudarmstadt.ukp.clarin.webanno/de.tudarmstadt.ukp.clarin.webanno.project

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    AnnotationLayer layer = LayerDetailForm.this.getModelObject();
    // Makes no sense for relation layers or layers that attach to tokens
    setVisible(!isBlank(layer.getType()) && !RELATION_TYPE.equals(layer.getType())
        && !CHAIN_TYPE.equals(layer.getType())
        && layer.getAttachFeature() == null);
  }
});

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

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    setEnabled(AgreementForm.this.getModelObject().measure.isNullValueSupported());
  }
});

代码示例来源:origin: webanno/webanno

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    
    setVisible(isForwardable());
    if (!isForwardable()) {
      AnnotationFeatureForm.this.getModelObject().setForwardAnnotation(false);
    }
  }
};

代码示例来源:origin: webanno/webanno

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    
    setEnabled(AgreementForm.this.getModelObject().measure.isNullValueSupported());
  }
});

相关文章