org.projectforge.web.wicket.WicketUtils.setStrong()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.1k)|赞(0)|评价(0)|浏览(98)

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

WicketUtils.setStrong介绍

暂无

代码示例

代码示例来源:origin: micromata/projectforge

/**
 * @see WicketUtils#setStrong(org.apache.wicket.markup.html.form.FormComponent)
 * @return this for chaining.
 */
public DivTextPanel setStrong()
{
 WicketUtils.setStrong(label);
 return this;
}

代码示例来源:origin: micromata/projectforge

/**
 * @return this for chaining.
 * @see WicketUtils#setStrong(org.apache.wicket.markup.html.form.FormComponent)
 */
public DiffTextPanel setStrong()
{
 WicketUtils.setStrong(label);
 return this;
}

代码示例来源:origin: micromata/projectforge

public static void createFirstName(final GridBuilder gridBuilder, final PFUserDO user)
{
 // First name
 final FieldsetPanel fs = gridBuilder.newFieldset(gridBuilder.getString("firstName"));
 final RequiredMaxLengthTextField firstName = new RequiredMaxLengthTextField(fs.getTextFieldId(),
   new PropertyModel<String>(user,
     "firstname"));
 firstName.setMarkupId("firstName").setOutputMarkupId(true);
 WicketUtils.setStrong(firstName);
 fs.add(firstName);
}

代码示例来源:origin: micromata/projectforge

public static void createLastName(final GridBuilder gridBuilder, final PFUserDO user)
{
 // Last name
 final FieldsetPanel fs = gridBuilder.newFieldset(gridBuilder.getString("name"));
 final RequiredMaxLengthTextField name = new RequiredMaxLengthTextField(fs.getTextFieldId(),
   new PropertyModel<String>(user, "lastname"));
 name.setMarkupId("lastName").setOutputMarkupId(true);
 WicketUtils.setStrong(name);
 fs.add(name);
}

代码示例来源:origin: micromata/projectforge

/**
  * @see org.apache.wicket.Component#onInitialize()
  */
 @Override
 protected void onInitialize()
 {
  super.onInitialize();
  getEditor().add(AttributeModifier.append("style", "width: 10em;"));
  WicketUtils.setStrong(getLabel());
  WicketUtils.setFontSizeLarge(getLabel());
  WicketUtils.addEditableLabelDefaultTooltip(getLabel());
 }
};

代码示例来源:origin: micromata/projectforge

WicketUtils.setStrong(name);
fs.add(name);
final RequiredMaxLengthTextField title = new RequiredMaxLengthTextField(fs.getTextFieldId(), new PropertyModel<String>(getSettings(),
  "title"), 100);
WicketUtils.setStrong(title);
fs.add(title);

代码示例来源:origin: micromata/projectforge

new PropertyModel<>(data, "username"));
usernameTextField.setMarkupId("userName").setOutputMarkupId(true);
WicketUtils.setStrong(usernameTextField);
fs.add(usernameTextField);
usernameTextField.add((IValidator<String>) validatable -> {

代码示例来源:origin: micromata/projectforge

WicketUtils.setStrong(organizationField);
fs.add(organizationField);
productField.withMatchContains(true).withMinChars(2);
productField.setRequired(true);
WicketUtils.setStrong(productField);
fs.add(productField);
  new PropertyModel<String>(data,
    "version"));
WicketUtils.setStrong(versionField);
fs.add(versionField);

代码示例来源:origin: micromata/projectforge

empfaengerTextField.withMatchContains(true).withMinChars(2).withFocus(true);
empfaengerTextField.setRequired(true);
WicketUtils.setStrong(empfaengerTextField);
fs.add(empfaengerTextField);

代码示例来源:origin: micromata/projectforge

absenderTextField.withMatchContains(true).withMinChars(2).withFocus(true);
absenderTextField.setRequired(true);
WicketUtils.setStrong(absenderTextField);
fs.add(absenderTextField);

代码示例来源:origin: micromata/projectforge

WicketUtils.setStrong(name);

代码示例来源:origin: micromata/projectforge

title.add(WicketUtils.setFocus());
WicketUtils.setStrong(title);
fs.add(title);
if (access == false) {

代码示例来源:origin: micromata/projectforge

fs.add(field);
WicketUtils.setFocus(field);
WicketUtils.setStrong(field);

代码示例来源:origin: micromata/projectforge

title.add(WicketUtils.setFocus());
WicketUtils.setStrong(title);
fs.add(title);
if (access == false) {

代码示例来源:origin: micromata/projectforge

final MaxLengthTextField title = new RequiredMaxLengthTextField(InputPanel.WICKET_ID,
  new PropertyModel<String>(data, "title"));
WicketUtils.setStrong(title);
fs.add(title);
if (isNew() == true) {

相关文章