Sets the message box title.

@param title the message box title to set, using {@link MessageFormat} syntax.
@param args optional arguments for the message format string.
163324
public void setTitleText(final String title, final Serializable... args) {
		ValidationErrorsModel model = getOrCreateComponentModel();
		model.title = I18nUtilities.asMessage(title, args);
	}
725702
public void title(String title) {
        Validate.notNull(title);
        Element titleEl = getElementsByTag("title").first();
        if (titleEl == null) { // add to head
            head().appendElement("title").text(title);
        } else {
            titleEl.text(title);
        }
    }
8839
def set_title(self, title):
        
        if self.term not in ('linux', 'eterm-color'):  # Not supported by the Linux console.
            self.write_raw('\x1b]2;%s\x07' % title.replace('\x1b', '').replace('\x07', ''))
99046
public void setDocTitle(String docTitle) {
        this.log("Setting doc title to: " + docTitle, LogLevel.DEBUG.getLevel());
        this.docTitle = new StringResource(this.getProject(), docTitle);
    }
44274
public B setTitle(String title) {
        if(title == null) {
            title = "";
        }
        this.title = title;
        return self();
    }
697560
@Override
    public void setTitle(String title) {
        this.checkContextStatus();
        this.servletRequest.setAttribute(IPortletRenderer.ATTRIBUTE__PORTLET_TITLE, title);
    }
707934
public void setAppTitle(String title) {

        if (CmsStringUtil.isEmptyOrWhitespaceOnly(title)) {
            if (m_titleLabel != null) {
                m_titleLabel.removeFromParent();
                m_titleLabel = null;
            }
        } else {

            if (m_titleLabel == null) {
                m_titleLabel = new Label();
                m_titleLabel.setStyleName(I_CmsLayoutBundle.INSTANCE.toolbarCss().title());
                m_buttonPanelLeft.insert(m_titleLabel, 0);
            }
            m_titleLabel.setText(title);
        }
    }
55984
protected void onEditTitleTextBox(TextBox box) {

        if (m_titleEditHandler != null) {
            m_titleEditHandler.handleEdit(m_title, box);
            return;
        }

        String text = box.getText();
        box.removeFromParent();
        m_title.setText(text);
        m_title.setVisible(true);

    }
876440
@Override 
	@Deprecated
	public void setTitle(String title) {
		StringBuilder strBuilder = new StringBuilder();
		if (title != null && !title.isEmpty()) {
			strBuilder.append(title);
			strBuilder.append(" - ");
		}
		strBuilder.append(Constant.PROGRAM_NAME).append(' ').append(Constant.PROGRAM_VERSION);
		super.setTitle(strBuilder.toString());
	}
765495
private void updateTitle() {
		String title;

		if (this.getCurrentComponent() == null) {
			title = "Example Picker";
		} else {
			title = this.getCurrentComponent().getClass().getName();
		}

		WApplication app = WebUtilities.getAncestorOfClass(WApplication.class, this);

		if (app != null) {
			app.setTitle(title);
		}
	}
42381
@Override
	public void setTitle(String title, java.util.Locale locale,
		java.util.Locale defaultLocale) {
		_cpOptionCategory.setTitle(title, locale, defaultLocale);
	}
826134
public void setTitle(String title, int type)
	{
		if (allow(type&ID3V1))
		{
			id3v1.setTitle(title);
		}
		if (allow(type&ID3V2))
		{
			id3v2.setTextFrame(ID3v2Frames.TITLE, title);
		}
	}
907250
public void setShowTitle(boolean showTitle) {
        if (showTitle) {
            this.attributes.put(SHOW_TITLE, true);
            this.attributes.remove(NOTITLE);
        } else {
            this.attributes.put(NOTITLE, true);
            this.attributes.remove(SHOW_TITLE);
        }
    }
1088336
public void setArgs(String args) {
    for (String s : args.trim().split("\\s*,\\s*"))
      argv.add(s);
  }
578897
public void setTitles(Collection<String> titles) {
        if (null == this.titles) {
            this.titles = new ArrayList<>();
        }
        this.titles.clear();
        this.titles.addAll(titles);
    }
276386
public String formatMessage(String key, Object[] args) {
        String msg = internalFormatMessage(getMessage(key), args);
        return msg;
    }
538492
public void setDialogTitle(String singleKey) {

        // generate title using the resource name as parameter for the key
        String resourceName = CmsStringUtil.formatResourceName(getParamResource(), 50);
        setParamTitle(key(singleKey, new Object[] {resourceName}));
    }