gpt4 book ai didi

org.carewebframework.ui.zk.ZKUtil.updateStyle()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-15 22:10:40 25 4
gpt4 key购买 nike

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

ZKUtil.updateStyle介绍

暂无

代码示例

代码示例来源:origin: org.carewebframework/org.carewebframework.ui.currentdatetime

public void setColor(String color) {
  this.color = color;
  ZKUtil.updateStyle(lblCurrentTime, "color", color);
}

代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.reporting

/**
 * Override to implement any special controller initialization logic.
 */
protected void initializeController() {
  log.trace("Initializing Controller");
  
  if (lblMessage != null) {
    lblMessage.setZclass("z-toolbar");
    ZKUtil.updateStyle(lblMessage, "text-align", "center");
  }
}

代码示例来源:origin: org.hspconsortium.carewebframework/cwf-ui-smart

/**
 * Sets the container as the wrapped component and registers itself to receive action
 * notifications from the container.
 */
public SmartPlugin() {
  super();
  ZKUtil.updateStyle(getContainer(), "overflow", "hidden");
}

代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.allergies

@Override
protected void renderItem(Listitem item, String dao) {
  super.renderItem(item, dao);
  
  if ("1".equals(piece(dao, U, 5))) {
    ZKUtil.updateStyle(item, "font-color", "blue");
  }
}

代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.notification

/**
 * Retrieve passed arguments. Initialize listbox renderers and models.
 */
@SuppressWarnings("unchecked")
@Override
public void doAfterCompose(Component comp) throws Exception {
  super.doAfterCompose(comp);
  recipients = (Collection<Recipient>) arg.get("recipients");
  ZKUtil.updateStyle(txtComment, "visibility", (Boolean) arg.get("showComment") ? null : "hidden");
  lstRecipients.setItemRenderer(new ItemRenderer(btnRemove));
  lstRecipients.setModel(modelRecipients);
  lstGroups.setItemRenderer(new ItemRenderer(btnAdd));
  lstGroups.setModel(modelGroups);
  lstUsers.setItemRenderer(new ItemRenderer(btnAdd));
  lstUsers.setModel(modelUsers);
  modelRecipients.addAll(recipients);
}

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

private void updateStyleTest(String oldStyle, String newStyle, String styleName, String oldValue, String newValue) {
  Div cmpt = new Div();
  cmpt.setStyle(oldStyle);
  String result = ZKUtil.updateStyle(cmpt, styleName, newValue);
  assertEquals(newStyle, cmpt.getStyle());
  assertEquals(oldValue, result);
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com