com.levigo.jadice.swing.commands
Class ShowProductInfoWindowCommand

java.lang.Object
  extended by com.levigo.util.swing.action.injection.InjectedCommand
      extended by com.levigo.jadice.swing.commands.ShowProductInfoWindowCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
ShowTrayLicenseCommand

public class ShowProductInfoWindowCommand
extends InjectedCommand

Shows/Hide a product information window

Hint:
To work properly this commands needs no other objects in the Context object.


Constructor Summary
ShowProductInfoWindowCommand()
           
 
Method Summary
protected  void execute()
          This method is called in order to execute the command.
protected  JComponent getComponent()
           
 void setComponent(JComponent component)
          Deprecated. Will be used by injection exclusively.
 
Methods inherited from class com.levigo.util.swing.action.injection.InjectedCommand
canExecute, canExecute, execute, getKey, isAvailable, isSelected, isSelected, setKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowProductInfoWindowCommand

public ShowProductInfoWindowCommand()
Method Detail

execute

protected void execute()
Description copied from class: InjectedCommand
This method is called in order to execute the command. It is only called, after the arguments have been validated and injected and only if InjectedCommand.canExecute() has returned true.

Specified by:
execute in class InjectedCommand

setComponent

public void setComponent(JComponent component)
Deprecated. Will be used by injection exclusively.

Invoked by command injection.

Developers should not invoke this method in any direct way.


getComponent

protected JComponent getComponent()


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.