![]() | BlueSpray - Help © SchoonerTurtles, Inc. 2012-2015 | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| Class STContentExtends STBase This is the base class for content that appears in a tree. While this is a ratherlarge class it is also built to be lightweight and nothing is initialized unless it is needed. This class handles all inserting and deleting of content in the list and it is important that this is not violated as there is data cached based on the list to allow fast access to the list as an array. The only functions to modify the list pointers are: - InsertContentBefore(...) - InsertContentAfter(...) - InsertContentAtStart(...) - InsertContentAtEnd(...) - RemoveContent(...) The class provides the following capabilities to objects:
Object FunctionsAddMenuItems(Container ThePopupMenu) Exception Override this function to add additional menu items to the popup menu Parameters: AddSettingsPanels(STSettingsDialog TheDialog) Exception Overridden to add property panels to the properties dialog for this object. Parameters: DoubleClickBranch(STAppView TheView) Exception Take action based on a double click event (typically opens a new object). Parameters: String GetDefaultExportFileExtention() Should be overriden for items that use other file types by default (i.e. layers) Returns: STBounds GetLegendSymbolRefDimensions(STView TheView) Exception Get the height of this tree node Returns: Image GetTreeIcon(int HeightInPixels) Exception Override this function to return a specific icon for the tree for the object. Returns:
|