@Override protected void buildChooser() { initComponents(); pickerButton.setIcon(new TransitionAwareIcon(pickerButton, new TransitionAwareIcon.Delegate() { @Override public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { return new IconUIResource(SubstanceImageCreator .getSearchIcon(15, scheme, pickerButton .getComponentOrientation() .isLeftToRight())); } }, "ColorChooser.colorPickerIcon")); }
@Override public void paintIcon(Component c, Graphics g, int x, int y) { this.getIconToPaint().paintIcon(c, g, x, y); } }
@Override protected void buildChooser() { initComponents(); pickerButton.setIcon(new TransitionAwareIcon(pickerButton, new TransitionAwareIcon.Delegate() { @Override public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { return new IconUIResource(SubstanceImageCreator .getSearchIcon(15, scheme, pickerButton .getComponentOrientation() .isLeftToRight())); } }, "ColorChooser.colorPickerIcon")); }
public void paintIcon(Component c, Graphics g, int x, int y) { this.getIconToPaint().paintIcon(c, g, x, y); } }
@Override protected void buildChooser() { initComponents(); pickerButton.setIcon(new TransitionAwareIcon(pickerButton, new TransitionAwareIcon.Delegate() { @Override public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { return new IconUIResource(SubstanceImageCreator .getSearchIcon(15, scheme, pickerButton .getComponentOrientation() .isLeftToRight())); } }, "ColorChooser.colorPickerIcon")); }
@Override protected void buildChooser() { initComponents(); pickerButton.setIcon(new TransitionAwareIcon(pickerButton, new TransitionAwareIcon.Delegate() { @Override public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { return new IconUIResource(SubstanceImageCreator .getSearchIcon(15, scheme, pickerButton .getComponentOrientation() .isLeftToRight())); } }, "ColorChooser.colorPickerIcon")); }
if (orientation == JSplitPane.VERTICAL_SPLIT) { if (this.leftButton != null) { this.leftButton.setIcon(new TransitionAwareIcon( this.leftButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon( this.rightButton.setIcon(new TransitionAwareIcon( this.rightButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon( this.leftButton.setIcon(new TransitionAwareIcon( this.leftButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon( this.rightButton.setIcon(new TransitionAwareIcon( this.rightButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(
if (orientation == JSplitPane.VERTICAL_SPLIT) { if (this.leftButton != null) { this.leftButton.setIcon(new TransitionAwareIcon( this.leftButton, new TransitionAwareIcon.Delegate() { @Override this.rightButton.setIcon(new TransitionAwareIcon( this.rightButton, new TransitionAwareIcon.Delegate() { @Override this.leftButton.setIcon(new TransitionAwareIcon( this.leftButton, new TransitionAwareIcon.Delegate() { @Override this.rightButton.setIcon(new TransitionAwareIcon( this.rightButton, new TransitionAwareIcon.Delegate() { @Override
@Override protected JButton createScrollButton(final int direction) { SubstanceScrollButton ssb = new SubstanceScrollButton(direction); Icon icon = new TransitionAwareIcon(ssb, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { // fix for defect 279 - tab pane might not yet have the // font installed. int fontSize = SubstanceSizeUtils .getComponentFontSize(tabPane); return SubstanceImageCreator.getArrowIcon(fontSize, direction, scheme); } }, "substance.tabbedpane.scroll." + direction); ssb.setIcon(icon); return ssb; }
@Override protected JButton createScrollButton(final int direction) { SubstanceScrollButton ssb = new SubstanceScrollButton(direction); Icon icon = new TransitionAwareIcon(ssb, new TransitionAwareIcon.Delegate() { @Override public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { // fix for defect 279 - tab pane might not yet have the // font installed. int fontSize = SubstanceSizeUtils .getComponentFontSize(tabPane); return SubstanceImageCreator.getArrowIcon(fontSize, direction, scheme); } }, "substance.tabbedpane.scroll." + direction); ssb.setIcon(icon); return ssb; }
return; Icon restoreIcon = new TransitionAwareIcon(this.maxButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { Icon maximizeIcon = new TransitionAwareIcon(this.maxButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { Icon minimizeIcon = new TransitionAwareIcon(this.iconButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { Icon closeIcon = new TransitionAwareIcon(this.closeButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) {
return; Icon restoreIcon = new TransitionAwareIcon(this.maxButton, new TransitionAwareIcon.Delegate() { @Override Icon maximizeIcon = new TransitionAwareIcon(this.maxButton, new TransitionAwareIcon.Delegate() { @Override Icon minimizeIcon = new TransitionAwareIcon(this.iconButton, new TransitionAwareIcon.Delegate() { @Override Icon closeIcon = new TransitionAwareIcon(this.closeButton, new TransitionAwareIcon.Delegate() { @Override
Icon verticalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { Icon horizontalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) {
this.expandedIcon = new TransitionAwareIcon(group, new TransitionAwareIcon.TransitionAwareUIDelegate() { @Override this.collapsedIcon = new TransitionAwareIcon(group, new TransitionAwareIcon.TransitionAwareUIDelegate() { @Override
Icon closeIcon = new TransitionAwareIcon(closeButton, new TransitionAwareIcon.Delegate() { @Override this.minimizeButton.setBorder(null); Icon minIcon = new TransitionAwareIcon(this.minimizeButton, new TransitionAwareIcon.Delegate() { @Override this.toggleButton.setText(null); Icon maxIcon = new TransitionAwareIcon(this.toggleButton, new TransitionAwareIcon.Delegate() { @Override
Icon verticalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { Icon horizontalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) {
Icon verticalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { @Override Icon horizontalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { @Override
Icon verticalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { @Override Icon horizontalSplit = new TransitionAwareIcon(oneTouchButton, new TransitionAwareIcon.Delegate() { @Override
Icon closeIcon = new TransitionAwareIcon(closeButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(SubstanceColorScheme scheme) { this.minimizeButton.setBorder(null); Icon minIcon = new TransitionAwareIcon(this.minimizeButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon( this.toggleButton.setText(null); Icon maxIcon = new TransitionAwareIcon(this.toggleButton, new TransitionAwareIcon.Delegate() { public Icon getColorSchemeIcon(
this.nextButton.setName("Spinner.nextButton"); Icon icon = new TransitionAwareIcon(this.nextButton, new TransitionAwareIcon.Delegate() { @Override