本文整理了Java中org.gwtbootstrap3.client.ui.Icon.<init>()
方法的一些代码示例,展示了Icon.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Icon.<init>()
方法的具体详情如下:
包路径:org.gwtbootstrap3.client.ui.Icon
类名称:Icon
方法名:<init>
暂无
代码示例来源:origin: org.uberfire/uberfire-runtime-plugins-client
@Override
public IsWidget getIcon() {
return new Icon(IconType.FILE);
}
}
代码示例来源:origin: org.uberfire/uberfire-runtime-plugins-client
@Override
public IsWidget getIcon() {
return new Icon(IconType.PENCIL);
}
}
代码示例来源:origin: org.uberfire/uberfire-runtime-plugins-client
@Override
public IsWidget getIcon() {
return new Icon(IconType.CERTIFICATE);
}
}
代码示例来源:origin: org.uberfire/uberfire-runtime-plugins-client
@Override
public IsWidget getIcon() {
return new Icon(IconType.SHARE);
}
}
代码示例来源:origin: kiegroup/appformer
@Override
public IsWidget getIcon() {
return new Icon(IconType.DESKTOP);
}
}
代码示例来源:origin: kiegroup/appformer
@Override
public IsWidget getIcon() {
return new Icon(IconType.FILE);
}
}
代码示例来源:origin: kiegroup/appformer
@Override
public IsWidget getIcon() {
return new Icon(IconType.CERTIFICATE);
}
}
代码示例来源:origin: stackoverflow.com
protected Icon getDragIcon(DragGestureEvent e, Point offset) {
return new Icon() {
public int getIconWidth() { return 0; }
public int getIconHeight() { return 0; }
public void paintIcon(Component c, Graphics g, int x, int y) {
}
};
}
代码示例来源:origin: kiegroup/appformer
@Override
public IsWidget getIcon() {
return new Icon(IconType.SHARE);
}
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
private Icon getActualIcon() {
if (icon == null) {
icon = new Icon();
render();
}
return icon;
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
private Icon getActualIcon() {
if (icon == null) {
icon = new Icon();
render();
}
return icon;
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
private Icon getActualIcon() {
if (icon == null) {
icon = new Icon();
render();
}
return icon;
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
private Icon getActualIcon() {
if (icon == null) {
icon = new Icon();
render();
}
return icon;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-widgets
@Override
public IsElement render(final BS3IconTypeGlyph glyph,
final double width,
final double height) {
final WidgetElementRendererView view = viewInstanceSupplier.get();
final Icon icon = new Icon(glyph.getIconType());
return view.setWidget(icon);
}
代码示例来源: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
public void setIcon(final IconType type) {
if (icon == null) {
icon = new Icon(type);
wrapper.add(icon);
} else {
icon.setType(type);
}
}
代码示例来源: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: oVirt/ovirt-engine
@Override
public void render(Context context, T value, SafeHtmlBuilder sb, String id) {
Icon icon = new Icon();
icon.setId(id);
StyleHelper.addEnumStyleName(icon, iconType);
icon.addStyleName(isEnabled(value) ? "icon-enabled" : "icon-disabled"); //$NON-NLS-1$ //$NON-NLS-2$
sb.append(SafeHtmlUtils.fromSafeConstant(icon.toString()));
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
private void configure() {
setPlacement(Placement.RIGHT);
setTrigger(Trigger.HOVER);
final Icon icon = new Icon(IconType.QUESTION);
icon.addStyleName("help-inline");
setWidget(icon);
configurePopoverContainer(getWidget().getElement());
getWidget().getElement().getStyle().setZIndex(Integer.MAX_VALUE);
}
内容来源于网络,如有侵权,请联系作者删除!