MaxCustomControls::CommandSystem::CollapseSelectedCommand Class Reference


Detailed Description

This command is used to expand all the selected nodes in the explorerTreeList.

List of all members.

Public Member Functions

override void  Cancel ()
  Do nothing since this command is not cancelable.
override void  Execute ()
  When called, collapse all the selected nodes in the explorerTreeList.
override bool  IsValid ()
  Tell whether the command is valid to be called.

Static Public Member Functions

static Command  Create ()
  A Factory method to create an instance of CollapseSelectedCommand.

Properties

override bool  Cancelable [get]
  CollapseSelectedCommand is not cancelable.
override string  Name [get]
  This Command's internationalized name.
override Explorer  Explorer [get, set]
  Override Base.Explorer to bind/unbind local event handler.

Member Function Documentation

static Command MaxCustomControls::CommandSystem::CollapseSelectedCommand::Create ( ) [inline, static]

A Factory method to create an instance of CollapseSelectedCommand.

Returns:
An instance of CollapseSelectedCommand.
override void MaxCustomControls::CommandSystem::CollapseSelectedCommand::Cancel ( ) [inline]

Do nothing since this command is not cancelable.

override void MaxCustomControls::CommandSystem::CollapseSelectedCommand::Execute ( ) [inline]

When called, collapse all the selected nodes in the explorerTreeList.

override bool MaxCustomControls::CommandSystem::CollapseSelectedCommand::IsValid ( ) [inline]

Tell whether the command is valid to be called.

Returns:
If there are nodes selected in explorer, return true; false otherwise.

Property Documentation

override bool MaxCustomControls::CommandSystem::CollapseSelectedCommand::Cancelable [get]

CollapseSelectedCommand is not cancelable.

override string MaxCustomControls::CommandSystem::CollapseSelectedCommand::Name [get]

This Command's internationalized name.

override Explorer MaxCustomControls::CommandSystem::CollapseSelectedCommand::Explorer [get, set]

Override Base.Explorer to bind/unbind local event handler.


MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand
MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand MaxCustomControls::CommandSystem::CollapseSelectedCommand