javax.swing.plaf.metal
public static class MetalIconFactory.TreeFolderIcon extends MetalIconFactory.FolderIcon16
Constructor and Description |
---|
MetalIconFactory.TreeFolderIcon()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getAdditionalHeight()
Returns the additional height for this icon, in this case
2
pixels. |
int |
getShift()
Returns the vertical shift, in pixels, applied when painting the icon.
|
getIconHeight, getIconWidth, paintIcon
public MetalIconFactory.TreeFolderIcon()
public int getAdditionalHeight()
2
pixels.getAdditionalHeight
in class MetalIconFactory.FolderIcon16
2
.public int getShift()
-1
.getShift
in class MetalIconFactory.FolderIcon16