(non-PHPdoc)
@see \Thrace\DataGridBundle\DataGrid\DataGridInterface::getCustomButton()
162759
public function getCustomButton($name)
    {
        if (!$this->hasCustomButton($name)){
            throw new \InvalidArgumentException(
                sprintf('CustomButton: "%s" does not exist in the stack', $name)
            );
        }
    
        return $this->customButtons[$name];
    }
832100
private JButton getBtnAdd() {
		if (btnAdd == null) {
			btnAdd = new JButton();
			btnAdd.setText(Constant.messages.getString("history.managetags.button.add"));
			btnAdd.setMinimumSize(new java.awt.Dimension(75,30));
			btnAdd.setPreferredSize(new java.awt.Dimension(75,30));
			btnAdd.setMaximumSize(new java.awt.Dimension(100,40));
			btnAdd.addActionListener(new java.awt.event.ActionListener() { 

				@Override
				public void actionPerformed(java.awt.event.ActionEvent e) {
					addTag(getTxtTagAdd().getSelectedItem().toString());
					getTxtTagAdd().setSelectedIndex(0);
				}
			});

		}
		return btnAdd;
	}
81842
public function getPanel(): string
	{
		ob_start(function () {});

		$info = $this->connection->getInfo(true);

		$count = $this->count;

		require __DIR__ . '/templates/MessagePanel.panel.phtml';

		return ob_get_clean();
	}
1223822
private JButton getBtnCancel() {
		if (btnCancel == null) {
			btnCancel = new JButton();
			btnCancel.setText(Constant.messages.getString("edit.find.button.cancel"));
			btnCancel.addActionListener(new java.awt.event.ActionListener() { 

				@Override
				public void actionPerformed(java.awt.event.ActionEvent e) {

					FindDialog.this.discard();
					FindDialog.this.dispatchEvent(new WindowEvent(FindDialog.this, WindowEvent.WINDOW_CLOSING));
				}
			});

		}
		return btnCancel;
	}
217873
public function getCustomer(ConnectionInterface $con = null)
    {
        if ($this->aCustomer === null && ($this->customer_id !== null)) {
            $this->aCustomer = CustomerQuery::create()->findPk($this->customer_id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aCustomer->addCustomerCustomerGroups($this);
             */
        }

        return $this->aCustomer;
    }
66118
public function getButtonStyleOrDefault()
    {
        if ($this->owner->ButtonStyle) {
            return $this->owner->ButtonStyle;
        }
        
        return Config::inst()->get(static::class, 'default_button_style');
    }
950911
public static function button ($in = '', $data = []) {
		if (isset($in['insert']) || isset($data['insert'])) {
			return static::__callStatic_internal(__FUNCTION__, func_get_args());
		}
		if ($in === false) {
			return '';
		}
		if (is_array($in)) {
			return static::__callStatic_internal(__FUNCTION__, [$in, $data]);
		}
		if (is_array($in)) {
			if (!isset($in['type'])) {
				$in['type'] = 'button';
			}
		} elseif (is_array($data)) {
			if (!isset($data['type'])) {
				$data['type'] = 'button';
			}
		}
		return static::wrap($in, $data, __FUNCTION__);
	}
1351672
protected function getButtonsSpecification()
    {
        $specification = array();

        foreach ($this->buttons as $button) {
            $specification[$button->getName()] = $button->getButtonSpecification();
        }

        return $specification;
    }
198377
@Override
    public String getCustomSetString() {
        if (tc.isEntryEnabled())
            Tr.entry(tc, "getCustomSetString");

        String ret = PmiRegistry.getInstrumentationLevelString60();

        if (tc.isEntryEnabled())
            Tr.exit(tc, "getCustomSetString");

        return ret;
    }
1072366
private JButton getBtnCancel() {
		if (btnCancel == null) {
			btnCancel = new JButton();
			btnCancel.setText(Constant.messages.getString("all.button.cancel"));
			btnCancel.addActionListener(new java.awt.event.ActionListener() { 

				@Override
				public void actionPerformed(java.awt.event.ActionEvent e) {
					getTxtPattern().discardAllEdits();
					FilterReplaceDialog.this.dispose();
				    exitCode = JOptionPane.CANCEL_OPTION;

				}
			});

		}
		return btnCancel;
	}
342615
private JButton getBtnCancel() {
		if (btnCancel == null) {
			btnCancel = new JButton();
			btnCancel.setText(Constant.messages.getString("alert.add.button.cancel"));
			btnCancel.setEnabled(true);
			btnCancel.addActionListener(new java.awt.event.ActionListener() { 

				@Override
				public void actionPerformed(java.awt.event.ActionEvent e) {    
				    clearAndCloseDialog();
				}
			});

		}
		return btnCancel;
	}
604713
public function renderButton()
	{
		try {
			// Renderer function may be used
			return $this->useRenderer();
		} catch (DataGridColumnRendererException $e) {
			// Do not use renderer
		}

		$link = $this->createLink($this->grid, $this->href, $this->params);

		$a = Html::el('a')->href($link);

		$this->tryAddIcon($a, $this->getIcon(), $this->getText());

		if (!empty($this->attributes)) {
			$a->addAttributes($this->attributes);
		}

		$a->addText($this->grid->getTranslator()->translate($this->text));

		if ($this->getTitle()) {
			$a->title($this->grid->getTranslator()->translate($this->getTitle()));
		}

		if ($this->getClass()) {
			$a->class($this->getClass());
		}

		return $a;
	}
350811
private JButton getCancelButton() {
		if (cancelButton == null) {
			cancelButton = new JButton();
			cancelButton.setText(Constant.messages.getString("all.button.cancel"));
			cancelButton.setEnabled(true);
			cancelButton.addActionListener(new java.awt.event.ActionListener() { 

				@Override
				public void actionPerformed(java.awt.event.ActionEvent e) {
					selectedSiteNode = null;
					selectedTarget = null;
					NodeSelectDialog.this.setVisible(false);
					//NodeSelectDialog.this.dispose();
				}
			});

		}
		return cancelButton;
	}
380023
public function getButtonLabel() {
    if (isset($this->buttonLabel)) {
      return $this->buttonLabel;
    } elseif ($this->context === 'new') {
      return $this->entityMeta->getNewLabel();
    } else {
      throw new \InvalidArgumentException(sprintf("Context '%s' ist unbekannt für getButtonLabel",$this->context));
    }
  }
1364035
public function getButton()
    {
        if ($class = $this->config()->button_class) {
            
            // Create Button:
            
            $button = $class::create();
            
            // Extend Button:
            
            $this->extend('updateButton', $button);
            
            // Answer Button:
            
            return $button;
            
        }
    }
505690
protected function getNextButton()
    {
        if ( ! $this->paginator->hasMorePages()) {
            return $this->getDisabledLink($this->nextButtonText);
        }

        $url = $this->paginator->url($this->paginator->currentPage() + 1);

        return $this->getPrevNextPageLinkWrapper($url, $this->nextButtonText, 'next');
    }
1267403
public String getButtonCommand()
    {
        String strCommand = m_strCommand;
        if (strCommand == null)
            strCommand = this.getButtonDesc();
        if ((strCommand == null) || (strCommand.equals(Constants.BLANK)))
            strCommand = m_strImageButton;  // Use image name until the image is loaded
        return strCommand;
    }