SBS::Style Class Reference

Abstract base class for all Style records. More...

Inheritance diagram for SBS::Style:

SBS::TextStyle List of all members.

Public Member Functions

System::String * GetStyleType ()
 Return the class name for the actual style.
System::Boolean hasForegroundColor ()
 Indicates if the style has a foreground color.
System::Boolean hasBackgroundColor ()
 Indicates if the style has a background color.

Public Attributes

System::UInt32 styleId
 The unique number identifying this style in Smallworld.
System::String * drawingApplication
 The drawing application name this style applys to.
System::String * rwoType
 The name of the RWO this style applys to.
System::String * appType
 The name of the geometry this style applys to.
System::String * styleType
 The name of the style type (either Normal or Highlight).
System::String * scale
 The display scale name this style applys to.
System::Int32 subCode
 The numeric subcode this style applys to.
System::Int32 foregroundColor []
 The Foreground color for this style.
System::Int32 backgroundColor []
 The Background color for this style.
Object * tag
 User definable storage.

Detailed Description

Abstract base class for all Style records.


Member Function Documentation

System::String* SBS::Style::GetStyleType  )  [inline]
 

Return the class name for the actual style.

Returns:
The style class name i.e. TextStyle

System::Boolean SBS::Style::hasBackgroundColor  )  [inline]
 

Indicates if the style has a background color.

Returns:
True if the background color is defined, false if not

System::Boolean SBS::Style::hasForegroundColor  )  [inline]
 

Indicates if the style has a foreground color.

Returns:
True if the foreground color is defined, false if not


Member Data Documentation

System::Int32 SBS::Style::backgroundColor[]
 

The Background color for this style.

Colors are represented as RGB integer vectors in the range 0-100 If the color is undefined in Smallworld then the values are all -1. Use hasBackgroundColor as a convenience to check if the color is defined

System::Int32 SBS::Style::foregroundColor[]
 

The Foreground color for this style.

Colors are represented as RGB integer vectors in the range 0-100 If the color is undefined in Smallworld then the values are all -1. Use hasForegroundColor as a convenience to check if the color is defined


The documentation for this class was generated from the following file:
Generated on Fri May 19 07:08:23 2006 for SWConnector by  doxygen 1.4.6-NO