org.apache.felix.mosgi.console.component
Class RemoteLogger_jtree

java.lang.Object
  extended by javax.swing.tree.DefaultTreeModel
      extended by org.apache.felix.mosgi.console.component.RemoteLogger_jtree
All Implemented Interfaces:
MouseListener, PropertyChangeListener, Serializable, EventListener, NotificationListener, TreeModel, CommonPlugin, Plugin

public class RemoteLogger_jtree
extends DefaultTreeModel
implements CommonPlugin, NotificationListener, MouseListener

See Also:
Serialized Form

Field Summary
protected  Hashtable ht_logLvl
           
protected  Vector v_ul
           
 
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
 
Fields inherited from interface org.apache.felix.mosgi.console.ifc.CommonPlugin
COMMON_PLUGIN_ADDED, COMMON_PLUGIN_REMOVED
 
Fields inherited from interface org.apache.felix.mosgi.console.ifc.Plugin
EMPTY_NODE, NEW_NODE_CONNECTION, NEW_NODE_READY, NEW_NODE_SELECTED, PLUGIN_ACTIVATED, PLUGIN_ADDED, PLUGIN_REMOVED
 
Constructor Summary
RemoteLogger_jtree(BundleContext bdlCtx)
           
 
Method Summary
protected  void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children)
           
 Component getGUI()
           
protected  String getLogLvl(DefaultMutableTreeNode dmtn)
           
 String getName()
           
 void handleNotification(Notification notification, Object handback)
           
 void mouseClicked(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 String pluginLocation()
           
 void propertyChange(PropertyChangeEvent e)
           
 void registerServicePlugin()
           
 void unregisterServicePlugin()
           
 
Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, 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

ht_logLvl

protected Hashtable ht_logLvl

v_ul

protected Vector v_ul
Constructor Detail

RemoteLogger_jtree

public RemoteLogger_jtree(BundleContext bdlCtx)
Method Detail

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseClicked

public void mouseClicked(MouseEvent e)
Specified by:
mouseClicked in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

getName

public String getName()
Specified by:
getName in interface Plugin

getGUI

public Component getGUI()
Specified by:
getGUI in interface Plugin

pluginLocation

public String pluginLocation()
Specified by:
pluginLocation in interface Plugin

registerServicePlugin

public void registerServicePlugin()
Specified by:
registerServicePlugin in interface Plugin

unregisterServicePlugin

public void unregisterServicePlugin()
Specified by:
unregisterServicePlugin in interface Plugin

propertyChange

public void propertyChange(PropertyChangeEvent e)
Specified by:
propertyChange in interface PropertyChangeListener

handleNotification

public void handleNotification(Notification notification,
                               Object handback)
Specified by:
handleNotification in interface NotificationListener

getLogLvl

protected String getLogLvl(DefaultMutableTreeNode dmtn)

fireTreeNodesInserted

protected void fireTreeNodesInserted(Object source,
                                     Object[] path,
                                     int[] childIndices,
                                     Object[] children)
Overrides:
fireTreeNodesInserted in class DefaultTreeModel


Copyright © 2011 Apache Software Foundation. All Rights Reserved.