Source for file NavigationButton.class.php
Documentation is available at NavigationButton.class.php
* @copyright 2009-2010 NADEO
* For the Navigation card
* @subpackage GUIToolkit_Cards
protected $forceLinks =
true;
$this->setStyle(GuiDefaultStyles::NavigationButton_Style);
$this->setSubStyle(GuiDefaultStyles::NavigationButton_Substyle);
$this->text->setValign("center");
$this->text->setStyle(GuiDefaultStyles::NavigationButton_Text_Style);
$this->icon->setValign("center");
$this->icon->setPosition(1, 0, 1);
* Sets the button selected and change its styles accordingly
$this->setSubStyle(GuiDefaultStyles::NavigationButton_Selected_Substyle);
$this->text->setStyle(GuiDefaultStyles::NavigationButton_Selected_Text_Style);
protected function postFilter ()
$this->text->setSizeY(0);
$this->text->addLink($this);
$this->icon->addLink($this);