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:
java.awt.event.MouseListener, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.management.NotificationListener, javax.swing.tree.TreeModel, org.apache.felix.mosgi.console.ifc.CommonPlugin, org.apache.felix.mosgi.console.ifc.Plugin

public class RemoteLogger_jtree
extends javax.swing.tree.DefaultTreeModel
implements org.apache.felix.mosgi.console.ifc.CommonPlugin, javax.management.NotificationListener, java.awt.event.MouseListener

See Also:
Serialized Form

Field Summary
protected  java.util.Hashtable ht_logLvl
           
protected  java.util.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(org.osgi.framework.BundleContext bdlCtx)
           
 
Method Summary
protected  void fireTreeNodesInserted(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
           
 java.awt.Component getGUI()
           
protected  java.lang.String getLogLvl(javax.swing.tree.DefaultMutableTreeNode dmtn)
           
 java.lang.String getName()
           
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 java.lang.String pluginLocation()
           
 void propertyChange(java.beans.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 java.util.Hashtable ht_logLvl

v_ul

protected java.util.Vector v_ul
Constructor Detail

RemoteLogger_jtree

public RemoteLogger_jtree(org.osgi.framework.BundleContext bdlCtx)
Method Detail

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

getName

public java.lang.String getName()
Specified by:
getName in interface org.apache.felix.mosgi.console.ifc.Plugin

getGUI

public java.awt.Component getGUI()
Specified by:
getGUI in interface org.apache.felix.mosgi.console.ifc.Plugin

pluginLocation

public java.lang.String pluginLocation()
Specified by:
pluginLocation in interface org.apache.felix.mosgi.console.ifc.Plugin

registerServicePlugin

public void registerServicePlugin()
Specified by:
registerServicePlugin in interface org.apache.felix.mosgi.console.ifc.Plugin

unregisterServicePlugin

public void unregisterServicePlugin()
Specified by:
unregisterServicePlugin in interface org.apache.felix.mosgi.console.ifc.Plugin

propertyChange

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

handleNotification

public void handleNotification(javax.management.Notification notification,
                               java.lang.Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener

getLogLvl

protected java.lang.String getLogLvl(javax.swing.tree.DefaultMutableTreeNode dmtn)

fireTreeNodesInserted

protected void fireTreeNodesInserted(java.lang.Object source,
                                     java.lang.Object[] path,
                                     int[] childIndices,
                                     java.lang.Object[] children)
Overrides:
fireTreeNodesInserted in class javax.swing.tree.DefaultTreeModel