glass.eclipse.theme.icon
Class CTabMenuOverflowIcon
java.lang.Object
bibliothek.gui.dock.themes.icon.TabMenuOverflowIcon
glass.eclipse.theme.icon.CTabMenuOverflowIcon
- All Implemented Interfaces:
- Icon
public class CTabMenuOverflowIcon
- extends bibliothek.gui.dock.themes.icon.TabMenuOverflowIcon
This icon shows an arrow and a number indicating the size of some menu.
- Author:
- Thomas Hilbert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CTabMenuOverflowIcon
public CTabMenuOverflowIcon(int size)
- Creates a new icon.
- Parameters:
size
- the number to show
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
- Overrides:
getIconWidth
in class bibliothek.gui.dock.themes.icon.TabMenuOverflowIcon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
- Overrides:
getIconHeight
in class bibliothek.gui.dock.themes.icon.TabMenuOverflowIcon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
- Overrides:
paintIcon
in class bibliothek.gui.dock.themes.icon.TabMenuOverflowIcon
GetDPICorrectedFontSize
public static int GetDPICorrectedFontSize(int fontSize)