de.ls5.jlearn.logging
Class HtmlIcon

java.lang.Object
  extended by de.ls5.jlearn.logging.HtmlIcon
All Implemented Interfaces:
Icon

public class HtmlIcon
extends Object
implements Icon

uses a as icon. This way HTML icons are possible.

Author:
fh

Constructor Summary
HtmlIcon(String html)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlIcon

public HtmlIcon(String html)
Method Detail

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon


Copyright © 2011. All Rights Reserved.