Unit 'kgrids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#pl_kcontrols]

TKGridCellPainter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: kgrids.pas line 1734

type TKGridCellPainter = class(TObject)

protected

  FPrinting: Boolean;

  

  FSortArrow: TKAlphaBitmap;

  

  procedure BeginDraw; virtual;

  

  procedure EndDraw; virtual;

  

  function GetSortArrowWidth; virtual;

  

  procedure Initialize; virtual;

  

public

  constructor Create();

  

  destructor Destroy; override;

  

  function BeginClip; virtual;

  

  function CellCheckBoxRect();

  

  function CellGraphicRect();

  

  function CellSortArrowRect();

  

  function CellTextExtent();

  

  function CellTextRect();

  

  procedure DefaultAttributes; virtual;

  

  procedure DefaultDraw; virtual;

  

  function DefaultEdges; virtual;

  

  function DefaultMeasure(); virtual;

  

  procedure DrawCellCommon; virtual;

  

  procedure DrawCellButton();

  

  procedure DrawCellCheckBox();

  

  procedure DrawCellGraphic();

  

  procedure DrawCellSortArrow();

  

  procedure DrawButtonFrame(); virtual;

  

  procedure DrawCheckBoxFrame(); virtual;

  

  procedure DrawCellText(); virtual;

  

  procedure DrawCellFocus(); virtual;

  

  procedure DrawDefaultCellBackground;

  

  procedure DrawEmptyCell; virtual;

  

  procedure DrawFixedCell; virtual;

  

  procedure DrawFixedCellBackground(); virtual;

  

  procedure DrawFixedCellNonThemedBackground(); virtual;

  

  procedure DrawHeaderCell; virtual;

  

  procedure DrawHeaderCellBackground();

  

  procedure DrawNormalCellBackground(); virtual;

  

  procedure DrawSelectableCell; virtual;

  

  procedure DrawSelectedCellBackground(); virtual;

  

  procedure DrawThemedFixedCell; virtual;

  

  procedure DrawThemedHeaderCell; virtual;

  

  procedure EndClip; virtual;

  

  function ShouldDrawFocus; virtual;

  

  property Attributes: TKTextAttributes; [rw]

  

  property BackColor: TColor; [rw]

  

  property BlockRect: TRect; [rw]

  

  property Button: Boolean; [rw]

  

  property ButtonChecked: Boolean; [rw]

  

  property Canvas: TCanvas; [rw]

  

  property CheckBox: Boolean; [rw]

  

  property CheckBoxChecked: Boolean; [rw]

  

  property CheckBoxEnabled: Boolean; [rw]

  

  property CheckBoxHAlign: TKHAlign; [rw]

  

  property CheckBoxHPadding: Integer; [rw]

  

  property CheckboxState: TCheckBoxState; [rw]

  

  property CheckBoxVAlign: TKVAlign; [rw]

  

  property CheckBoxVPadding: Integer; [rw]

  

  property CellPos: TPoint; [rw]

  

  property CellRect: TRect; [rw]

  

  property Col: Integer; [rw]

  

  property Graphic: TGraphic; [rw]

  

  property GraphicDrawText: Boolean; [rw]

  

  property GraphicHAlign: TKHAlign; [rw]

  

  property GraphicHPadding: Integer; [rw]

  

  property GraphicStretchMode: TKStretchMode; [rw]

  

  property GraphicVAlign: TKVAlign; [rw]

  

  property GraphicVPadding: Integer; [rw]

  

  property Grid: TKCustomGrid; [r]

  

  property HAlign: TKHAlign; [rw]

  

  property HotFrameOnly: Boolean; [rw]

  

  property HPadding: Integer; [rw]

  

  property Printing: Boolean; [r]

  

  property Row: Integer; [rw]

  

  property SortArrowHeight: Integer; [r]

  

  property SortArrowWidth: Integer; [r]

  

  property SortArrowHAlign: TKHAlign; [rw]

  

  property SortArrowHPadding: Integer; [rw]

  

  property State: TKGridDrawState; [rw]

  

  property Text: TKString; [rw]

  

  property VAlign: TKVAlign; [rw]

  

  property VPadding: Integer; [rw]

  

end;

Inheritance

TKGridCellPainter

  

|

TObject



CT Web help

CodeTyphon Studio