- 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 int
getAdditionalHeight()
Returns an additional height of the icon.int
getShift()
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.FileIcon16
Returns a shift of the icon.- Overrides:
getShift
in classMetalIconFactory.FileIcon16
- Returns:
- a shift of the icon
-
getAdditionalHeight
public int getAdditionalHeight()
Description copied from class:MetalIconFactory.FileIcon16
Returns an additional height of the icon.- Overrides:
getAdditionalHeight
in classMetalIconFactory.FileIcon16
- Returns:
- an additional height of the icon
-
-