Groovy Documentation

com.wordpress.tipsforjava.swing.table
[Java] Class IconTableCellRenderer.XIcon

java.lang.Object
  com.wordpress.tipsforjava.swing.table.IconTableCellRenderer.XIcon
All Implemented Interfaces:
Icon

class IconTableCellRenderer.XIcon

The default icon used if none is supplied. It is drawn as a rectangle with diagonals


Field Summary
int height

int width

 
Constructor Summary
IconTableCellRenderer.XIcon(int width, int height)

 
Method Summary
int getIconHeight()

int getIconWidth()

void paintIcon(Component c, Graphics g, int x, int y)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

height

int height


width

int width


 
Constructor Detail

IconTableCellRenderer.XIcon

IconTableCellRenderer.XIcon(int width, int height)


 
Method Detail

getIconHeight

public int getIconHeight()


getIconWidth

public int getIconWidth()


paintIcon

public void paintIcon(Component c, Graphics g, int x, int y)


 

Groovy Documentation