com.levigo.jadice.swing.commands
Class ShowProductInfoSplashCommand

java.lang.Object
  extended by com.levigo.util.swing.action.injection.InjectedCommand
      extended by com.levigo.jadice.swing.commands.ShowProductInfoSplashCommand
All Implemented Interfaces:
Command

public class ShowProductInfoSplashCommand
extends InjectedCommand

Shows/Hide a product info splash screen

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

Author:
Carolin Koehler

Constructor Summary
ShowProductInfoSplashCommand()
           
 
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

ShowProductInfoSplashCommand

public ShowProductInfoSplashCommand()
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 © 2017 levigo holding gmbh. All rights reserved.