org.apache.excalibur.instrument.client
Class InstrumentableNodeData

java.lang.Object
  extended by org.apache.excalibur.instrument.client.NodeData
      extended by org.apache.excalibur.instrument.client.InstrumentableNodeData

 class InstrumentableNodeData
extends NodeData

Author:
Avalon Development Team

Field Summary
private  boolean m_configured
           
private  InstrumentableData m_data
           
private static javax.swing.ImageIcon m_iconInstrumentableConf
          An Instrumentable which exists because of configuration.
private static javax.swing.ImageIcon m_iconInstrumentableOld
          An Instrumentable which exists because it was loaded from the state file but is no longer used.
private static javax.swing.ImageIcon m_iconInstrumentableReg
          An Instrumentable which exists because of registration.
private static javax.swing.ImageIcon m_iconInstrumentableRegConf
          An Instrumentable which exists because of registration and configuration.
private  boolean m_registered
           
 
Fields inherited from class org.apache.excalibur.instrument.client.NodeData
EMPTY_MENU_ITEM_ARRAY, MEDIA_PATH
 
Constructor Summary
InstrumentableNodeData(InstrumentableData data)
           
 
Method Summary
(package private)  InstrumentableData getData()
           
(package private)  javax.swing.ImageIcon getIcon()
          Get the icon to display for the node.
(package private)  java.lang.String getToolTipText()
          Return the text to use for a tool tip on this node.
(package private)  boolean isConfigured()
           
(package private)  boolean isRegistered()
           
(package private)  boolean update()
          Collect latest property values from the server.
 
Methods inherited from class org.apache.excalibur.instrument.client.NodeData
getCommonMenuItems, getDescription, getName, getPopupMenu, getStateVersion, select, setDescription, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_iconInstrumentableConf

private static final javax.swing.ImageIcon m_iconInstrumentableConf
An Instrumentable which exists because of configuration.


m_iconInstrumentableReg

private static final javax.swing.ImageIcon m_iconInstrumentableReg
An Instrumentable which exists because of registration.


m_iconInstrumentableRegConf

private static final javax.swing.ImageIcon m_iconInstrumentableRegConf
An Instrumentable which exists because of registration and configuration.


m_iconInstrumentableOld

private static final javax.swing.ImageIcon m_iconInstrumentableOld
An Instrumentable which exists because it was loaded from the state file but is no longer used.


m_data

private InstrumentableData m_data

m_configured

private boolean m_configured

m_registered

private boolean m_registered
Constructor Detail

InstrumentableNodeData

InstrumentableNodeData(InstrumentableData data)
Method Detail

getIcon

javax.swing.ImageIcon getIcon()
Get the icon to display for the node.

Specified by:
getIcon in class NodeData
Returns:
the icon to display for the node.

getToolTipText

java.lang.String getToolTipText()
Return the text to use for a tool tip on this node.

Specified by:
getToolTipText in class NodeData
Returns:
Tool Tip text. May be null, for no tool tip.

getData

InstrumentableData getData()

isConfigured

boolean isConfigured()

isRegistered

boolean isRegistered()

update

boolean update()
Collect latest property values from the server. Each call is remote so this allows us to use cached values locally to speed things up.