public class MarkerImagePart extends Object implements IBufferedPartFactory
Text.setMarkerImage(String)| Constructor and Description |
|---|
MarkerImagePart() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decodeKey(String rurl,
IExtendedParameterInfo param)
Decode the input and create a KEY for the request.
|
void |
generate(PartResponse pr,
DomApplication da,
Object key,
IResourceDependencyList rdl)
Generate image if is not in cache.
|
static String |
getBackgroundIconOnly()
Dynamically add background image for emptyMarker.
|
static String |
getBackgroundIconOnly(String icon)
Dynamically add background image for emptyMarker.
|
static String |
getBackgroundImage(String caption)
Dynamically add background image for emptyMarker.
|
static String |
getBackgroundImage(String icon,
String caption)
Dynamically add background image for emptyMarker.
|
static String |
getBackgroundImage(String icon,
String caption,
String color)
Dynamically add background image for emptyMarker.
|
static String |
getBackgroundImage(String icon,
String caption,
String color,
String font,
int size,
String spec) |
@Nonnull public Object decodeKey(@Nonnull String rurl, @Nonnull IExtendedParameterInfo param) throws Exception
IBufferedPartFactorydecodeKey in interface IBufferedPartFactoryExceptionpublic void generate(@Nonnull PartResponse pr, @Nonnull DomApplication da, @Nonnull Object key, @Nonnull IResourceDependencyList rdl) throws Exception
generate in interface IBufferedPartFactoryda - The Application on behalf of which this resource is generated.key - The key, as specified by decodeKey.rdl - When running in development mode, each file resource used should be added
to this list. The buffer code will use that list to check whether a source
for this thing has changed; if so it will be re-generated. This causes runtime
editability for parameter files of any buffered thingydoo.ExceptionIBufferedPartFactory.generate(to.etc.domui.server.parts.PartResponse, to.etc.domui.server.DomApplication, java.lang.Object, to.etc.domui.util.resources.IResourceDependencyList)public static String getBackgroundIconOnly()
public static String getBackgroundIconOnly(String icon)
icon - public static String getBackgroundImage(String caption)
caption - public static String getBackgroundImage(String icon, String caption)
icon - caption - public static String getBackgroundImage(String icon, String caption, String color)
icon - caption - color - Copyright © 2017 etc.to. All rights reserved.