|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.action.injection.InjectedCommand com.levigo.jadice.swing.commands.ShowProductInfoWindowCommand
public class ShowProductInfoWindowCommand
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 |
---|
public ShowProductInfoWindowCommand()
Method Detail |
---|
protected void execute()
InjectedCommand
InjectedCommand.canExecute()
has returned
true
.
execute
in class InjectedCommand
public void setComponent(JComponent component)
Developers should not invoke this method in any direct way.
protected JComponent getComponent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |