bibliothek.gui.dock.themes.icon
Class TabMenuOverflowIcon

java.lang.Object
  extended by bibliothek.gui.dock.themes.icon.TabMenuOverflowIcon
All Implemented Interfaces:
Icon

public class TabMenuOverflowIcon
extends Object
implements Icon

This icon shows an arrow and a number indicating the size of some menu. This icon always has a size of 16x16 pixels.

Author:
Benjamin Sigg

Constructor Summary
TabMenuOverflowIcon(int size)
          Creates a new icon.
 
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

TabMenuOverflowIcon

public TabMenuOverflowIcon(int size)
Creates a new icon.

Parameters:
size - the number to show
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