|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.bus.BusMonitoringModel
public class BusMonitoringModel
Bean model used by the Bus Monitoring API. It contains a list of
BusMonitoringSubscription and manages the count of them.
| Field Summary | |
|---|---|
static String |
ACTIVATE_LOGGING
|
static String |
AUTO_REFRESH
|
static String |
COUNT
|
static String |
MAXIMUM
|
static String |
REFRESH_INTERVAL
|
| Constructor Summary | |
|---|---|
BusMonitoringModel()
Constructor. |
|
| Method Summary | |
|---|---|
void |
clearLog()
|
int |
getCount()
Returns the count of subscriptions. |
int |
getMaximum()
|
BusMonitoringLog |
getMonitoringLog()
|
int |
getRefreshInterval()
|
ca.odell.glazedlists.EventList<BusMonitoringStat> |
getStatList()
|
ca.odell.glazedlists.EventList<BusMonitoringSubscription> |
getSubscriptionList()
Returns the dynamic list of subscriptions |
boolean |
isActivateLogging()
|
boolean |
isAutoRefresh()
|
void |
refresh()
Refreshes the list of subscriptions from the current bus state |
void |
setActivateLogging(boolean activateLogging)
|
void |
setAutoRefresh(boolean autoRefresh)
|
protected void |
setCount(int count)
Sets the count of subscriptions |
protected void |
setMaximum(int maximum)
Sets the maximum count |
void |
setRefreshInterval(int refreshInterval)
|
protected void |
updateStat()
|
| Methods inherited from class net.sf.doolin.bus.bean.Bean |
|---|
getBeanNotificationSupport, getParentBean, notify, setParentBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String AUTO_REFRESH
public static final String REFRESH_INTERVAL
public static final String MAXIMUM
public static final String COUNT
public static final String ACTIVATE_LOGGING
| Constructor Detail |
|---|
public BusMonitoringModel()
refresh()| Method Detail |
|---|
public void clearLog()
public int getCount()
public int getMaximum()
public BusMonitoringLog getMonitoringLog()
public int getRefreshInterval()
public ca.odell.glazedlists.EventList<BusMonitoringStat> getStatList()
public ca.odell.glazedlists.EventList<BusMonitoringSubscription> getSubscriptionList()
public boolean isActivateLogging()
public boolean isAutoRefresh()
public void refresh()
public void setActivateLogging(boolean activateLogging)
public void setAutoRefresh(boolean autoRefresh)
protected void setCount(int count)
count - Countprotected void setMaximum(int maximum)
public void setRefreshInterval(int refreshInterval)
protected void updateStat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||