summaryrefslogtreecommitdiff
path: root/docs/xml/corelib/fpg_command_intf.xml
blob: 03ec28bb3544f51219897e6bd96851479edbd231 (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="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>