org.argosfields.image
Class ImageSet

java.lang.Object
  extended byorg.argosfields.image.ImageSet
Direct Known Subclasses:
RankImageSet, TileImageSet, UnitImageSet

public abstract class ImageSet
extends Object

ImageSet.java

Version:
$Revision: 1.2 $ $Date: 2003/10/23 14:59:56 $
Author:
Xavier Cho

Constructor Summary
ImageSet()
           
 
Method Summary
 void drawIcon(int x, int y, org.eclipse.swt.graphics.Rectangle bounds, org.eclipse.swt.graphics.Drawable drawable, org.eclipse.swt.graphics.GC gc)
           
 void drawIcon(int index, org.eclipse.swt.graphics.Rectangle bounds, org.eclipse.swt.graphics.Drawable drawable, org.eclipse.swt.graphics.GC gc)
           
protected  void drawIcon(org.eclipse.swt.graphics.Rectangle src, org.eclipse.swt.graphics.Rectangle target, org.eclipse.swt.graphics.Drawable drawable, org.eclipse.swt.graphics.GC gc)
           
abstract  int getColumns()
           
 org.eclipse.swt.graphics.Image getIcon(int index, org.eclipse.swt.graphics.Device device)
           
 org.eclipse.swt.graphics.Image getIcon(int x, int y, org.eclipse.swt.graphics.Device device)
           
protected  org.eclipse.swt.graphics.Image getIcon(org.eclipse.swt.graphics.Rectangle bounds, org.eclipse.swt.graphics.Device device)
           
 org.eclipse.swt.graphics.Rectangle getIconBounds(int index)
           
 org.eclipse.swt.graphics.Rectangle getIconBounds(int x, int y)
           
abstract  int getIconHeight()
           
abstract  int getIconWidth()
           
protected abstract  org.eclipse.swt.graphics.Image getImage()
           
abstract  int getRows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSet

public ImageSet()
Method Detail

getImage

protected abstract org.eclipse.swt.graphics.Image getImage()

getColumns

public abstract int getColumns()

getRows

public abstract int getRows()

getIconWidth

public abstract int getIconWidth()

getIconHeight

public abstract int getIconHeight()

getIcon

public final org.eclipse.swt.graphics.Image getIcon(int index,
                                                    org.eclipse.swt.graphics.Device device)

getIcon

public final org.eclipse.swt.graphics.Image getIcon(int x,
                                                    int y,
                                                    org.eclipse.swt.graphics.Device device)

getIcon

protected final org.eclipse.swt.graphics.Image getIcon(org.eclipse.swt.graphics.Rectangle bounds,
                                                       org.eclipse.swt.graphics.Device device)

drawIcon

public final void drawIcon(int index,
                           org.eclipse.swt.graphics.Rectangle bounds,
                           org.eclipse.swt.graphics.Drawable drawable,
                           org.eclipse.swt.graphics.GC gc)

drawIcon

public final void drawIcon(int x,
                           int y,
                           org.eclipse.swt.graphics.Rectangle bounds,
                           org.eclipse.swt.graphics.Drawable drawable,
                           org.eclipse.swt.graphics.GC gc)

drawIcon

protected final void drawIcon(org.eclipse.swt.graphics.Rectangle src,
                              org.eclipse.swt.graphics.Rectangle target,
                              org.eclipse.swt.graphics.Drawable drawable,
                              org.eclipse.swt.graphics.GC gc)

getIconBounds

public final org.eclipse.swt.graphics.Rectangle getIconBounds(int index)

getIconBounds

public final org.eclipse.swt.graphics.Rectangle getIconBounds(int x,
                                                              int y)


Copyright © Gnome Korea. All Rights Reserved.