Метод | Описание | |
---|---|---|
Add ( Object value, Object image ) : void |
Register the image that should be drawn when our Aspect has the data value.
|
|
Boolean ( Object trueImage, Object falseImage ) : |
Return a renderer that draw boolean values using the given images
|
|
MappedImageRenderer ( ) : System |
Make a new empty renderer
|
|
MappedImageRenderer ( Object keysAndImages ) : System |
Build a renderer from the given array of keys and their matching images
|
|
MappedImageRenderer ( Object key, Object image ) : System |
Make a new renderer that will show the given image when the given key is the aspect value
|
|
MappedImageRenderer ( Object key1, Object image1, Object key2, Object image2 ) : System |
Make a new renderer that will show the given images when it receives the given keys
|
|
Render ( |
Render our value
|
|
TriState ( Object trueImage, Object falseImage, Object nullImage ) : |
Return a renderer that draw tristate boolean values using the given images
|
Метод | Описание | |
---|---|---|
RenderCollection ( |
Draw a collection of images
|
|
RenderOne ( |
Draw one image
|
public Add ( Object value, Object image ) : void | ||
value | Object | Value that the Aspect must match |
image | Object | An ImageSelector -- an int, string or image |
Результат | void |
public static Boolean ( Object trueImage, Object falseImage ) : |
||
trueImage | Object | Draw this when our data value is true |
falseImage | Object | Draw this when our data value is false |
Результат |
public MappedImageRenderer ( Object keysAndImages ) : System | ||
keysAndImages | Object | An array of key/image pairs |
Результат | System |
public MappedImageRenderer ( Object key, Object image ) : System | ||
key | Object | The data value to be matched |
image | Object | The image to be shown when the key is matched |
Результат | System |
public MappedImageRenderer ( Object key1, Object image1, Object key2, Object image2 ) : System | ||
key1 | Object | |
image1 | Object | |
key2 | Object | |
image2 | Object | |
Результат | System |
public Render ( |
||
g | ||
r | ||
Результат | void |
protected RenderCollection ( |
||
g | ||
r | ||
imageSelectors | ICollection | |
Результат | void |
protected RenderOne ( |
||
g | ||
r | ||
selector | Object | |
Результат | void |
public static TriState ( Object trueImage, Object falseImage, Object nullImage ) : |
||
trueImage | Object | Draw this when our data value is true |
falseImage | Object | Draw this when our data value is false |
nullImage | Object | Draw this when our data value is null |
Результат |