Class MetalIconFactory.TreeLeafIcon
java.lang.Object
javax.swing.plaf.metal.MetalIconFactory.FileIcon16
javax.swing.plaf.metal.MetalIconFactory.TreeLeafIcon
- All Implemented Interfaces:
Serializable, Icon
- Enclosing class:
MetalIconFactory
The class represents a tree leaf icon.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns an additional height of the icon.intgetShift()Returns a shift of the icon.Methods inherited from class MetalIconFactory.FileIcon16
getIconHeight, getIconWidth, paintIcon
-
Constructor Details
-
TreeLeafIcon
public TreeLeafIcon()Constructs aTreeLeafIcon.
-
-
Method Details
-
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
-