Lines Matching defs:slack
72 public static Icon createFocusedIcon(final Icon tmpIcon, final Component c, final int slack) {
73 return new FocusedIcon(tmpIcon, slack);
80 final int slack;
82 public FocusedIcon(final Icon icon, final int slack) {
84 this.slack = slack;
89 return icon.getIconHeight() + slack + slack;
94 return icon.getIconWidth() + slack + slack;
102 icon.paintIcon(c, sg2d, x + slack, y + slack);
106 icon.paintIcon(c, g, x + slack, y + slack);
114 final int slack;
116 public FocusedIcon(final Icon icon, final int slack) {
123 imgG.fillRect(x, y, w - (slack * 2), h - (slack * 2));
134 slack, slack, 0.0f, 1.8f, 7
137 this.slack = slack;
142 return icon.getIconHeight() + slack + slack;
147 return icon.getIconWidth() + slack + slack;
153 icon.paintIcon(c, g, x + slack, y + slack);