Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.dja
Class DjaPaletteStroke.StrokeIcon  view DjaPaletteStroke.StrokeIcon download DjaPaletteStroke.StrokeIcon.java

java.lang.Object
  extended bycom.memoire.dja.DjaPaletteStroke.StrokeIcon
All Implemented Interfaces:
javax.swing.Icon
Enclosing class:
DjaPaletteStroke

private class DjaPaletteStroke.StrokeIcon
extends java.lang.Object
implements javax.swing.Icon


Field Summary
private  java.lang.String t_
           
 
Constructor Summary
DjaPaletteStroke.StrokeIcon(java.lang.String _t)
           
 
Method Summary
 int getIconHeight()
          Returns the height of the icon.
 int getIconWidth()
          Returns the width of the icon.
 void paintIcon(java.awt.Component _c, java.awt.Graphics _g, int x, int y)
          Draws the icon at the location (x, y) on the specified graphics device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

t_

private java.lang.String t_
Constructor Detail

DjaPaletteStroke.StrokeIcon

public DjaPaletteStroke.StrokeIcon(java.lang.String _t)
Method Detail

getIconWidth

public int getIconWidth()
Description copied from interface: javax.swing.Icon
Returns the width of the icon.

Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Description copied from interface: javax.swing.Icon
Returns the height of the icon.

Specified by:
getIconHeight in interface javax.swing.Icon

paintIcon

public void paintIcon(java.awt.Component _c,
                      java.awt.Graphics _g,
                      int x,
                      int y)
Description copied from interface: javax.swing.Icon
Draws the icon at the location (x, y) on the specified graphics device.

Specified by:
paintIcon in interface javax.swing.Icon