|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Image cytoscape.render.export.ImageImposter
public final class ImageImposter
The primary purpose of this class is to enable an arbitrary Graphics object to receive rendering calls from a cytoscape.render.immed.GraphGraphics instance. This, in turn, can be used to render a graph directly to a scalar vector graphic.
Field Summary |
---|
Fields inherited from class java.awt.Image |
---|
accelerationPriority, SCALE_AREA_AVERAGING, SCALE_DEFAULT, SCALE_FAST, SCALE_REPLICATE, SCALE_SMOOTH, UndefinedProperty |
Constructor Summary | |
---|---|
ImageImposter(Graphics graphics,
int width,
int height)
The Graphics object that is passed into this constructor is not modified in any way, ever. |
Method Summary | |
---|---|
void |
flush()
This is a no-op. |
Graphics |
getGraphics()
Returns a copy of the Graphics object that was passed into the constructor. |
int |
getHeight(ImageObserver observer)
Simply returns the height that was passed into the constructor. |
Object |
getProperty(String name,
ImageObserver observer)
No properties are defined on this image, ever; this returns UndefinedProperty, always. |
ImageProducer |
getSource()
This method simply throws an UnsupportedOperationException. |
int |
getWidth(ImageObserver observer)
Simply returns the width that was passed into the constructor. |
Methods inherited from class java.awt.Image |
---|
getAccelerationPriority, getCapabilities, getScaledInstance, setAccelerationPriority |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageImposter(Graphics graphics, int width, int height)
Method Detail |
---|
public final int getWidth(ImageObserver observer)
getWidth
in class Image
public final int getHeight(ImageObserver observer)
getHeight
in class Image
public final ImageProducer getSource()
getSource
in class Image
public final Graphics getGraphics()
getGraphics
in class Image
public final Object getProperty(String name, ImageObserver observer)
getProperty
in class Image
public final void flush()
flush
in class Image
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |