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

x33g5p2x  于2022-01-23 转载在 其他  
字(4.4k)|赞(0)|评价(0)|浏览(110)

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

Label.onConfigure介绍

暂无

代码示例

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

@Override
protected void onConfigure() {
  super.onConfigure();
  setVisible(token != null);
}

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

@Override
protected void onConfigure() {
  super.onConfigure();
  setVisible(!isEditingTitle);
}

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

@Override
protected void onConfigure() {
  super.onConfigure();
  setVisible(commitsModel.getObject().size()>WebConstants.MAX_DISPLAY_COMMITS);
}

代码示例来源:origin: inception-project/inception

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    setVisible(instancesModel.getObject().isEmpty());
  }
});

代码示例来源:origin: de.tudarmstadt.ukp.inception.app/inception-ui-kb

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    
    setVisible(isNotEmpty(aStatement.getObject().getLanguage()));
  }
});

代码示例来源:origin: inception-project/inception

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    
    String language = (String) this.getDefaultModelObject();
    setVisible(StringUtils.isNotEmpty(language));
  }
});

代码示例来源:origin: de.tudarmstadt.ukp.inception.app/inception-ui-kb

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    
    String language = (String) this.getDefaultModelObject();
    setVisible(StringUtils.isNotEmpty(language));
  }
});

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

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    
    setVisible(StringUtils
        .isNotBlank(LayerDetailForm.this.getModelObject().getName()));
  }
});

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

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    
    setVisible(StringUtils
        .isNotBlank(LayerDetailForm.this.getModelObject().getName()));
  }
});

代码示例来源:origin: com.googlecode.wicket-jquery-ui/wicket-jquery-ui-calendar

@Override
protected void onConfigure()
{
  super.onConfigure();
  this.add(AttributeModifier.replace("data-title", this.getDefaultModel()));
}

代码示例来源:origin: apache/wicket

@Override
protected void onConfigure()
{
  setRenderBodyOnly(Strings.isEmpty(getDefaultModelObjectAsString()));
  super.onConfigure();
}

代码示例来源:origin: apache/wicket

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    timeField.configure();
    
    setVisible(timeField.isVisible());
  }
});

代码示例来源:origin: apache/wicket

@Override
  protected void onConfigure()
  {
    super.onConfigure();
    minutesField.configure();
    setVisible(minutesField.isVisible());
  }
});

代码示例来源: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: OrienteerBAP/Orienteer

@Override
  protected void onConfigure() {
    super.onConfigure();
    OrienteerUser user = getModelObject();
    setVisible(user.getDocument().getIdentity().isValid());
  }
};

代码示例来源:origin: vineetsemwal/quickview

@Override
protected void onConfigure() {
  super.onConfigure();
   // no need to render for the last page hence check if current page smaller than (pages count -1)
  setVisible(navigator.getRepeater().getCurrentPage() < navigator.getRepeater().getPageCount()-1) ;
}

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

@Override
protected void onConfigure() {
  super.onConfigure();
  
  setVisible(getPullRequest().isMerged() || !SecurityUtils.canModify(getPullRequest()));                        
}

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

@Override
protected void onConfigure() {
  super.onConfigure();
  
  setVisible(context.getProject().getBlob(context.getBlobIdent()).getText() != null);
}

代码示例来源:origin: org.wicketstuff/quickview

@Override
protected void onConfigure() {
  super.onConfigure();
   // no need to render for the last page hence check if current page smaller than (pages count -1)
  setVisible(navigator.getRepeater().getCurrentPage() < navigator.getRepeater().getPageCount()-1) ;
}

相关文章