IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.monitor
Class BallIcon

java.lang.Object
  extended by com.ibm.btt.monitor.BallIcon
All Implemented Interfaces:
javax.swing.Icon

 class BallIcon
extends java.lang.Object
implements javax.swing.Icon

Icon is used for the Icon of the context tree and context data tree


Field Summary
protected  java.awt.Color col
           
protected  int fontSize
           
protected  int h
           
protected  int ofsX
           
protected  int ofsY
           
protected  java.lang.String str
           
protected  int w
           
 
Constructor Summary
protected BallIcon(java.awt.Color col, java.lang.String str)
           
 
Method Summary
static javax.swing.Icon getBallIcon(java.awt.Color col, java.lang.String str)
          get Icon, with the color and str.
static javax.swing.Icon getBallIcon(java.awt.Color col, java.lang.String str, int ww, int hh, int ox, int oy, int fs)
           
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

w

protected int w

h

protected int h

ofsX

protected int ofsX

ofsY

protected int ofsY

fontSize

protected int fontSize

col

protected java.awt.Color col

str

protected java.lang.String str
Constructor Detail

BallIcon

protected BallIcon(java.awt.Color col,
                   java.lang.String str)
Method Detail

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon

getBallIcon

public static javax.swing.Icon getBallIcon(java.awt.Color col,
                                           java.lang.String str,
                                           int ww,
                                           int hh,
                                           int ox,
                                           int oy,
                                           int fs)

getBallIcon

public static javax.swing.Icon getBallIcon(java.awt.Color col,
                                           java.lang.String str)
get Icon, with the color and str. The icon is for different type of element in the context tree, and context data tree

Parameters:
col -
str -
Returns:

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010