Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfGMLSupport :: Module GmlLabelStyle' :: Class GmlLabelStyle
[hide private]
[frames] | no frames]

Class GmlLabelStyle

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         GmlLabelStyle

The style for the text that is to be displayed along with the graphical representation of a feature. The content of the label is not necessarily defined in the GML data set. More precisely, the content can be static text specified in the style itself and the text from the GML data set. Label style has two elements: gml:style that specifies the style and gml:label that is used to compose the label content.The style for the text that is to be displayed along with the graphical representation of a feature. The content of the label is not necessarily defined in the GML data set. More precisely, the content can be static text specified in the style itself and the text from the GML data set. Label style has two elements: gml:style that specifies the style and gml:label that is used to compose the label content.

Instance Methods [hide private]
 
__init__(self, transform='', labelExpression='', style='', GmlTopologyStyles=None, GmlGeometryStyles=None, GmlFeatureStyle=None, *args, **kw_args)
Initialises a new 'GmlLabelStyle' instance.
 
addGmlGeometryStyles(self, *GmlGeometryStyles)
 
addGmlTopologyStyles(self, *GmlTopologyStyles)
 
getGmlFeatureStyle(self)
 
getGmlGeometryStyles(self)
 
getGmlTopologyStyles(self)
 
removeGmlGeometryStyles(self, *GmlGeometryStyles)
 
removeGmlTopologyStyles(self, *GmlTopologyStyles)
 
setGmlFeatureStyle(self, value)
 
setGmlGeometryStyles(self, value)
 
setGmlTopologyStyles(self, value)

Inherited from Core.IdentifiedObject'.IdentifiedObject: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'labelExpression': <type 'str'>, 'style': <type...
  _attrs = ['transform', 'labelExpression', 'style']
  _defaults = {'labelExpression': '', 'style': '', 'transform': ''}
  _many_refs = ['GmlTopologyStyles', 'GmlGeometryStyles']
  _refs = ['GmlTopologyStyles', 'GmlGeometryStyles', 'GmlFeature...

Inherited from Element'.Element (private): _enums

Properties [hide private]
  GmlFeatureStyle
  GmlGeometryStyles
  GmlTopologyStyles

Inherited from Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

__init__(self, transform='', labelExpression='', style='', GmlTopologyStyles=None, GmlGeometryStyles=None, GmlFeatureStyle=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'GmlLabelStyle' instance.

Parameters:
  • transform - Allows us to specify a transformation expression that will be applied to the symbol in the rendering phase. Its type is xsd:string and the value is specified in the SVG specification (transform attribute).
  • labelExpression - Allows both text content and unbounded number of gml:LabelExpression elements. The value of gml:LabelExpression element is an XPath expression that selects the value of some property of the feature.
  • style - Used to specify the style of the rendered text. The CSS2 styling expressions grammar should be used to express graphic properties.
  • GmlTopologyStyles
  • GmlGeometryStyles
  • GmlFeatureStyle
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'labelExpression': <type 'str'>,
 'style': <type 'str'>,
 'transform': <type 'str'>}

_refs

Value:
['GmlTopologyStyles', 'GmlGeometryStyles', 'GmlFeatureStyle']

Property Details [hide private]

GmlFeatureStyle

Get Method:
getGmlFeatureStyle(self)
Set Method:
setGmlFeatureStyle(self, value)

GmlGeometryStyles

Get Method:
getGmlGeometryStyles(self)
Set Method:
setGmlGeometryStyles(self, value)

GmlTopologyStyles

Get Method:
getGmlTopologyStyles(self)
Set Method:
setGmlTopologyStyles(self, value)