| 
    OpenASIP 2.2
    
   | 
 
#include <FitHeightCmd.hh>


Public Member Functions | |
| FitHeightCmd () | |
| virtual | ~FitHeightCmd () | 
| virtual bool | Do () | 
| virtual int | id () const | 
| virtual FitHeightCmd * | create () const | 
| virtual std::string | icon () const | 
| virtual std::string | shortName () const | 
| virtual bool | isEnabled () | 
  Public Member Functions inherited from EditorCommand | |
| EditorCommand (std::string name, wxWindow *parent=NULL) | |
| virtual | ~EditorCommand () | 
| void | setView (wxView *view) | 
| wxView * | view () const | 
  Public Member Functions inherited from GUICommand | |
| GUICommand (std::string name, wxWindow *parent) | |
| virtual | ~GUICommand () | 
| virtual bool | isChecked () const | 
| void | setParentWindow (wxWindow *view) | 
| wxWindow * | parentWindow () const | 
| std::string | name () const | 
EditorCommand for zooming the canvas to fit the window height.
Definition at line 40 of file FitHeightCmd.hh.
| FitHeightCmd::FitHeightCmd | ( | ) | 
The Constructor.
Definition at line 47 of file FitHeightCmd.cc.
Referenced by create().
      
  | 
  virtual | 
      
  | 
  virtual | 
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 104 of file FitHeightCmd.cc.
References FitHeightCmd().

      
  | 
  virtual | 
Executes the command.
Implements GUICommand.
Definition at line 67 of file FitHeightCmd.cc.
References CanvasConstants::AUTOZOOM_STEP, MDFView::canvas(), MachineCanvas::getFigureSize(), CanvasConstants::MAX_ZOOM_FACTOR, MachineCanvas::setZoomFactor(), and EditorCommand::view().

      
  | 
  virtual | 
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 115 of file FitHeightCmd.cc.
References ProDeConstants::CMD_ICON_ZOOM_FIT_HEI.
      
  | 
  virtual | 
Returns id of this command.
Implements GUICommand.
Definition at line 93 of file FitHeightCmd.cc.
References ProDeConstants::COMMAND_ZOOM_FIT_HEI.
      
  | 
  virtual | 
Returns true when the command is executable, false when not.
This command is executable when a document is open.
Reimplemented from EditorCommand.
Definition at line 138 of file FitHeightCmd.cc.
      
  | 
  virtual | 
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 125 of file FitHeightCmd.cc.
References ProDeConstants::CMD_SNAME_ZOOM_FIT_HEI.