Java 2 Platform
v1.3

edu.umich.visualsoar.util
Class TextFolderIcons

java.lang.Object
  |
  +--javax.swing.plaf.metal.MetalIconFactory.FolderIcon16
        |
        +--javax.swing.plaf.metal.MetalIconFactory.TreeFolderIcon
              |
              +--edu.umich.visualsoar.util.TextFolderIcons
All Implemented Interfaces:
javax.swing.Icon, java.io.Serializable

public class TextFolderIcons
extends javax.swing.plaf.metal.MetalIconFactory.TreeFolderIcon

Author: Nobuo Tamemasa http://www.codeguru.com/java/articles/187.shtml

See Also:
Serialized Form

Field Summary
protected  java.lang.String label
           
private static java.util.Hashtable labels
           
 
Fields inherited from class javax.swing.plaf.metal.MetalIconFactory.FolderIcon16
 
Constructor Summary
protected TextFolderIcons()
           
 
Method Summary
static javax.swing.Icon getIcon(java.lang.String str)
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
private static void setDefaultSet()
           
static void setLabelSet(java.lang.String ext, java.lang.String label)
           
 
Methods inherited from class javax.swing.plaf.metal.MetalIconFactory.TreeFolderIcon
getAdditionalHeight, getShift
 
Methods inherited from class javax.swing.plaf.metal.MetalIconFactory.FolderIcon16
getIconHeight, getIconWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected java.lang.String label

labels

private static java.util.Hashtable labels
Constructor Detail

TextFolderIcons

protected TextFolderIcons()
Method Detail

paintIcon

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

getIcon

public static javax.swing.Icon getIcon(java.lang.String str)

setLabelSet

public static void setLabelSet(java.lang.String ext,
                               java.lang.String label)

setDefaultSet

private static void setDefaultSet()

Java 2 Platform
v1.3