org.terracotta.modules.ehcache.presentation
Class BaseClusterModelPanel

java.lang.Object
  extended by XContainer
      extended by org.terracotta.modules.ehcache.presentation.BaseClusterModelPanel
Direct Known Subclasses:
CacheManagerPanel, EhcacheOverviewPanel, EhcacheRuntimeStatsPanel, VuMeterPanel

public abstract class BaseClusterModelPanel
extends XContainer


Field Summary
protected  ApplicationContext appContext
           
protected static ResourceBundle bundle
           
protected  org.terracotta.modules.ehcache.presentation.BaseClusterModelPanel.ClusterListener clusterListener
           
protected  IClusterModel clusterModel
           
protected  XContainer mainPanel
           
protected  XLabel messageLabel
           
protected  XContainer messagePanel
           
 
Constructor Summary
BaseClusterModelPanel()
           
BaseClusterModelPanel(LayoutManager layout)
           
 
Method Summary
 void clientConnected(IClient client)
           
 void clientDisconnected(IClient client)
           
protected abstract  XContainer createMainPanel()
           
 IServer getActiveCoordinator()
           
 ApplicationContext getApplicationContext()
           
 IClusterModel getClusterModel()
           
protected abstract  void init()
           
protected  void resume()
           
protected  void setStatus(String text)
           
 void setup(ApplicationContext appContext, IClusterModel clusterModel)
           
protected  void suspend()
           
 void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appContext

protected ApplicationContext appContext

clusterModel

protected IClusterModel clusterModel

clusterListener

protected org.terracotta.modules.ehcache.presentation.BaseClusterModelPanel.ClusterListener clusterListener

mainPanel

protected XContainer mainPanel

messagePanel

protected XContainer messagePanel

messageLabel

protected XLabel messageLabel

bundle

protected static final ResourceBundle bundle
Constructor Detail

BaseClusterModelPanel

public BaseClusterModelPanel()

BaseClusterModelPanel

public BaseClusterModelPanel(LayoutManager layout)
Method Detail

init

protected abstract void init()

createMainPanel

protected abstract XContainer createMainPanel()

clientConnected

public void clientConnected(IClient client)

clientDisconnected

public void clientDisconnected(IClient client)

getApplicationContext

public ApplicationContext getApplicationContext()

getClusterModel

public IClusterModel getClusterModel()

getActiveCoordinator

public IServer getActiveCoordinator()

setup

public void setup(ApplicationContext appContext,
                  IClusterModel clusterModel)

resume

protected void resume()

suspend

protected void suspend()

setStatus

protected void setStatus(String text)

tearDown

public void tearDown()


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.