diff options
-rw-r--r-- | docs/xml/corelib/fpg_command_intf.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/xml/corelib/fpg_command_intf.xml b/docs/xml/corelib/fpg_command_intf.xml new file mode 100644 index 00000000..03ec28bb --- /dev/null +++ b/docs/xml/corelib/fpg_command_intf.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<fpdoc-descriptions> +<package name="fpGUI"> + +<module name="fpg_command_intf"> +<short>This unit defines the Command design pattern interfaces used by fpGUI</short> +<descr><p><printshort id="fpg_command_intf"/>. The Command design pattern is similar to +the TActions from Delphi or Lazarus.</p></descr> + +<element name="ICommand"> +<short>This interface represents a Command</short> +<descr><printshort id="ICommand"/>. Currently in only defines one procedure called <var>Execute</var>.</descr> +</element> + + +<element name="ICommandHolder"> +<short>An interface that allows to Get or Set a Command</short> +<descr><printshort id="ICommandHolder"/>. An example of a class that implements this interface +is the <link id="fpg_button.TfpgBaseButton">TfpgBaseButton</link> class.</descr> +</element> + +</module> + +</package> +</fpdoc-descriptions> |