FreeHEP API
Version current

org.freehep.util.commanddispatcher
Interface CommandState

All Known Subinterfaces:
BooleanCommandState
All Known Implementing Classes:
CommandSourceAdapter

public interface CommandState

An interface representing the state of a CommandTarget (enabled or disabled, text and tooltip text)

Version:
$Id: CommandState.java,v 1.4 2003/05/14 17:53:08 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
Source Code:
CommandState.java

Method Summary
 void setEnabled(boolean state)
           
 void setText(String text)
           
 void setToolTipText(String text)
           
 

Method Detail

setEnabled

public void setEnabled(boolean state)

setText

public void setText(String text)

setToolTipText

public void setToolTipText(String text)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.