uic.widgets.filechooser
Class FileChooser.BrowseIcon

java.lang.Object
  extended by uic.widgets.filechooser.FileChooser.BrowseIcon
All Implemented Interfaces:
Icon
Enclosing class:
FileChooser

protected static class FileChooser.BrowseIcon
extends Object
implements Icon

Very simple icon based on FileChooser.newFolderIcon. Very simple icon based on FileChooser.newFolderIcon draws an arrow to the left or right to visualize previous/next


Field Summary
static int LEFT
           
static int RIGHT
           
 
Constructor Summary
FileChooser.BrowseIcon(int direction)
           
 
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
 

Field Detail

LEFT

public static final int LEFT
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values
Constructor Detail

FileChooser.BrowseIcon

public FileChooser.BrowseIcon(int direction)
Method Detail

getIconWidth

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

getIconHeight

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

paintIcon

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


Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence