com.vinculumtech.carrierwave.source
Class DelegatingImageSource
java.lang.Object
com.vinculumtech.carrierwave.source.AbstractImageSource
com.vinculumtech.carrierwave.source.DelegatingImageSource
- All Implemented Interfaces:
- ImageSource
- public class DelegatingImageSource
- extends AbstractImageSource
- Version:
- $Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/source/DelegatingImageSource.java#5 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_KEY
public static final java.lang.String DEFAULT_KEY
- See Also:
- Constant Field Values
DelegatingImageSource
public DelegatingImageSource(UnaryFunction keyFunction,
ImageSource childImageSource)
DelegatingImageSource
protected DelegatingImageSource()
getKeyFunction
public UnaryFunction getKeyFunction()
setKeyFunction
public void setKeyFunction(UnaryFunction keyFunction)
getChildImageSource
public ImageSource getChildImageSource()
setChildImageSource
public void setChildImageSource(ImageSource childImageSource)
getImageFromChildImageSource
protected Image getImageFromChildImageSource(Icon icon)
getImageGraphs
public java.util.Map getImageGraphs()
getDefaultImageGraph
public ImageGraph getDefaultImageGraph()
setDefaultImageGraph
public void setDefaultImageGraph(ImageGraph defaultImageGraph)
getImageGraph
protected ImageGraph getImageGraph(java.lang.Object key)
putImageGraph
protected void putImageGraph(java.lang.Object key,
ImageGraph imageGraph)
removeImageGraph
protected void removeImageGraph(java.lang.Object key)
createNewRespectiveImageGraph
protected ImageGraph createNewRespectiveImageGraph()
- Should be overriden to return specialized versions of RespectiveImageGraph.
getImage
public Image getImage(Icon icon)
createKey
protected java.lang.Object createKey(Icon icon)
createKey
protected java.lang.Object createKey(Image image)
findKey
protected java.lang.Object findKey(Icon icon)
Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.