- java.lang.Object
-
- javax.swing.plaf.metal.MetalIconFactory.FileIcon16
-
- javax.swing.plaf.metal.MetalIconFactory.TreeLeafIcon
-
- All Implemented Interfaces:
Serializable,Icon
- Enclosing class:
- MetalIconFactory
public static class MetalIconFactory.TreeLeafIcon extends MetalIconFactory.FileIcon16
The class represents a tree leaf icon.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TreeLeafIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAdditionalHeight()Returns an additional height of the icon.intgetShift()Returns a shift of the icon.-
Methods inherited from class javax.swing.plaf.metal.MetalIconFactory.FileIcon16
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Method Detail
-
getShift
public int getShift()
Description copied from class:MetalIconFactory.FileIcon16Returns a shift of the icon.- Overrides:
getShiftin classMetalIconFactory.FileIcon16- Returns:
- a shift of the icon
-
getAdditionalHeight
public int getAdditionalHeight()
Description copied from class:MetalIconFactory.FileIcon16Returns an additional height of the icon.- Overrides:
getAdditionalHeightin classMetalIconFactory.FileIcon16- Returns:
- an additional height of the icon
-
-