Use this method to reverse the actions of {@link #setUnclosableTab(int)}
432061
public void setClosableTab(final int val) {
        // cast to Object to ensure the RIGHT remove(...) method is invoked in
        // _unclosables
        final Object value = Integer.valueOf(val);
        _unclosables.remove(value);
    }
72724
void cancelEdit() {

        m_handler.enableToolbarButtons();
        m_handler.activateSelection();
        m_handler.m_controller.setContentEditing(false);
        m_handler.m_controller.reInitInlineEditing();
        m_replaceElement = null;
        m_dependingElementId = null;
        m_currentElementId = null;
        m_editorOpened = false;
    }
1180373
public void setSkippableAdType(com.google.api.ads.admanager.axis.v201805.SkippableAdType skippableAdType) {
        this.skippableAdType = skippableAdType;
    }
1218890
public void reverseAndContinue() {
        if (isRunning()) {
            super.stop();
            for (AnimationHandler handler : animationHandlers) {
                handler.reverse(totalElapsedMilliseconds);
            }
            startTime = -1;
            super.start();
        } else {
            start();
        }
    }
1282274
public void revert() {
		for (Iterator i = children.iterator(); i.hasNext();) {
			((FormModel) i.next()).revert();
		}
		// this will cause all buffered value models to revert
		commitTrigger.revert();
		// this will then go back and revert all unbuffered value models
		for (Iterator i = mediatingValueModels.values().iterator(); i.hasNext();) {
			((DirtyTrackingValueModel) i.next()).revertToOriginal();
		}
	}
936791
private static void encodeTabs(final FacesContext context, final ResponseWriter writer, final List<UIComponent> children,
			final int currentlyActiveIndex, final String hiddenInputFieldID, final boolean disabled) throws IOException {
		if (null != children) {
			int tabIndex = 0;

			for (int index = 0; index < children.size(); index++) {	
				// todo what's the meaning of those countless parameters?
				final int loopIndex = index;
				final int currentIndex = tabIndex;
				final Tab tab = (Tab)children.get(loopIndex);
				Runnable r = new Runnable() {
					int offset = 0;
					public void run() {
						try {
							encodeTab(context, writer, tab, currentIndex + offset == currentlyActiveIndex, hiddenInputFieldID,
									currentIndex + offset, disabled);
							offset++;
						} catch (IOException ex) {
							// exotic case, suffice it to log it
							LOGGER.log(Level.SEVERE, "An exception occurred while rendering a tab.", ex);
						}
					}
				};

				if (((Tab) children.get(index)).getValue() == null) {
					r.run();
					tabIndex ++;
				} else {
					tabIndex += tab.encodeTabs(context, r);
				}
			}
		}
	}
1345510
public void reverseAnimate() {
        onStartAnimateCallback();
        $("document").ready(() -> {
            if (reverseCallback != null) {
                reverseCallback.call();
            } else {
                targetElement.getStyle().setVisibility(Style.Visibility.HIDDEN);
                targetElement.getStyle().setOpacity(0);
            }
            detectOutOfScopeElement(sourceElement, () -> JsPathAnimator.cta(targetElement, sourceElement, options, () -> onCompleteCallback()));
        });
    }
1036599
public final void revert() {
        if (isBuffering()) {
            if (logger.isDebugEnabled()) {
                logger.debug("Reverting buffered value '" + getValue() + "' to value '" + wrappedModel.getValue() + "'");
            }
            setValue(wrappedModel.getValue());
        }
        else {
            if (logger.isDebugEnabled()) {
                logger.debug("No buffered edit to commit; nothing to do...");
            }
        }
    }
219082
void cancelEdit() {

        // store the scroll position
        int scrollTop = RootPanel.getBodyElement().getOwnerDocument().getScrollTop();
        setEditorState(false);
        unlockResource();
        if (m_onClose != null) {
            m_onClose.execute(Boolean.valueOf(m_hasChangedSettings));
        }
        destroyForm(true);
        clearEditor();
        // restore the scroll position
        RootPanel.getBodyElement().getOwnerDocument().setScrollTop(scrollTop);
    }
1327896
private void unmapDataProviderFromAllTriggers(final DP dataProvider) {
        if (dataProvider != null) {
            for (final List<DP> mappedDataProviders : triggersToDataProviders.values()) {
                mappedDataProviders.remove(dataProvider);
            }
        }
    }
562919
function setUntab(depth, trim){
	started = true;
	
	/** Disable untab */
	if(!depth){
		_depth = null;
		_trim = false;
	}
	
	else{
		_depth = depth;
		_trim = trim;
	}
}
1038780
@Deprecated
    @SuppressWarnings("unchecked")
    public static void deselect(final FastAdapter adapter) {
        adapter.recursive(new AdapterPredicate() {
            @Override
            public boolean apply(@NonNull IAdapter lastParentAdapter, int lastParentPosition, @NonNull IItem item, int position) {
                if (position != -1) {
                    SelectExtension extension = (SelectExtension) adapter.getExtension(SelectExtension.class);
                    if (extension != null) {
                        extension.deselect(position);
                    }
                } else {
                    item.withSetSelected(false);
                }
                return true;
            }
        }, false);
    }
770720
protected void handleSwitchTab(int toTab) {

        switch (toTab) {
            case 0:
                rebuildSimpleTab();
                break;
            case 1:
                rebuildIndividualTab();
                break;
            case 2:
                rebuildSharedTab();
                break;
            default:
                break;
        }
        if (m_disabledReason != null) {
            disableInput(m_disabledReason);
        } else {
            m_form.validateAllFields();
        }
    }
597539
public void unmap(T target)
    {
        Set<I> items = reverseMap.get(target);
        items.forEach((i)->mapSet.removeItem(i, target));
        reverseMap.remove(target);
    }
1013886
public void setActiveTab(UITab tab)
	{
		if (attachedContainer == null)
		{
			activeTab = tab;
			return;
		}

		if (activeTab == tab)
			return;

		if (activeTab != null)
			activeTab.setActive(false);

		activeTab = tab;
		if (tab == null)
			return;

		tab.setActive(true);
	}
1138526
public void incrementRemoved() {
        if (removed == false && rctxt != null) {
            rctxt.removeWrapper(jspUri);
        }
        removed = true;
    }
682936
function() {
			var self = this;
			var eventNS = self.eventNS;
			var revertSettings = self.revertSettings;
	
			self.trigger('destroy');
			self.off();
			self.$wrapper.remove();
			self.$dropdown.remove();
	
			self.$input
				.html('')
				.append(revertSettings.$children)
				.removeAttr('tabindex')
				.removeClass('selectized')
				.attr({tabindex: revertSettings.tabindex})
				.show();
	
			self.$control_input.removeData('grow');
			self.$input.removeData('selectize');
	
			$(window).off(eventNS);
			$(document).off(eventNS);
			$(document.body).off(eventNS);
	
			delete self.$input[0].selectize;
		}