summaryrefslogtreecommitdiff
path: root/docs/xml/corelib/fpg_command_intf.xml
blob: b012efa80a1707c163e949bb069654dbf1abdc16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<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="#fpgui.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="#fpgui.fpg_command_intf.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="#fpgui.fpg_command_intf.ICommandHolder"/>. An example of a class that implements this interface
is the <link id="#fpgui.fpg_button.TfpgBaseButton">TfpgBaseButton</link> class.</descr>
</element>

</module>

</package>
</fpdoc-descriptions>