/** {@inheritDoc} */ @Override protected void uninstallDefaults(AbstractButton b) { SynthContext context = getContext(b, ENABLED); style.uninstallDefaults(context); style = null; }
/** @inheritDoc */ @Override protected void uninstallDefaults() { super.uninstallDefaults(); SynthContext context = getContext(list, ENABLED); style.uninstallDefaults(context); context.dispose(); style = null; }
/** {@inheritDoc} */ @Override protected void uninstallDefaults(JScrollPane c) { SynthContext context = getContext(c, ENABLED); style.uninstallDefaults(context); if (scrollpane.getViewportBorder() instanceof UIResource) { scrollpane.setViewportBorder(null); } }
/** {@inheritDoc} */ @Override protected void uninstallDefaults() { SynthContext context = getContext(getComponent(), ENABLED); getComponent().putClientProperty("caretAspectRatio", null); getComponent().removeFocusListener(handler); style.uninstallDefaults(context); style = null; super.uninstallDefaults(); }
protected void uninstallDefaults() { SynthContext context = getContext(getComponent(), ENABLED); JComponent c = getComponent(); c.putClientProperty("caretAspectRatio", null); style.uninstallDefaults(context); context.dispose(); style = null; Object clientProperty = c.getClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES); if (clientProperty == localTrue) { getComponent().putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.FALSE); } super.uninstallDefaults(); }
/** {@inheritDoc} */ @Override protected void uninstallDefaults() { table.setDefaultRenderer(Date.class, dateRenderer); table.setDefaultRenderer(Number.class, numberRenderer); table.setDefaultRenderer(Double.class, doubleRender); table.setDefaultRenderer(Float.class, floatRenderer); table.setDefaultRenderer(Icon.class, iconRenderer); table.setDefaultRenderer(ImageIcon.class, imageIconRenderer); table.setDefaultRenderer(Boolean.class, booleanRenderer); table.setDefaultRenderer(Object.class, objectRenderer); if (table.getTransferHandler() instanceof UIResource) { table.setTransferHandler(null); } SynthContext context = getContext(table, ENABLED); style.uninstallDefaults(context); context.dispose(); style = null; }