org.gwtbootstrap3.client.ui.Icon.setType()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(120)

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

Icon.setType介绍

暂无

代码示例

代码示例来源:origin: org.uberfire/uberfire-widgets-commons

@Override
  public void onShow(ShowEvent showEvent) {
    caret.setType(IconType.CARET_UP);
  }
});

代码示例来源:origin: org.uberfire/uberfire-widgets-commons

@Override
  public void onHidden(HiddenEvent event) {
    caret.setType(IconType.CARET_DOWN);
  }
});

代码示例来源:origin: kiegroup/appformer

@Override
  public void onHidden(HiddenEvent event) {
    caret.setType(IconType.CARET_DOWN);
  }
});

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

@UiConstructor
public Icon(final IconType type) {
  this();
  setType(type);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

public void collapseGroupDatePanel() {
  groupDatePanel.setVisible(false);
  groupDetailsIcon.setType(IconType.ARROW_DOWN);
}

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

@Override
public void setIcon(IconType iconType) {
  getActualIcon().setType(iconType);
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

public void expandGroupDatePanel() {
  groupDatePanel.setVisible(true);
  groupDetailsIcon.setType(IconType.ARROW_UP);
}

代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3

@UiConstructor
public Icon(final IconType type) {
  this();
  setType(type);
}

代码示例来源:origin: kiegroup/appformer

public void collapseGroupDatePanel() {
  groupDatePanel.setVisible(false);
  groupDetailsIcon.setType(IconType.ARROW_DOWN);
}

代码示例来源:origin: org.uberfire/uberfire-apps-client

private void createIcon(TYPE type,
            String tooltip) {
  icon.setTitle(tooltip);
  icon.setType(type.icon());
}

代码示例来源:origin: kiegroup/appformer

private void createIcon(TYPE type,
            String tooltip) {
  icon.setTitle(tooltip);
  icon.setType(type.icon());
}

代码示例来源:origin: org.uberfire/uberfire-widgets-core-client

@Override
protected void onCloseState() {
  super.onCloseState();
  getIcon().setType(IconType.FOLDER);
}

代码示例来源:origin: kiegroup/appformer

@Override
protected void onOpenState() {
  super.onOpenState();
  getIcon().setType(IconType.FOLDER_OPEN);
}

代码示例来源:origin: org.uberfire/uberfire-widgets-commons

public void setIcon(final IconType type) {
  if (icon == null) {
    icon = new Icon(type);
    wrapper.add(icon);
  } else {
    icon.setType(type);
  }
}

代码示例来源:origin: kiegroup/appformer

@Override
protected void render(Context context,
           SafeHtml data,
           SafeHtmlBuilder sb) {
  Icon icon = GWT.create(Icon.class);
  if (tooltip != null) {
    icon.setTitle(tooltip);
  }
  icon.setSize(iconSize);
  icon.setType(iconType);
  sb.appendHtmlConstant(icon.getElement().getString());
}

代码示例来源:origin: org.uberfire/uberfire-runtime-plugins-client

@Override
protected void render(Context context,
           SafeHtml data,
           SafeHtmlBuilder sb) {
  Icon icon = GWT.create(Icon.class);
  if (tooltip != null) {
    icon.setTitle(tooltip);
  }
  icon.setSize(iconSize);
  icon.setType(iconType);
  sb.appendHtmlConstant(icon.getElement().getString());
}

代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client

@Override
public void init(DataSetLookupEditor presenter) {
  this.presenter = presenter;
  this.filterEditor = presenter.getFilterEditor();
  this.groupDateEditor = presenter.getGroupDateEditor();
  initWidget(uiBinder.createAndBindUi(this));
  groupDetailsIcon.setType(IconType.ARROW_DOWN);
  groupDetailsIcon.addDomHandler(this::expandCollapseGroupDetails, ClickEvent.getType());
}

代码示例来源:origin: kiegroup/appformer

@Override
public void init(DataSetLookupEditor presenter) {
  this.presenter = presenter;
  this.filterEditor = presenter.getFilterEditor();
  this.groupDateEditor = presenter.getGroupDateEditor();
  initWidget(uiBinder.createAndBindUi(this));
  groupDetailsIcon.setType(IconType.ARROW_DOWN);
  groupDetailsIcon.addDomHandler(this::expandCollapseGroupDetails, ClickEvent.getType());
}

代码示例来源:origin: org.uberfire/uberfire-workbench-client-views-patternfly

private void init() {
  initWidget(panel);
  addStyleName("uf-help-icon");
  icon.setType(IconType.INFO_CIRCLE);
  popover.setWidget(icon);
  popover.setContainer("body");
  popover.setIsHtml(true);
  popover.setPlacement(Placement.AUTO);
  panel.setWidget(popover);
}

代码示例来源:origin: kiegroup/appformer

private void init() {
  initWidget(panel);
  addStyleName("uf-help-icon");
  icon.setType(IconType.INFO_CIRCLE);
  popover.setWidget(icon);
  popover.setContainer("body");
  popover.setIsHtml(true);
  popover.setPlacement(Placement.AUTO);
  panel.setWidget(popover);
}

相关文章