ch.tatool.core.display.swing.status
Class StatusRegionUtil

java.lang.Object
  extended by ch.tatool.core.display.swing.status.StatusRegionUtil

public class StatusRegionUtil
extends Object

Provides access to a StatusRegionInstance

Author:
Michael Ruflin

Constructor Summary
StatusRegionUtil()
           
 
Method Summary
 boolean available()
          Is a status region configured.
static StatusRegionImpl getInstance()
          Get the status region if existing.
static StatusPanel getStatusPanel(String statusPanelId)
          Get a Panel out of the StatusRegion.
static void setStatusRegion(StatusRegionImpl statusRegion)
          Set the status region to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusRegionUtil

public StatusRegionUtil()
Method Detail

getInstance

public static StatusRegionImpl getInstance()
Get the status region if existing.

Returns:
the StatusRegion object or null if not available.

setStatusRegion

public static void setStatusRegion(StatusRegionImpl statusRegion)
Set the status region to use.

Parameters:
statusRegion -

getStatusPanel

public static StatusPanel getStatusPanel(String statusPanelId)
Get a Panel out of the StatusRegion. This is a shortcut for getInstance().getStatusPanel(String id)


available

public boolean available()
Is a status region configured.



Copyright © 2012. All Rights Reserved.