FGX.YogaManager.TfgYogaTreeManager: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
(не показано 19 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
− | * [[ | + | * [[ System.TObject | Вверх к родителю: TObject ]] |
− | * [[ FGX.YogaManager | + | * [[ FGX.YogaManager | К модулю: FGX.YogaManager ]] |
− | |||
Delphi | Delphi | ||
<syntaxhighlight lang="Delphi">TfgYogaTreeManager = class (TObject)</syntaxhighlight> | <syntaxhighlight lang="Delphi">TfgYogaTreeManager = class (TObject)</syntaxhighlight> | ||
+ | |||
+ | <p class="class-inheritance"><span class="type-border">[[System.TObject|TObject]]</span> -> <span class="type-border">[[FGX.YogaManager.TfgYogaTreeManager|TfgYogaTreeManager]]</span></p> | ||
+ | |||
+ | == Описание == | ||
+ | |||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | == Конструкторы == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create()</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |} | ||
+ | |||
+ | == Методы == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">AddControl(const AControl: [[FGX.Controls.TfgControl|TfgControl]])</code> | ||
+ | <p>Добавляет контрол в менеджер. Теперь менеджер знает про этот контрол и может исппользовать его при построении дерева йога нод.</p> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">RemoveControl(const AControl: [[FGX.Controls.TfgControl|TfgControl]])</code> | ||
+ | <p>Удаляет контрол из менеджера. Теперь контрол не будет принимать участие в выравнивании.</p> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">ApplyControlSettings(const AControl: [[FGX.Controls.TfgControl|TfgControl]]; const ANeedRecalculate: [[Boolean]])</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">ApplyContentSettings(const AControl: [[FGX.Controls.TfgControl|TfgControl]]; const ANeedRecalculate: [[Boolean]])</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">MarkNeedRecalculateLayout(const AControl: [[FGX.Controls.TfgControl|TfgControl]])</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">RecalculateLayoutNodes(const AControl: [[FGX.Controls.TfgControl|TfgControl]]; const AWishedSize: [[TSizeF]])</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">RecalculateLayout(const AControl: [[FGX.Controls.TfgControl|TfgControl]])</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">AsyncRecalculateLayout(const AControl: [[FGX.Controls.TfgControl|TfgControl]])</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SynchronizeTreeFor(const AControl: [[FGX.Controls.TfgControl|TfgControl]]; const ANeedRecalculate: [[Boolean]])</code> | ||
+ | <p>Синхронизирует положение йога ноды соответствующая указанному контролу в йога дереве. Должно вызываться, когда конрол меняет родителя.</p> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">RemoveFromParent(const AControl: [[FGX.Controls.TfgControl|TfgControl]])</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetProtoNode(const AControl: [[FGX.Controls.TfgControl|TfgControl]]): [[Facebook.Yoga.TYogaNode|TYogaNode]]</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetTreeNode(const AControl: [[FGX.Controls.TfgControl|TfgControl]]): [[Facebook.Yoga.TYogaNode|TYogaNode]]</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">DumpLayout(const AControl: [[FGX.Controls.TfgControl|TfgControl]]): [[string]]</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">class function</syntaxhighlight> || <code lang="Delphi">IsWidthFixed(const AControl: [[FGX.Controls.TfgControl|TfgControl]]): [[Boolean]]</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">class function</syntaxhighlight> || <code lang="Delphi">IsHeightFixed(const AControl: [[FGX.Controls.TfgControl|TfgControl]]): [[Boolean]]</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |} | ||
+ | |||
+ | == Свойства == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Current: [[FGX.YogaManager.TfgYogaTreeManager|TfgYogaTreeManager]]</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |} |
Текущая версия на 22:12, 4 сентября 2019
Delphi
TfgYogaTreeManager = class (TObject)
Содержание
Описание
Описание отсутствует.
Конструкторы
constructor
|
Create()
Описание отсутствует. |
Методы
procedure
|
AddControl(const AControl: TfgControl)
Добавляет контрол в менеджер. Теперь менеджер знает про этот контрол и может исппользовать его при построении дерева йога нод. |
procedure
|
RemoveControl(const AControl: TfgControl)
Удаляет контрол из менеджера. Теперь контрол не будет принимать участие в выравнивании. |
procedure
|
ApplyControlSettings(const AControl: TfgControl; const ANeedRecalculate: Boolean)
Описание отсутствует. |
procedure
|
ApplyContentSettings(const AControl: TfgControl; const ANeedRecalculate: Boolean)
Описание отсутствует. |
procedure
|
MarkNeedRecalculateLayout(const AControl: TfgControl)
Описание отсутствует. |
procedure
|
RecalculateLayoutNodes(const AControl: TfgControl; const AWishedSize: TSizeF)
Описание отсутствует. |
procedure
|
RecalculateLayout(const AControl: TfgControl)
Описание отсутствует. |
procedure
|
AsyncRecalculateLayout(const AControl: TfgControl)
Описание отсутствует. |
procedure
|
SynchronizeTreeFor(const AControl: TfgControl; const ANeedRecalculate: Boolean)
Синхронизирует положение йога ноды соответствующая указанному контролу в йога дереве. Должно вызываться, когда конрол меняет родителя. |
procedure
|
RemoveFromParent(const AControl: TfgControl)
Описание отсутствует. |
function
|
GetProtoNode(const AControl: TfgControl): TYogaNode
Описание отсутствует. |
function
|
GetTreeNode(const AControl: TfgControl): TYogaNode
Описание отсутствует. |
function
|
DumpLayout(const AControl: TfgControl): string
Описание отсутствует. |
class function
|
IsWidthFixed(const AControl: TfgControl): Boolean
Описание отсутствует. |
class function
|
IsHeightFixed(const AControl: TfgControl): Boolean
Описание отсутствует. |
Свойства
property
|
Current: TfgYogaTreeManager
Описание отсутствует. |