webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::Editor::Command Class Reference

#include <Editor.h>

Public Member Functions

WEBCORE_EXPORT Command ()
 
 Command (const EditorInternalCommand *, EditorCommandSource, PassRefPtr< Frame >)
 
WEBCORE_EXPORT bool execute (const String &parameter=String(), Event *triggeringEvent=nullptr) const
 
WEBCORE_EXPORT bool execute (Event *triggeringEvent) const
 
WEBCORE_EXPORT bool isSupported () const
 
WEBCORE_EXPORT bool isEnabled (Event *triggeringEvent=nullptr) const
 
WEBCORE_EXPORT TriState state (Event *triggeringEvent=nullptr) const
 
String value (Event *triggeringEvent=nullptr) const
 
WEBCORE_EXPORT bool isTextInsertion () const
 
WEBCORE_EXPORT bool allowExecutionWhenDisabled () const
 
WEBCORE_EXPORT Command ()
 
 Command (const EditorInternalCommand *, EditorCommandSource, PassRefPtr< Frame >)
 
WEBCORE_EXPORT bool execute (const String &parameter=String(), Event *triggeringEvent=nullptr) const
 
WEBCORE_EXPORT bool execute (Event *triggeringEvent) const
 
WEBCORE_EXPORT bool isSupported () const
 
WEBCORE_EXPORT bool isEnabled (Event *triggeringEvent=nullptr) const
 
WEBCORE_EXPORT TriState state (Event *triggeringEvent=nullptr) const
 
String value (Event *triggeringEvent=nullptr) const
 
WEBCORE_EXPORT bool isTextInsertion () const
 
WEBCORE_EXPORT bool allowExecutionWhenDisabled () const
 

Constructor & Destructor Documentation

◆ Command() [1/4]

WebCore::Editor::Command::Command ( )

◆ Command() [2/4]

WebCore::Editor::Command::Command ( const EditorInternalCommand command,
EditorCommandSource  source,
PassRefPtr< Frame frame 
)

◆ Command() [3/4]

WEBCORE_EXPORT WebCore::Editor::Command::Command ( )

◆ Command() [4/4]

WebCore::Editor::Command::Command ( const EditorInternalCommand ,
EditorCommandSource  ,
PassRefPtr< Frame  
)

Member Function Documentation

◆ allowExecutionWhenDisabled() [1/2]

bool WebCore::Editor::Command::allowExecutionWhenDisabled ( ) const

◆ allowExecutionWhenDisabled() [2/2]

WEBCORE_EXPORT bool WebCore::Editor::Command::allowExecutionWhenDisabled ( ) const

◆ execute() [1/4]

bool WebCore::Editor::Command::execute ( const String parameter = String(),
Event triggeringEvent = nullptr 
) const

◆ execute() [2/4]

WEBCORE_EXPORT bool WebCore::Editor::Command::execute ( const String parameter = String(),
Event triggeringEvent = nullptr 
) const

◆ execute() [3/4]

bool WebCore::Editor::Command::execute ( Event triggeringEvent) const

◆ execute() [4/4]

WEBCORE_EXPORT bool WebCore::Editor::Command::execute ( Event triggeringEvent) const

◆ isEnabled() [1/2]

bool WebCore::Editor::Command::isEnabled ( Event triggeringEvent = nullptr) const

◆ isEnabled() [2/2]

WEBCORE_EXPORT bool WebCore::Editor::Command::isEnabled ( Event triggeringEvent = nullptr) const

◆ isSupported() [1/2]

WEBCORE_EXPORT bool WebCore::Editor::Command::isSupported ( ) const

◆ isSupported() [2/2]

bool WebCore::Editor::Command::isSupported ( ) const

◆ isTextInsertion() [1/2]

WEBCORE_EXPORT bool WebCore::Editor::Command::isTextInsertion ( ) const

◆ isTextInsertion() [2/2]

bool WebCore::Editor::Command::isTextInsertion ( ) const

◆ state() [1/2]

WEBCORE_EXPORT TriState WebCore::Editor::Command::state ( Event triggeringEvent = nullptr) const

◆ state() [2/2]

TriState WebCore::Editor::Command::state ( Event triggeringEvent = nullptr) const

◆ value() [1/2]

String WebCore::Editor::Command::value ( Event triggeringEvent = nullptr) const

◆ value() [2/2]

String WebCore::Editor::Command::value ( Event triggeringEvent = nullptr) const

The documentation for this class was generated from the following files: