net.sf.taverna.t2.lang.ui
Class CArrowImage

java.lang.Object
  extended by java.awt.Image
      extended by java.awt.image.BufferedImage
          extended by net.sf.taverna.t2.lang.ui.CArrowImage
All Implemented Interfaces:
java.awt.image.RenderedImage, java.awt.image.WritableRenderedImage, java.awt.Transparency

public class CArrowImage
extends java.awt.image.BufferedImage

A BufferedImage of one of four types of arrow (up, down, left or right) drawn to the size specified on the constructor.


Field Summary
static int ARROW_DOWN
           
static int ARROW_LEFT
           
static int ARROW_RIGHT
           
static int ARROW_UP
           
 
Fields inherited from class java.awt.image.BufferedImage
TYPE_3BYTE_BGR, TYPE_4BYTE_ABGR, TYPE_4BYTE_ABGR_PRE, TYPE_BYTE_BINARY, TYPE_BYTE_GRAY, TYPE_BYTE_INDEXED, TYPE_CUSTOM, TYPE_INT_ARGB, TYPE_INT_ARGB_PRE, TYPE_INT_BGR, TYPE_INT_RGB, TYPE_USHORT_555_RGB, TYPE_USHORT_565_RGB, TYPE_USHORT_GRAY
 
Fields inherited from class java.awt.Image
SCALE_AREA_AVERAGING, SCALE_DEFAULT, SCALE_FAST, SCALE_REPLICATE, SCALE_SMOOTH, UndefinedProperty
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
CArrowImage(int nArrowDirection)
           
CArrowImage(int nWidth, int nHeight, int nArrowDirection)
           
 
Method Summary
 
Methods inherited from class java.awt.image.BufferedImage
addTileObserver, coerceData, copyData, createGraphics, flush, getAlphaRaster, getCapabilities, getColorModel, getData, getData, getGraphics, getHeight, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getProperty, getPropertyNames, getRaster, getRGB, getRGB, getSampleModel, getSource, getSources, getSubimage, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getTransparency, getType, getWidth, getWidth, getWritableTile, getWritableTileIndices, hasTileWriters, isAlphaPremultiplied, isTileWritable, releaseWritableTile, removeTileObserver, setData, setRGB, setRGB, toString
 
Methods inherited from class java.awt.Image
getAccelerationPriority, getScaledInstance, setAccelerationPriority
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ARROW_UP

public static final int ARROW_UP
See Also:
Constant Field Values

ARROW_DOWN

public static final int ARROW_DOWN
See Also:
Constant Field Values

ARROW_LEFT

public static final int ARROW_LEFT
See Also:
Constant Field Values

ARROW_RIGHT

public static final int ARROW_RIGHT
See Also:
Constant Field Values
Constructor Detail

CArrowImage

public CArrowImage(int nArrowDirection)

CArrowImage

public CArrowImage(int nWidth,
                   int nHeight,
                   int nArrowDirection)