Defines the title of the clock. The title
could be used to show for example the current
city or timezone
@param TITLE
429769
public void setTitle(final String TITLE) {
        if (null == title) {
            _title = TITLE;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            title.set(TITLE);
        }
    }
1292648
def time_title_header_element(feature, parent):
    """"""
    _ = feature, parent  # NOQA
    header = time_title_header['string_format']
    return header.capitalize()
1112456
private void initialize(String title) {
	frame = new JFrame(title);
	frame.setBounds(100, 100, 814, 669);
	frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	frame.getContentPane().setLayout(new BorderLayout(0, 0));

	JToolBar toolBar = new JToolBar();
	frame.getContentPane().add(toolBar, BorderLayout.NORTH);

	UIAction newAction = new UIAction(ActionNames.NEW_GAME);
	JButton btnNewGame = new JButton(newAction);
	btnNewGame.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("ctrl N"),
		ActionNames.NEW_GAME);
	btnNewGame.getActionMap().put(ActionNames.NEW_GAME, newAction);

	toolBar.add(btnNewGame);

	reloadAction = new UIAction(ActionNames.RELOAD);
	JButton btnReload = new JButton(reloadAction);
	btnReload.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F5"), ActionNames.RELOAD);
	btnReload.getActionMap().put(ActionNames.RELOAD, reloadAction);

	toolBar.add(btnReload);
	toolBar.addSeparator();

	startAction = new UIAction(ActionNames.START);
	JToggleButton tglbtnStart = new JToggleButton(startAction);
	toolBar.add(tglbtnStart);

	speedSlider = new JSlider();
	speedSlider.setInverted(true);
	speedSlider.setMinimum(MasterClock.MIN_PERIOD);
	speedSlider.setMaximum(700);
	speedSlider.setEnabled(false);
	speedSlider.setMaximumSize(new Dimension(100, 16));
	speedSlider.addChangeListener(controller);
	toolBar.add(speedSlider);

	stepAction = new UIAction(ActionNames.STEP);
	JButton btnStep = new JButton(stepAction);
	btnStep.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F10"), ActionNames.STEP);
	btnStep.getActionMap().put(ActionNames.STEP, stepAction);
	toolBar.add(btnStep);

	JPanel mainPanel = new JPanel();
	frame.getContentPane().add(mainPanel, BorderLayout.CENTER);
	mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.X_AXIS));

	board = new BoardPanel(this);
	mainPanel.add(board);
	board.setBorder(new CompoundBorder(new EmptyBorder(10, 10, 10, 0), new BevelBorder(BevelBorder.RAISED, null,
		null, null, null)));

	JPanel rightPanel = new JPanel();
	rightPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
	rightPanel.setPreferredSize(new Dimension(196, 32767));
	rightPanel.setMinimumSize(new Dimension(300, 300));
	rightPanel.setMaximumSize(new Dimension(500, 32767));
	mainPanel.add(rightPanel);
	rightPanel.setLayout(new BoxLayout(rightPanel, BoxLayout.PAGE_AXIS));

	JLabel lblTeams = new JLabel("Teams");
	lblTeams.setAlignmentX(Component.CENTER_ALIGNMENT);
	rightPanel.add(lblTeams);

	table = new JTable();
	teamsTableRenderer = new TeamsTableRenderer(this);
	teamsTableRenderer.setDisableSelection(true);
	table.setDefaultRenderer(Object.class, teamsTableRenderer);
	tableModel = new DefaultTableModel(0, 2);
	table.setModel(tableModel);
	table.getColumnModel().getColumn(1).setMaxWidth(30);
	table.setShowVerticalLines(false);
	rightPanel.add(table);
    }
1208410
public void setColumnTitle(String colName, String title) {
        ColumnDefEx col = findColumn(colName);
        if (col == null) return;
        col.setTitle(title);
        JsDataTable.setColTitle(getElement(), colName, title);
    }
926296
private void bindTitle(final ServiceTask<?> task, final StringProperty titleProperty) {

        // Perform this binding into the JAT to respect widget and task API
        JRebirth.runIntoJAT("Bind Title for " + task.getServiceHandlerName(),
                            // Bind the task title
                            () -> titleProperty.bind(task.titleProperty()));
    }
916845
public void setTitle(String newText) {
        String oldText = getTitle();
        titleLabel.setText(newText);
        firePropertyChange("title", oldText, newText);
    }
703133
public void setSubtitleTitle(final String subtitleTitle) {

        m_subtitle.setTitle(subtitleTitle);
        m_subtitle.setTitleGenerator(new I_TitleGenerator() {

            public String getTitle(String originalText) {

                return subtitleTitle;
            }
        });
    }
93239
public void setTitle(String title, String textcolor) {
    this.title = title;
    if(titlecss == null) {
      titlecss = new CSSClass(this, "text");
      titlecss.setStatement(SVGConstants.CSS_TEXT_ANCHOR_PROPERTY, SVGConstants.CSS_MIDDLE_VALUE);
      titlecss.setStatement(SVGConstants.CSS_FILL_PROPERTY, textcolor);
      titlecss.setStatement(SVGConstants.CSS_FONT_SIZE_PROPERTY, .6 * h);
    }
  }
906572
public java.lang.String getTitle() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.title);

    }
264173
protected function setTitle($title)
    {
        $title = trim(preg_replace('/\s\s+/', ' ', str_replace("\n", " ", $title)));

        if ($title != '') {
            $this->title = $title;
        }
    }
696634
public boolean addTitle(String title) {
        try {
            return add(new Meta(Element.TITLE, title));
		} catch (DocumentException de) {
            throw new ExceptionConverter(de);
        }
    }
462874
private void showTitle(@Nullable final CharSequence title) {
        ActionBar actionBar = getSupportActionBar();

        if (actionBar != null) {
            if (isSplitScreen()) {
                if (toolbarLarge != null) {
                    toolbarLarge.setTitle(title);
                }

                actionBar.setTitle(null);
            } else {
                actionBar.setTitle(title);
            }
        }
    }
1156693
def set_title(self, title = None):
        

        if title is None or type(title) is not str:
            raise KPError("Need a new title.")
        else:
            self.title = title
            self.last_mod = datetime.now().replace(microsecond=0)
            return True
767444
public function setTitle($title)
    {
        $t = $this->dom->getElementsByTagName('title')->item(0);
        if ($t == null) {
            $t = $this->dom->createElement('title');
            $this->getHeadNode()->appendChild($t);
        }
        $t->nodeValue = htmlspecialchars($title);
    }
417258
@Override
    public void setTitleAt(int index, String title) {
    	Component tabCom = this.getTabComponentAt(index);
    	if (tabCom != null && tabCom instanceof JPanel) {
    		Component c = ((JPanel)tabCom).getComponent(0);
			if (c != null && c instanceof JLabel) {
				((JLabel)c).setText(title);
			}
    	}
      else {
        super.setTitleAt(index, title);
      }
    }
990258
public void setTitle(final String title) {
        if (this.title == null) {
            this.title = new Content();
        }
        this.title.setValue(title);
    }
1040826
protected void displayInFrame(String title)
    {
        JFrame frame = new JFrame(title);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        configure(frame);
        frame.pack();
        frame.setVisible(true);
    }