Class ShowGradationCommand
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.command.InjectedWidgetCommand
com.levigo.jadice.web.client.commands.ShowGradationCommand
- All Implemented Interfaces:
Command,WidgetCommand
Displays a popup widget for changing the gradation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.levigo.jadice.web.client.util.command.WidgetCommand
WidgetCommand.Handler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanSubclasses may override this method to perform argument validation beyond the validation that happens automatically during the injection phase.protected com.google.gwt.user.client.ui.IsWidgetprotected StringvoidsetHandler(WidgetCommand.Handler handler) voidsetPageView(PageView pageView) Methods inherited from class com.levigo.jadice.web.client.command.InjectedWidgetCommand
createWidget, executeMethods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, clearInjections, execute, getKey, isSelected, isSelected, setKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.levigo.jadice.web.client.util.command.Command
canExecute, execute, getID, isAvailable, isAvailable, isSelected
-
Constructor Details
-
ShowGradationCommand
public ShowGradationCommand()
-
-
Method Details
-
setPageView
-
canExecute
protected boolean canExecute()Description copied from class:InjectedCommandSubclasses may override this method to perform argument validation beyond the validation that happens automatically during the injection phase. This method is called after the context has been found to match the requirements specified via the @ link Argument} annotations and the arguments have been injected.- Overrides:
canExecutein classInjectedCommand- Returns:
trueif the command can/may be executed in the current context,falseotherwise.
-
createWidget
protected com.google.gwt.user.client.ui.IsWidget createWidget()- Specified by:
createWidgetin classInjectedWidgetCommand
-
getCaption
- Specified by:
getCaptionin classInjectedWidgetCommand- Returns:
- caption text for dialog
-
setHandler
-