Class tdockcontroller
Unit
Declaration
type tdockcontroller = class(tdragcontroller)
Description
No description available, ancestor tdragcontroller description follows
No description available, ancestor tcustomdragcontroller description follows
No description available, ancestor tlinkedpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- tcustomdragcontroller
- tdragcontroller
- tdockcontroller
Overview
Fields
foptionsdock: optionsdockty; |
|
fr: prectaccessty; |
|
fw: pwidgetaccessty; |
|
fplacing: integer; |
|
fclickedbutton: dockbuttonrectty; |
|
fwidgetstate: widgetstatesty; |
Methods
procedure checkdirection; |
|
procedure objectevent(const sender: tobject; const event: objecteventty) override; |
|
function checkclickstate(const info: mouseeventinfoty): boolean override; |
|
procedure dokeypress(const sender: twidget; var info: keyeventinfoty) override; |
|
procedure drawxorpic(const ashow: boolean; var canvas1: tcanvas); |
|
procedure endmouseop1(); |
|
procedure endmouseop2(); |
|
procedure cancelsizing(); |
|
function doclose(const awidget: twidget): boolean; |
|
procedure setmdistate(const avalue: mdistatety); virtual; |
|
procedure domdistatechanged(const oldstate,newstate: mdistatety); virtual; |
|
function dofloat(const adist: pointty): boolean; virtual; |
|
function dodock(const oldparent: tdockcontroller): boolean; virtual; |
|
procedure dochilddock(const awidget: twidget); virtual; |
|
procedure dochildfloat(const awidget: twidget); virtual; |
|
function docheckdock(const info: draginfoty): boolean; virtual; |
|
function dockdrag(const dragobj: tdockdragobject): boolean; |
|
procedure childstatechanged(const sender: twidget; const newstate,oldstate: widgetstatesty); virtual; |
|
function nogrip: boolean; |
|
function canfloat: boolean; |
|
procedure refused(const apos: pointty); |
|
function calclayout(const dragobject: tdockdragobject; const nonewplace: boolean): boolean; |
|
procedure setpickshape(const ashape: cursorshapety); |
|
procedure restorepickshape; |
|
function checkbuttonarea(const apos: pointty): dockbuttonrectty; |
|
procedure updatesplitterrects(const awidgets: widgetarty); |
|
procedure checksplitdir(var asplitdir: splitdirty); |
|
procedure setoptionsdock(const avalue: optionsdockty); virtual; |
|
function isfullarea: boolean; |
|
function istabed: boolean; |
|
function ismdi: boolean; |
|
function isfloating: boolean; |
|
function canmdisize: boolean; |
|
procedure dolayoutchanged; virtual; |
|
procedure doboundschanged; |
|
procedure docaptionchanged; |
|
function findbandpos(const apos: integer; out aindex: integer; out arect: rectty): boolean; |
|
function findbandwidget(const apos: pointty; out aindex: integer; out arect: rectty): boolean; |
|
function findbandindex(const widgetindex: integer; out aindex: integer; out arect: rectty): boolean; |
|
function nofit: boolean; |
|
function writechild(const index: integer): msestring; |
|
procedure readchildrencount(const acount: integer); |
|
procedure readchild(const index: integer; const avalue: msestring); |
|
procedure receiveevent(const aevent: tobjectevent); override; |
|
function canbegindrag: boolean; override; |
|
procedure dostatplace(const aparent: twidget; const avisible: boolean; arect: rectty); virtual; |
|
procedure updatetabpage(const sender: ttabpage); |
|
constructor create(aintf: idockcontroller); |
|
destructor destroy; override; |
|
function beforedragevent(var info: draginfoty): boolean; override; |
|
procedure enddrag; override; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure clientmouseevent(var info: mouseeventinfoty); override; |
|
procedure childormouseevent(const sender: twidget; var info: mouseeventinfoty); override; |
|
procedure checkmouseactivate(const sender: twidget; var info: mouseeventinfoty); |
|
procedure dopaint(const acanvas: tcanvas); |
|
procedure doactivate; |
|
procedure sizechanged(force: boolean = false; scalefixedalso: boolean = false; const awidgets: widgetarty = nil); |
|
procedure parentchanged(const sender: twidget); |
|
procedure poschanged; |
|
procedure statechanged(const astate: widgetstatesty); virtual; |
|
procedure widgetregionchanged(const sender: twidget); |
|
procedure updateminscrollsize(var asize: sizety); |
|
procedure beginclientrectchanged; |
|
procedure endclientrectchanged; |
|
procedure beginplacement(); |
|
procedure endplacement(); |
|
procedure layoutchanged; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter; const bounds: prectty = nil); |
|
procedure statreading; |
|
procedure statread; |
|
function getdockcaption: msestring; |
|
function getfloatcaption: msestring; |
|
function getitems: widgetarty; |
|
function getwidget: twidget; |
|
function activewidget: twidget; |
|
function getparentcontroller( out acontroller: tdockcontroller): boolean; overload; |
|
function getparentcontroller: tdockcontroller; overload; |
|
function dockparentname(): string; |
|
function childicon(): tmaskedbitmap virtual; |
|
function close: boolean; |
|
function closeactivewidget: boolean; |
|
function float(): boolean; |
|
function dockto(const dest: tdockcontroller; const apos: pointty): boolean; |
|
procedure dock(const source: tdockcontroller; const arect: rectty); |
Properties
property useroptions: optionsdockty read fuseroptions write setuseroptions
default defaultoptionsdock; |
|
property tabwidget: ttabwidget read ftabwidget; |
|
property activetabpage: ttabpage read getactivetabpage; |
|
property mdistate: mdistatety read fmdistate write setmdistate; |
|
property currentsplitdir: splitdirty read fsplitdir
write setcurrentsplitdir; |
|
property dockrect: rectty read getdockrect; |
|
property dockhandle: tdockhandle read fdockhandle write setdockhandle; |
|
property splitter_size: integer read fsplitter_size
write setsplitter_size default defaultsplittersize; |
|
property splitter_grip: stockbitmapty read fsplitter_grip
write setsplitter_setgrip default defaultsplittergrip; |
|
property splitter_color: colorty read fsplitter_color
write setsplitter_color default defaultsplittercolor; |
|
property splitter_colorgrip: colorty read fsplitter_colorgrip
write setsplitter_colorgrip default defaultsplittercolorgrip; |
|
property tab_options: tabbaroptionsty read ftab_options write settab_options
default defaulttaboptions; |
|
property tab_textflags: textflagsty read ftab_textflags write
settab_textflags default defaultcaptiontextflags; |
|
property tab_width: integer read ftab_width write settab_width default 0; |
|
property tab_widthmin: integer read ftab_widthmin
write settab_widthmin default 0; |
|
property tab_widthmax: integer read ftab_widthmax
write settab_widthmax default 0; |
|
property tab_frame: tframecomp read ftab_frame write settab_frame; |
|
property tab_face: tfacecomp read ftab_face write settab_face; |
|
property tab_color: colorty read ftab_color write settab_color
default cl_default; |
|
property tab_colortab: colorty read ftab_colortab
write settab_colortab default cl_transparent; |
|
property tab_coloractivetab: colorty read ftab_coloractivetab
write settab_coloractivetab default cl_active; |
|
property tab_frametab: tframecomp read ftab_frametab write settab_frametab; |
|
property tab_facetab: tfacecomp read ftab_facetab write settab_facetab; |
|
property tab_faceactivetab: tfacecomp read ftab_faceactivetab
write settab_faceactivetab; |
|
property tab_size: integer read ftab_size write settab_size default 0; |
|
property tab_sizemin: integer read ftab_sizemin write settab_sizemin
default defaulttabsizemin; |
|
property tab_sizemax: integer read ftab_sizemax write settab_sizemax
default defaulttabsizemax; |
|
property colortab: colorty read fcolortab
write setcolortab default cl_default; |
|
property coloractivetab: colorty read fcoloractivetab
write setcoloractivetab default cl_default; |
|
property facetab: tfacecomp read ffacetab write setfacetab; |
|
property faceactivetab: tfacecomp read ffaceactivetab write setfaceactivetab; |
|
property caption: msestring read fcaption write setcaption; |
|
property splitdir: splitdirty read fdefaultsplitdir write setsplitdir
default sd_none; |
|
property optionsdock: optionsdockty read foptionsdock write setoptionsdock
default defaultoptionsdock; |
|
property bandgap: integer read fbandgap write setbandgap default 0; |
|
property oncalclayout: docklayouteventty read foncalclayout
write foncalclayout; |
|
property onlayoutchanged: dockcontrollereventty read fonlayoutchanged
write fonlayoutchanged; |
|
property onboundschanged: dockcontrollereventty read fonboundschanged
write fonboundschanged; |
|
property oncaptionchanged: dockcontrollereventty read foncaptionchanged
write foncaptionchanged; |
|
property onbeforefloat: dockrecteventty read fonbeforefloat
write fonbeforefloat; |
|
property onfloat: notifyeventty read fonfloat write fonfloat; |
|
property ondock: notifyeventty read fondock write fondock; |
|
property onchilddock: widgeteventty read fonchilddock write fonchilddock; |
|
property onchildfloat: widgeteventty read fonchildfloat write fonchildfloat; |
|
property oncheckdock: checkdockeventty read foncheckdock write foncheckdock; |
|
property onmdistatechanged: mdistatechangedeventty read fonmdistatechanged
write fonmdistatechanged; |
Description
Fields
foptionsdock: optionsdockty; |
|
fr: prectaccessty; |
|
fw: pwidgetaccessty; |
|
fplacing: integer; |
|
fclickedbutton: dockbuttonrectty; |
|
fwidgetstate: widgetstatesty; |
|
Methods
procedure checkdirection; |
|
procedure objectevent(const sender: tobject; const event: objecteventty) override; |
|
function checkclickstate(const info: mouseeventinfoty): boolean override; |
|
procedure dokeypress(const sender: twidget; var info: keyeventinfoty) override; |
|
procedure drawxorpic(const ashow: boolean; var canvas1: tcanvas); |
|
procedure endmouseop1(); |
|
procedure endmouseop2(); |
|
procedure cancelsizing(); |
|
function doclose(const awidget: twidget): boolean; |
|
procedure setmdistate(const avalue: mdistatety); virtual; |
|
procedure domdistatechanged(const oldstate,newstate: mdistatety); virtual; |
|
function dofloat(const adist: pointty): boolean; virtual; |
|
function dodock(const oldparent: tdockcontroller): boolean; virtual; |
|
procedure dochilddock(const awidget: twidget); virtual; |
|
procedure dochildfloat(const awidget: twidget); virtual; |
|
function docheckdock(const info: draginfoty): boolean; virtual; |
|
function dockdrag(const dragobj: tdockdragobject): boolean; |
|
procedure childstatechanged(const sender: twidget; const newstate,oldstate: widgetstatesty); virtual; |
|
function nogrip: boolean; |
|
function canfloat: boolean; |
|
procedure refused(const apos: pointty); |
|
function calclayout(const dragobject: tdockdragobject; const nonewplace: boolean): boolean; |
|
procedure setpickshape(const ashape: cursorshapety); |
|
procedure restorepickshape; |
|
function checkbuttonarea(const apos: pointty): dockbuttonrectty; |
|
procedure updatesplitterrects(const awidgets: widgetarty); |
|
procedure checksplitdir(var asplitdir: splitdirty); |
|
procedure setoptionsdock(const avalue: optionsdockty); virtual; |
|
function isfullarea: boolean; |
|
function istabed: boolean; |
|
function ismdi: boolean; |
|
function isfloating: boolean; |
|
function canmdisize: boolean; |
|
procedure dolayoutchanged; virtual; |
|
procedure doboundschanged; |
|
procedure docaptionchanged; |
|
function findbandpos(const apos: integer; out aindex: integer; out arect: rectty): boolean; |
|
function findbandwidget(const apos: pointty; out aindex: integer; out arect: rectty): boolean; |
|
function findbandindex(const widgetindex: integer; out aindex: integer; out arect: rectty): boolean; |
|
function nofit: boolean; |
|
function writechild(const index: integer): msestring; |
|
procedure readchildrencount(const acount: integer); |
|
procedure readchild(const index: integer; const avalue: msestring); |
|
procedure receiveevent(const aevent: tobjectevent); override; |
|
function canbegindrag: boolean; override; |
|
procedure dostatplace(const aparent: twidget; const avisible: boolean; arect: rectty); virtual; |
|
procedure updatetabpage(const sender: ttabpage); |
|
constructor create(aintf: idockcontroller); |
|
destructor destroy; override; |
|
function beforedragevent(var info: draginfoty): boolean; override; |
|
procedure enddrag; override; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure clientmouseevent(var info: mouseeventinfoty); override; |
|
procedure childormouseevent(const sender: twidget; var info: mouseeventinfoty); override; |
|
procedure checkmouseactivate(const sender: twidget; var info: mouseeventinfoty); |
|
procedure dopaint(const acanvas: tcanvas); |
|
procedure doactivate; |
|
procedure sizechanged(force: boolean = false; scalefixedalso: boolean = false; const awidgets: widgetarty = nil); |
|
procedure parentchanged(const sender: twidget); |
|
procedure poschanged; |
|
procedure statechanged(const astate: widgetstatesty); virtual; |
|
procedure widgetregionchanged(const sender: twidget); |
|
procedure updateminscrollsize(var asize: sizety); |
|
procedure beginclientrectchanged; |
|
procedure endclientrectchanged; |
|
procedure beginplacement(); |
|
procedure endplacement(); |
|
procedure layoutchanged; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter; const bounds: prectty = nil); |
|
procedure statreading; |
|
procedure statread; |
|
function getdockcaption: msestring; |
|
function getfloatcaption: msestring; |
|
function getitems: widgetarty; |
|
function getwidget: twidget; |
|
function activewidget: twidget; |
|
function getparentcontroller( out acontroller: tdockcontroller): boolean; overload; |
|
function getparentcontroller: tdockcontroller; overload; |
|
function dockparentname(): string; |
|
function childicon(): tmaskedbitmap virtual; |
|
function close: boolean; |
|
function closeactivewidget: boolean; |
|
function float(): boolean; |
|
function dockto(const dest: tdockcontroller; const apos: pointty): boolean; |
|
procedure dock(const source: tdockcontroller; const arect: rectty); |
|
Properties
property useroptions: optionsdockty read fuseroptions write setuseroptions
default defaultoptionsdock; |
|
property tabwidget: ttabwidget read ftabwidget; |
|
property activetabpage: ttabpage read getactivetabpage; |
|
property mdistate: mdistatety read fmdistate write setmdistate; |
|
property currentsplitdir: splitdirty read fsplitdir
write setcurrentsplitdir; |
|
property dockrect: rectty read getdockrect; |
|
property dockhandle: tdockhandle read fdockhandle write setdockhandle; |
|
property splitter_size: integer read fsplitter_size
write setsplitter_size default defaultsplittersize; |
|
property splitter_grip: stockbitmapty read fsplitter_grip
write setsplitter_setgrip default defaultsplittergrip; |
|
property splitter_color: colorty read fsplitter_color
write setsplitter_color default defaultsplittercolor; |
|
property splitter_colorgrip: colorty read fsplitter_colorgrip
write setsplitter_colorgrip default defaultsplittercolorgrip; |
|
property tab_options: tabbaroptionsty read ftab_options write settab_options
default defaulttaboptions; |
|
property tab_textflags: textflagsty read ftab_textflags write
settab_textflags default defaultcaptiontextflags; |
|
property tab_width: integer read ftab_width write settab_width default 0; |
|
property tab_widthmin: integer read ftab_widthmin
write settab_widthmin default 0; |
|
property tab_widthmax: integer read ftab_widthmax
write settab_widthmax default 0; |
|
property tab_frame: tframecomp read ftab_frame write settab_frame; |
|
property tab_face: tfacecomp read ftab_face write settab_face; |
|
property tab_color: colorty read ftab_color write settab_color
default cl_default; |
|
property tab_colortab: colorty read ftab_colortab
write settab_colortab default cl_transparent; |
|
property tab_coloractivetab: colorty read ftab_coloractivetab
write settab_coloractivetab default cl_active; |
|
property tab_frametab: tframecomp read ftab_frametab write settab_frametab; |
|
property tab_facetab: tfacecomp read ftab_facetab write settab_facetab; |
|
property tab_faceactivetab: tfacecomp read ftab_faceactivetab
write settab_faceactivetab; |
|
property tab_size: integer read ftab_size write settab_size default 0; |
|
property tab_sizemin: integer read ftab_sizemin write settab_sizemin
default defaulttabsizemin; |
|
property tab_sizemax: integer read ftab_sizemax write settab_sizemax
default defaulttabsizemax; |
|
property colortab: colorty read fcolortab
write setcolortab default cl_default; |
|
property coloractivetab: colorty read fcoloractivetab
write setcoloractivetab default cl_default; |
|
property facetab: tfacecomp read ffacetab write setfacetab; |
|
property faceactivetab: tfacecomp read ffaceactivetab write setfaceactivetab; |
|
property caption: msestring read fcaption write setcaption; |
|
property splitdir: splitdirty read fdefaultsplitdir write setsplitdir
default sd_none; |
|
property optionsdock: optionsdockty read foptionsdock write setoptionsdock
default defaultoptionsdock; |
|
property bandgap: integer read fbandgap write setbandgap default 0; |
|
property oncalclayout: docklayouteventty read foncalclayout
write foncalclayout; |
|
property onlayoutchanged: dockcontrollereventty read fonlayoutchanged
write fonlayoutchanged; |
|
property onboundschanged: dockcontrollereventty read fonboundschanged
write fonboundschanged; |
|
property oncaptionchanged: dockcontrollereventty read foncaptionchanged
write foncaptionchanged; |
|
property onbeforefloat: dockrecteventty read fonbeforefloat
write fonbeforefloat; |
|
property onfloat: notifyeventty read fonfloat write fonfloat; |
|
property ondock: notifyeventty read fondock write fondock; |
|
property onchilddock: widgeteventty read fonchilddock write fonchilddock; |
|
property onchildfloat: widgeteventty read fonchildfloat write fonchildfloat; |
|
property oncheckdock: checkdockeventty read foncheckdock write foncheckdock; |
|
property onmdistatechanged: mdistatechangedeventty read fonmdistatechanged
write fonmdistatechanged; |
|
Generated by PasDoc 0.16.0.