本文整理汇总了Java中com.google.gwt.resources.client.ImageResource.RepeatStyle.None方法的典型用法代码示例。如果您正苦于以下问题:Java RepeatStyle.None方法的具体用法?Java RepeatStyle.None怎么用?Java RepeatStyle.None使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.google.gwt.resources.client.ImageResource.RepeatStyle
的用法示例。
在下文中一共展示了RepeatStyle.None方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: checkBoxBG
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource
checkBoxBG();
示例2:
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource
select_icon();
示例3: exceptionDialogCloseIcon
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@Source("image/close.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource exceptionDialogCloseIcon();
示例4: exceptionDialogCloseIconHover
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@Source("image/close_hover.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource exceptionDialogCloseIconHover();
示例5: dialogTopLeft
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@Source("image/dialogbox/panel_top_left.png")
@ImageOptions(width = 8, repeatStyle = RepeatStyle.None)
ImageResource dialogTopLeft();
示例6: dialogTopRight
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@Source("image/dialogbox/panel_top_right.png")
@ImageOptions(width = 8, repeatStyle = RepeatStyle.None)
ImageResource dialogTopRight();
示例7: dialogBottomLeft
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@Source("image/dialogbox/panel_bottom_left.png")
@ImageOptions(width = 8, height = 8, repeatStyle = RepeatStyle.None)
ImageResource dialogBottomLeft();
示例8: getRepeatStyle
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
public RepeatStyle getRepeatStyle() {
return options == null ? RepeatStyle.None : options.repeatStyle();
}
示例9: poweredByGeomajas
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
/** Background for the {@link Watermark}. */
@Source("image/powered_by_geomajas.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource poweredByGeomajas();
示例10: zoomToRectangle
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
/** Icon for the {@link org.geomajas.gwt.client.widget.control.ZoomToRectangleWidget}. */
@Source("image/map-zoom-to-rect.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource zoomToRectangle();
示例11: zoomToRectangleHover
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
/** Icon for the {@link org.geomajas.gwt.client.widget.control.ZoomToRectangleWidget} when highlighted. */
@Source("image/map-zoom-to-rect-hover.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource zoomToRectangleHover();
示例12: popoverArrowDownImage
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
@Source("theme/img/popover-arrow-parking-down.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
public ImageResource popoverArrowDownImage();
示例13: createSprite
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
private void createSprite(CssDeclarationNode declaration) {
List<CssValueNode> valuesNodes = declaration.getPropertyValue().getChildren();
if (valuesNodes.size() != 1) {
errorManager.report(new GssError(SPRITE_PROPERTY_NAME + " must have exactly one value",
declaration.getSourceCodeLocation()));
}
String imageResource = valuesNodes.get(0).getValue();
JMethod imageMethod;
try {
imageMethod = ResourceGeneratorUtil.getMethodByPath(context.getClientBundleType(),
getPathElement(imageResource), imageResourceType);
} catch (NotFoundException e) {
errorManager.report(new GssError("Unable to find ImageResource method "
+ imageResource + " in " + context.getClientBundleType().getQualifiedSourceName() + " : "
+ e.getMessage(), declaration.getSourceCodeLocation()));
return;
}
ImageOptions options = imageMethod.getAnnotation(ImageOptions.class);
RepeatStyle repeatStyle = options != null ? options.repeatStyle() : RepeatStyle.None;
Builder<CssDeclarationNode> listBuilder = ImmutableList.builder();
SourceCodeLocation sourceCodeLocation = declaration.getSourceCodeLocation();
String repeatText;
switch (repeatStyle) {
case None:
repeatText = " no-repeat";
listBuilder.add(buildHeightDeclaration(imageResource, sourceCodeLocation));
listBuilder.add(buildWidthDeclaration(imageResource, sourceCodeLocation));
break;
case Horizontal:
repeatText = " repeat-x";
listBuilder.add(buildHeightDeclaration(imageResource, sourceCodeLocation));
break;
case Vertical:
repeatText = " repeat-y";
listBuilder.add(buildWidthDeclaration(imageResource, sourceCodeLocation));
break;
case Both:
repeatText = " repeat";
break;
default:
errorManager.report(new GssError("Unknown repeatStyle " + repeatStyle,
sourceCodeLocation));
return;
}
listBuilder.add(buildOverflowDeclaration(sourceCodeLocation));
listBuilder.add(buildBackgroundDeclaration(imageResource, repeatText, sourceCodeLocation));
visitController.replaceCurrentBlockChildWith(listBuilder.build(), false);
}
示例14: panControlTopHover
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
/** Top pan button for the {@link org.geomajas.gwt2.client.widget.control.pan.PanControl} when highlighted. */
@Source("image/map-pan-top-hover.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource panControlTopHover();
示例15: zoomStepControlHandleHover
import com.google.gwt.resources.client.ImageResource.RepeatStyle; //导入方法依赖的package包/类
/** Zoom step handle for the {@link org.geomajas.gwt.client.widget.control.ZoomStepWidget} when highlighted. */
@Source("image/map-zoom-step-handle-hover.png")
@ImageOptions(repeatStyle = RepeatStyle.None)
ImageResource zoomStepControlHandleHover();