BCGControlBar Pro for MFC
CBCGPDiagramTableShape

Detailed Description

The CBCGPDiagramTableShape class implements a diagram item that displays text in table form and a text label at top.

Call EnableCaption(), SetCaption() to show caption label. Each line of text in a table is a separate CBCGPDiagramTextDataObject object. Call AddTextData(), GetTextData(), SetTextData(), RemoveTextData() methods to manage the text in the table.

See also
CBCGPDiagramTextDataObject, CBCGPDiagramVisualObject
+ Inheritance diagram for CBCGPDiagramTableShape:

Public Member Functions

 CBCGPDiagramTableShapeConstructor.
 
 ConnectionPortIDGets connection port identifier.
 
 EnableCaptionEnables or disables the caption.
 
 EnableConnectionPortsMarkersSpecifies whether to show connection port markers aside of each table cell.
 
 GetCaptionFillBrushGets caption fill brush.
 
 GetCaptionFillColorGets caption fill color.
 
 GetCaptionTextGets caption text label.
 
 GetCaptionTextColorGets caption text color.
 
 GetPartTextDataRetrieves the text data object of the diagram item.
 
 IsCaptionEnabledTells whether a caption is enabled.
 
 IsConnectionPortsMarkersEnabledTells whether connection port markers are enabled.
 
 SetCaptionSets a diagram table caption.
 
 SetCaptionSets a diagram table caption.
 
 SetCaptionFillBrushSets caption fill brush.
 
- Public Member Functions inherited from CBCGPDiagramShape
 CBCGPDiagramShapeConstructor.
 
 CreateGeometryCalled by the framework when a shape geometry is created.
 
 GetShapeGets the shape style.
 
 IsShadowEnabledTells whether shape has the shadow. Override this method and return FALSE if you wish to disable shadow for specific diagram shape.
 
 SetShapeSets a shape style.
 
- Public Member Functions inherited from CBCGPDiagramVisualObject
 CBCGPDiagramVisualObjectConstructor.
 
 CBCGPDiagramVisualObjectCopy constructor.
 
 AddTextDataAdds a text data to the diagram item.
 
 DrawConnectionPortsCalled by the framework to draw a connection ports.
 
 GetAllConnectorsGets the list of all item connectors.
 
 GetConnectionPortGets coordinates of the specific connection port.
 
 GetConnectorsGets the list of connectors connected to specified port.
 
 GetFillBrushGets object fill brush.
 
 GetFillColorGets object fill color.
 
 GetItemIDGets item identifier.
 
 GetOutlineBrushGets object outline brush.
 
 GetOutlineColorGets object outline color.
 
 GetParentDiagramGets the parent diagram.
 
 GetStrokeStyleGets the object stroke style.
 
 GetTextDataGets text data by index.
 
 GetThicknessGets the border thickness.
 
 HasConnectorsTells whether the diagram item has a specific connector(s).
 
 RemoveTextDataRemoves the text data from the diagram item.
 
 SetAutoDestroySpecifies whether the diagram object should be destroyed automatically.
 
 SetFillBrushSets object fill brush.
 
 SetFillColorSets object fill color.
 
 SetItemIDSets an item identifier.
 
 SetOutlineBrushSets object outline brush.
 
 SetOutlineColorSets object outline color.
 
 SetStrokeStyleSets the object border stroke style.
 
 SetTextDataSets text data in the diagram item.
 
 SetThicknessSets the object border thickness.
 
 UseConnectionPortCreates a new anchor point.
 
- Public Member Functions inherited from CBCGPBaseVisualObject
 CBCGPBaseVisualObjectConstructor.
 
 CBCGPBaseVisualObjectCopy constructor.
 
 CopyToClipboardCopies visual object to the Clipboard.
 
 EnableImageCacheEnables or disables visual object image cache.
 
 ExportToBitmapExports the visual object to bitmap.
 
 ExportToFileExports the visual object to a file (BMP or PNG).
 
 ExportToImageExports the visual object to an image.
 
 GetDataGets an internal data object.
 
 GetDataAnimationTypeGets data animation type.
 
 GetDataCountReturns a number of data objects.
 
 GetEditFlagsGets editing flags.
 
 GetIDGets the object identifier.
 
 GetNameGets the object name.
 
 GetParentContainerGets the parent visual container.
 
 GetRectGets the object bounding rectangle.
 
 GetSelectedThemeObtain a currently selected visual theme.
 
 GetUserDataGets user-defined data associated with this object.
 
 GetValueGets the object value.
 
 IsAutoDestroyTells whether this object will be destroyed automatically.
 
 IsEditModeTells whether this object has the edit mode.
 
 IsEnabledTells whether the visual object is enabled.
 
 IsImageCacheTells whether image cache is enabled for this object.
 
 IsSelectedTells whether this object is selected in the parent container.
 
 IsVisibleTells whether the visual object is visible.
 
 RedrawRedraws this object.
 
 RedrawRectRedraws a specified rectangle.
 
 SelectVisualThemeSelect a visual theme created in Visual Designer.
 
 SetAutoDestroySpecifies whether the object should be destroyed automatically.
 
 SetDataAnimationTypeSets data animation type.
 
 SetDirtyInvalidates and redraws a visual object.
 
 SetEditFlagsSets editing flags.
 
 SetIDSets the object identifier.
 
 SetNameSets an object name.
 
 SetSelectedSelects or unselects the object in the parent container.
 
 SetUserDataSets user-defined data associated with this object.
 
 SetValueSets the object value.
 
 SetVisibleShows or hides the visual object.
 

Additional Inherited Members

- Public Types inherited from CBCGPDiagramShape
enum  Shape
 
- Public Types inherited from CBCGPDiagramVisualObject
enum  ConnectionPorts
 
enum  Parts
 
- Static Public Attributes inherited from CBCGPDiagramShape
 m_bShadowsEnabledThis global member specifies whether shadow should be enabled or disabled for all shapes in all diagrams.