RasterCommandItem( parentControl, command )

Creates a renderable version of a RasterCommand that can be added to a menu or a toolbar. This constructor should not be used directly. To add commands to menus and toolbars use RasterMenu.add() and RasterToolbar.add() respectively.

Parameters

Name Type   Description
parentControl object The RasterToolbar or RasterMenu object that contains this command.
command A RasterCommand object.

See Also

Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López