|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultTreeModel
etm.contrib.aggregation.swing.SimpleTreeModelAggregator
public class SimpleTreeModelAggregator
The SimpleTreeModelAggregator builds up a Swing
TreeModel
for all EtmPoints. Do not use anymore.
Please note that the current implementation isn't very efficient, it definitly adds
some overhead for every measurement.
| Field Summary | |
|---|---|
protected Aggregator |
delegate
Deprecated. |
| Fields inherited from class javax.swing.tree.DefaultTreeModel |
|---|
asksAllowsChildren, listenerList, root |
| Constructor Summary | |
|---|---|
SimpleTreeModelAggregator(java.lang.String aName)
Deprecated. Creates a new SimpleTreeModelAggregator with a RootAggregator as backing aggregator instance. |
|
SimpleTreeModelAggregator(java.lang.String aName,
Aggregator aDelegate)
Deprecated. Creates a new SimpleTreeModelAggregator which delegates add(etm.core.monitor.EtmPoint) calls to the provided
aggregator instances after altering the treemodel. |
|
| Method Summary | |
|---|---|
void |
add(EtmPoint point)
Deprecated. Adds a new EtmPoint to the aggregator. |
void |
flush()
Deprecated. Flushes the current aggregation details. |
AggregatorMetaData |
getMetaData()
Deprecated. Returns detailed information about the aggregator chain. |
void |
init(EtmMonitorContext ctx)
Deprecated. Lifecycle Method, will be called before Aggregator.start(), after initalization of
the current EtmMonitor runtime. |
void |
render(MeasurementRenderer renderer)
Deprecated. Renders the current state of the aggregator using the provided renderer instance. |
void |
reset()
Deprecated. Resets the internal aggregator state. |
void |
reset(java.lang.String symbolicName)
Deprecated. Resets the internal aggregator state for a etm point. |
void |
start()
Deprecated. Lifecycle method, will be called after all Aggregator instances are initialized by calling Aggregator.init(etm.core.monitor.EtmMonitorContext) and before the
EtmMonitor instance will becomes available. |
void |
stop()
Deprecated. Lifecycle method, will be called after the EtmMonitor instance was shutdown. |
| Methods inherited from class javax.swing.tree.DefaultTreeModel |
|---|
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Aggregator delegate
| Constructor Detail |
|---|
public SimpleTreeModelAggregator(java.lang.String aName)
aName - The name of the root node.RootAggregator
public SimpleTreeModelAggregator(java.lang.String aName,
Aggregator aDelegate)
add(etm.core.monitor.EtmPoint) calls to the provided
aggregator instances after altering the treemodel.
aName - aDelegate - | Method Detail |
|---|
public void add(EtmPoint point)
Aggregator
add in interface Aggregatorpoint - A new collected EtmPoint.public void flush()
Aggregator
flush in interface Aggregatorpublic void reset()
Aggregator
reset in interface Aggregatorpublic void reset(java.lang.String symbolicName)
Aggregator
reset in interface AggregatorsymbolicName - The name of the etm point to be resetted.public void render(MeasurementRenderer renderer)
Aggregator
render in interface Aggregatorrenderer - The renderer.public AggregatorMetaData getMetaData()
Aggregator
getMetaData in interface Aggregatorpublic void init(EtmMonitorContext ctx)
AggregatorAggregator.start(), after initalization of
the current EtmMonitor runtime. Be aware that Plugins are instantiated, but not
started at this point.
init in interface Aggregatorctx - The current EtmMonitor Context.public void start()
AggregatorAggregator.init(etm.core.monitor.EtmMonitorContext) and before the
EtmMonitor instance will becomes available.
start in interface Aggregatorpublic void stop()
Aggregator
stop in interface Aggregator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||