5556575859606162
label.setIcon(CommonIcons.REFRESH_16); } }; public static void decorate(JButton button, LabelDecorator decorator) { Label label = ButtonUtils.asLabel(button); decorator.decorate(label); }
203204205206207208209210211
} @Override public final void decorateTitle(LabelDecorator decorator) { if (titleLabel != null) { Label lbl = new LabelAdapter(titleLabel); decorator.decorate(lbl); } }
212213214215216217218219
/** * Decorates the browse-button used by this file selector. */ public final void decorateBrowseButton(LabelDecorator decorator) { Label label = new LabelAdapter(browseButton); decorator.decorate(label); }
6667686970717273
/** * * @since 1.2 */ public void decorateLabel(LabelDecorator decorator) { Label lbl = new LabelAdapter(label); decorator.decorate(lbl); }