com.aelitis.azureus.ui.swt.skin
Class SWTBGImagePainter

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.skin.SWTBGImagePainter
All Implemented Interfaces:
org.eclipse.swt.widgets.Listener

public class SWTBGImagePainter
extends Object
implements org.eclipse.swt.widgets.Listener

Author:
TuxPaper

Constructor Summary
SWTBGImagePainter(org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Image bgImageLeft, org.eclipse.swt.graphics.Image bgImageRight, org.eclipse.swt.graphics.Image bgImage, int tileMode)
           
SWTBGImagePainter(org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Image bgImage, int tileMode)
           
SWTBGImagePainter(org.eclipse.swt.widgets.Control control, ImageLoader imageLoader, String bgImageLeftId, String bgImageRightId, String bgImageId, int tileMode)
           
 
Method Summary
 void buildBackground(org.eclipse.swt.widgets.Control control)
           
 void dispose()
           
 void handleEvent(org.eclipse.swt.widgets.Event event)
           
static void main(String[] args)
           
 void setImage(org.eclipse.swt.graphics.Image bgImageLeft, org.eclipse.swt.graphics.Image bgImageRight, org.eclipse.swt.graphics.Image bgImage)
           
 void setImage(ImageLoader imageLoader, String idLeft, String idRight, String id)
           
 void setImages(ImageLoader imageLoader, String bgImageLeftId, String bgImageRightId, String bgImageId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTBGImagePainter

public SWTBGImagePainter(org.eclipse.swt.widgets.Control control,
                         org.eclipse.swt.graphics.Image bgImage,
                         int tileMode)

SWTBGImagePainter

public SWTBGImagePainter(org.eclipse.swt.widgets.Control control,
                         org.eclipse.swt.graphics.Image bgImageLeft,
                         org.eclipse.swt.graphics.Image bgImageRight,
                         org.eclipse.swt.graphics.Image bgImage,
                         int tileMode)

SWTBGImagePainter

public SWTBGImagePainter(org.eclipse.swt.widgets.Control control,
                         ImageLoader imageLoader,
                         String bgImageLeftId,
                         String bgImageRightId,
                         String bgImageId,
                         int tileMode)
Method Detail

dispose

public void dispose()

setImage

public void setImage(org.eclipse.swt.graphics.Image bgImageLeft,
                     org.eclipse.swt.graphics.Image bgImageRight,
                     org.eclipse.swt.graphics.Image bgImage)
Parameters:
bgImageLeft -
bgImageRight -
bgImage -

setImage

public void setImage(ImageLoader imageLoader,
                     String idLeft,
                     String idRight,
                     String id)

setImages

public void setImages(ImageLoader imageLoader,
                      String bgImageLeftId,
                      String bgImageRightId,
                      String bgImageId)
Parameters:
bgImageLeftId -
bgImageRightId -
bgImageId -
Since:
4.0.0.5

buildBackground

public void buildBackground(org.eclipse.swt.widgets.Control control)

main

public static void main(String[] args)

handleEvent

public void handleEvent(org.eclipse.swt.widgets.Event event)
Specified by:
handleEvent in interface org.eclipse.swt.widgets.Listener