org.apache.excalibur.instrument.client
Class InstrumentNodeData

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

 class InstrumentNodeData
extends NodeData

Author:
Avalon Development Team

Field Summary
private  boolean m_configured
           
private  InstrumentManagerConnection m_connection
           
private  InstrumentData m_data
           
private static javax.swing.ImageIcon m_iconInstrumentCtrConf
          A counter Instrument which exists because of configuration.
private static javax.swing.ImageIcon m_iconInstrumentCtrOld
          A counter Instrument which exists because it was loaded from the state file but is no longer used.
private static javax.swing.ImageIcon m_iconInstrumentCtrReg
          A counter Instrument which exists because of registration.
private static javax.swing.ImageIcon m_iconInstrumentCtrRegConf
          A counter Instrument which exists because of registration and configuration.
private static javax.swing.ImageIcon m_iconInstrumentValConf
          A value Instrument which exists because of configuration.
private static javax.swing.ImageIcon m_iconInstrumentValOld
          A value Instrument which exists because it was loaded from the state file but is no longer used.
private static javax.swing.ImageIcon m_iconInstrumentValReg
          A value Instrument which exists because of registration.
private static javax.swing.ImageIcon m_iconInstrumentValRegConf
          A value Instrument which exists because of registration and configuration.
private  boolean m_registered
           
private  int m_type
           
 
Fields inherited from class org.apache.excalibur.instrument.client.NodeData
EMPTY_MENU_ITEM_ARRAY, MEDIA_PATH
 
Constructor Summary
InstrumentNodeData(InstrumentData data, InstrumentManagerConnection connection)
           
 
Method Summary
 javax.swing.JMenuItem[] getCommonMenuItems()
          Returns an array of any menu items which will be displayed both in a popup menu and in the menus.
(package private)  InstrumentData 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)  int getType()
           
(package private)  boolean isConfigured()
           
(package private)  boolean isRegistered()
           
(package private)  boolean update()
           
 
Methods inherited from class org.apache.excalibur.instrument.client.NodeData
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_iconInstrumentCtrConf

private static final javax.swing.ImageIcon m_iconInstrumentCtrConf
A counter Instrument which exists because of configuration.


m_iconInstrumentCtrReg

private static final javax.swing.ImageIcon m_iconInstrumentCtrReg
A counter Instrument which exists because of registration.


m_iconInstrumentCtrRegConf

private static final javax.swing.ImageIcon m_iconInstrumentCtrRegConf
A counter Instrument which exists because of registration and configuration.


m_iconInstrumentCtrOld

private static final javax.swing.ImageIcon m_iconInstrumentCtrOld
A counter Instrument which exists because it was loaded from the state file but is no longer used.


m_iconInstrumentValConf

private static final javax.swing.ImageIcon m_iconInstrumentValConf
A value Instrument which exists because of configuration.


m_iconInstrumentValReg

private static final javax.swing.ImageIcon m_iconInstrumentValReg
A value Instrument which exists because of registration.


m_iconInstrumentValRegConf

private static final javax.swing.ImageIcon m_iconInstrumentValRegConf
A value Instrument which exists because of registration and configuration.


m_iconInstrumentValOld

private static final javax.swing.ImageIcon m_iconInstrumentValOld
A value Instrument which exists because it was loaded from the state file but is no longer used.


m_data

private InstrumentData m_data

m_connection

private InstrumentManagerConnection m_connection

m_configured

private boolean m_configured

m_registered

private boolean m_registered

m_type

private int m_type
Constructor Detail

InstrumentNodeData

InstrumentNodeData(InstrumentData data,
                   InstrumentManagerConnection connection)
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.

getCommonMenuItems

public javax.swing.JMenuItem[] getCommonMenuItems()
Returns an array of any menu items which will be displayed both in a popup menu and in the menus.

Overrides:
getCommonMenuItems in class NodeData
Returns:
An array of the common menu items.

getData

InstrumentData getData()

isConfigured

boolean isConfigured()

isRegistered

boolean isRegistered()

getType

int getType()

update

boolean update()