Exemplo n.º 1
0
  /** {@inheritDoc} */
  @Override
  protected void uninstallDefaults(AbstractButton b) {
    SynthContext context = getContext(b, ENABLED);

    style.uninstallDefaults(context);
    style = null;
  }
Exemplo n.º 2
0
  /** @inheritDoc */
  @Override
  protected void uninstallDefaults() {
    super.uninstallDefaults();

    SynthContext context = getContext(list, ENABLED);

    style.uninstallDefaults(context);
    context.dispose();
    style = null;
  }
Exemplo n.º 3
0
  /** {@inheritDoc} */
  @Override
  protected void uninstallDefaults(JScrollPane c) {
    SynthContext context = getContext(c, ENABLED);

    style.uninstallDefaults(context);

    if (scrollpane.getViewportBorder() instanceof UIResource) {
      scrollpane.setViewportBorder(null);
    }
  }
Exemplo n.º 4
0
  /** {@inheritDoc} */
  @Override
  protected void uninstallDefaults() {
    SynthContext context = getContext(getComponent(), ENABLED);

    getComponent().putClientProperty("caretAspectRatio", null);
    getComponent().removeFocusListener(handler);

    style.uninstallDefaults(context);
    style = null;
    super.uninstallDefaults();
  }
Exemplo n.º 5
0
  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();
  }