gear::xsi::ppg::LayoutComponent Class Reference

Base class for all layout items. More...

Inherited by gear::xsi::ppg::LayoutCompound, and gear::xsi::ppg::LayoutItem.

Public Member Functions

def __init__
 Init method.
def setCodeBefore
 Add custom code before the item.
def setCodeAfter
 Add custom code after the item.
def addCondition
 Simple condition to place before the item.
def convertToAscii
 Make sure that all string in the list are in ascii and not unicode.
def getAsString
 Add quotemark to string and return the list as a string.

Data Fields

 codeBefore
 codeAfter
 condition
 args

Detailed Description

Base class for all layout items.


Member Function Documentation

def gear::xsi::ppg::LayoutComponent::__init__ (   self  ) 
def gear::xsi::ppg::LayoutComponent::setCodeBefore (   self,
  code 
)

Add custom code before the item.

Code must be in Python.

Parameters:
self 
code String - code to place before the item.
def gear::xsi::ppg::LayoutComponent::setCodeAfter (   self,
  code 
)

Add custom code after the item.

Code must be in Python.

Parameters:
self 
code String - code to place before the item.
def gear::xsi::ppg::LayoutComponent::addCondition (   self,
  condition 
)

Simple condition to place before the item.

Condition must be in Python, the 'If' statement is not needed.

Parameters:
self 
condition String - code to place before the item.
def gear::xsi::ppg::LayoutComponent::convertToAscii (   self,
  items 
)

Make sure that all string in the list are in ascii and not unicode.

Parameters:
self 
items List - list to check
Returns:
List - Cleaned list.
def gear::xsi::ppg::LayoutComponent::getAsString (   self,
  items 
)

Add quotemark to string and return the list as a string.

Parameters:
self 
items List - list to convert
Returns:
String

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208