com.didkovsky.portview
Interface PVMenuItem

All Known Subinterfaces:
PVCheckboxMenuItem, PVMenu
All Known Implementing Classes:
PVCheckboxMenuItemAWT, PVCheckboxMenuItemSwing, PVMenuAWT, PVMenuItemAWT, PVMenuItemSwing, PVMenuSwing

public interface PVMenuItem

Author:
Nick Didkovsky, (c) 2004 All rights reserved, Email: didkovn@mail.rockefeller.edu

Method Summary
 void addActionListener(java.awt.event.ActionListener listener)
           
 java.lang.String getLabel()
           
 PVMenuItem getParentMenuItem()
           
 boolean isEnabled()
           
 void setEnabled(boolean b)
           
 void setKeyShortcut(int keyCode)
           
 void setLabel(java.lang.String label)
           
 void setParentPVMenuItem(PVMenuItem parent)
           
 

Method Detail

addActionListener

void addActionListener(java.awt.event.ActionListener listener)

setLabel

void setLabel(java.lang.String label)

getLabel

java.lang.String getLabel()

isEnabled

boolean isEnabled()

setEnabled

void setEnabled(boolean b)

setKeyShortcut

void setKeyShortcut(int keyCode)

getParentMenuItem

PVMenuItem getParentMenuItem()

setParentPVMenuItem

void setParentPVMenuItem(PVMenuItem parent)