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

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

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

Icon.setSize介绍

暂无

代码示例

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

@Override
public void setIconSize(IconSize iconSize) {
  getActualIcon().setSize(iconSize);
}

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

@Override
public void setIconSize(IconSize iconSize) {
  getActualIcon().setSize(iconSize);
}

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

@Override
public void setIconSize(IconSize iconSize) {
  getActualIcon().setSize(iconSize);
}

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

@Override
public void setIconSize(IconSize iconSize) {
  getActualIcon().setSize(iconSize);
}

代码示例来源: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: 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.gwtbootstrap3/gwtbootstrap3-extras

private String createIconHtml(IconType iconType) {
  // Fix incorrect handle width when using icons
  setHandleWidth("30");
  final Icon icon = new Icon(iconType);
  icon.setSize(IconSize.LARGE);
  return icon.getElement().getString();
}

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

private String createIconHtml(IconType iconType) {
  // Fix incorrect handle width when using icons
  setHandleWidth("30");
  final Icon icon = new Icon(iconType);
  icon.setSize(IconSize.LARGE);
  return icon.getElement().getString();
}

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

leftPageIcon.setSize(IconSize.LARGE );
leftPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
leftPageIcon.sinkEvents(Event.ONCLICK);
rightPageIcon.setSize(IconSize.LARGE);
rightPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
rightPageIcon.sinkEvents(Event.ONCLICK);
firstPageIcon.setSize(IconSize.LARGE);
firstPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
firstPageIcon.sinkEvents(Event.ONCLICK);
lastPageIcon.setSize(IconSize.LARGE);
lastPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
lastPageIcon.sinkEvents(Event.ONCLICK);

代码示例来源:origin: org.dashbuilder/dashbuilder-renderer-google

leftPageIcon.setSize(IconSize.LARGE );
leftPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
leftPageIcon.sinkEvents(Event.ONCLICK);
rightPageIcon.setSize(IconSize.LARGE);
rightPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
rightPageIcon.sinkEvents(Event.ONCLICK);
firstPageIcon.setSize(IconSize.LARGE);
firstPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
firstPageIcon.sinkEvents(Event.ONCLICK);
lastPageIcon.setSize(IconSize.LARGE);
lastPageIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
lastPageIcon.sinkEvents(Event.ONCLICK);

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

icon = new Icon();
icon.setType(iconType);
icon.setSize(iconSize);
icon.setFlip(iconFlip);
icon.setRotate(iconRotate);

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

icon = new Icon();
icon.setType(iconType);
icon.setSize(iconSize);
icon.setFlip(iconFlip);
icon.setRotate(iconRotate);

相关文章