Auto Light Dark
Auto Light Dark
German English

restoreActionBoxState

Code

void restoreActionBoxState()

Beschreibung

Stellt die zuletzt persistierte oder vom Benutzer gesetzte Position des Trenners zur Aktionsbox wieder her.

Diese Methode kann in Verbindung mit GUIUtils.setActionBoxState() verwendet werden. Der Trenner wird mit GUIUtils.setActionBoxState() an eine bestimmte Position gesetzt und kann mit Aufruf von GUIUtils.restoreActionBoxState() zurückgesetzt werden.

Beispiele

void tabSwitched(String tabName)
{
  if(ScriptUtils.equal(tabName, "Board"))
  {
    GUIUtils.setActionBoxState(GUIConstants.LAYOUTVIEWSTATE_OFF);
  }
  else
  {
    GUIUtils.restoreActionBoxState();
  }
}