共用方式為


CUI.Page.FocusManager Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the CUI.Page.FocusManager class.

Methods

Name

Description

callCommandHandler

Calls the specified command handler to execute the command with the specified ID, properties, and sequence number.

callCommandHandlerForEnabled

Determines whether the specified command handler can execute the command with the specified ID.

canHandleCommand

Determines whether the CUI.Page.PageComponent Class that has the focus can handle the command.

executeCommand

Executes the command with the specified ID on all of the registered command handlers that can execute the command.

FocusManager

This member is reserved for internal use and is not intended to be used directly from your code.

getFocusedComponents

Gets the list of the active page components that have the focus.

getLastSequenceNumber

Gets the current sequence number of the indexer.

getNextSequenceNumber

Gets the next sequence number of the indexer.

handleCommand

Executes the command with the specified ID using the registered command handler.

peekNextSequenceNumber

Gets the next sequence number of the indexer without increasing the indexer value.

registerCommandHandler

Registers a command handler for the command with the specified ID.

releaseAllFoci

Removes the focus so that no PageComponent has the focus.

releaseFocusFromComponent

Removes the focus from the specified component.

requestFocusForComponent

Directs the focus to the specified component.

unregisterCommandHandler

Unregisters the command handler with the specified ID from the specified command handler.

Applies To

CUI.Page.FocusManager Class

See Also

Reference

CUI.Page Namespace