public class JavaAwtImageValueSemanticsProvider extends ImageValueSemanticsProviderAbstract<Image>
ValueSemanticsProviderAndFacetAbstract.EqualByContent, ValueSemanticsProviderAndFacetAbstract.ImmutabilityFacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingREVERSE_BASE_64_CHARS| Constructor and Description |
|---|
JavaAwtImageValueSemanticsProvider(FacetHolder holder,
IsisConfiguration configuration,
ValueSemanticsProviderContext context) |
| Modifier and Type | Method and Description |
|---|---|
ObjectAdapter |
createValue(Image image) |
int |
getHeight(ObjectAdapter object) |
Image |
getImage(ObjectAdapter object) |
protected int[][] |
getPixels(Object object) |
Class<?> |
getValueClass() |
int |
getWidth(ObjectAdapter object) |
boolean |
isNoop()
Assume implementation is not a no-op.
|
protected Image |
setPixels(int[][] pixels) |
String |
toString() |
alwaysReplace, createImage, doEncode, doParse, doRestore, getAsByteArray, getFacetHolder, getIconName, getParser, getUnderlyingFacet, grabPixels, isDerived, restoreFromByteArray, setFacetHolder, setMask, setUnderlyingFacet, titleString, titleStringWithMaskcreateAdapter, determineNumberFormat, displayTitleOf, displayTitleOf, doParse, fromEncodedString, getAdaptedClass, getAdapterManager, getAuthenticationSessionProvider, getClock, getConfiguration, getContext, getDefaultsProvider, getDefaultValue, getDependencyInjector, getEncoderDecoder, getSpecification, getSpecificationLookup, isEqualByContent, isImmutable, parseableTitleOf, parseTextEntry, titleString, toEncodedString, typicalLengthfacetType, getIdentified, toStringValuespublic JavaAwtImageValueSemanticsProvider(FacetHolder holder, IsisConfiguration configuration, ValueSemanticsProviderContext context)
public int getHeight(ObjectAdapter object)
public Image getImage(ObjectAdapter object)
protected int[][] getPixels(Object object)
getPixels in class ImageValueSemanticsProviderAbstract<Image>public Class<?> getValueClass()
public int getWidth(ObjectAdapter object)
protected Image setPixels(int[][] pixels)
setPixels in class ImageValueSemanticsProviderAbstract<Image>public boolean isNoop()
FacetAbstractNo-op implementations should override and return true.
isNoop in interface FacetisNoop in class FacetAbstractpublic String toString()
toString in class ImageValueSemanticsProviderAbstract<Image>public ObjectAdapter createValue(Image image)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.