C# Class Habanero.BO.Loaders.XmlUIGridColumnLoader

Loads UI grid property definitions from xml data
Inheritance: XmlLoader
ファイルを表示 Open project: Chillisoft/habanero Class Usage Examples

Public Methods

Method Description
LoadUIProperty ( XmlElement uiPropElement ) : IUIGridColumn

Loads a grid property definition from the xml element provided

LoadUIProperty ( string xmlUIProp ) : IUIGridColumn

Loads a grid property definition from the xml string provided

XmlUIGridColumnLoader ( Habanero.BO.Loaders.DtdLoader dtdLoader, IDefClassFactory defClassFactory ) : System

Constructor to initialise a new loader with a dtd path

Protected Methods

Method Description
Create ( ) : object

Creates a grid property definition from the data already loaded

LoadFromReader ( ) : void

Loads grid property definition data from the reader

Private Methods

Method Description
LoadAlignment ( ) : void

Loads the alignment attribute from the reader. This method is called by LoadFromReader().

LoadGridControlType ( ) : void

Loads the grid control type name from the reader. This method is called by LoadFromReader().

LoadHeading ( ) : void

Loads the heading from the reader. This method is called by LoadFromReader().

LoadIsEditable ( ) : void

Loads the "isReadOnly" attribute from the reader. This method is called by LoadFromReader().

LoadParameters ( ) : void

Loads the attributes from the reader. This method is called by LoadFromReader().

LoadPropertyName ( ) : void

Loads the property name from the reader. This method is called by LoadFromReader().

LoadWidth ( ) : void

Loads the width from the reader. This method is called by LoadFromReader().

Method Details

Create() protected method

Creates a grid property definition from the data already loaded
protected Create ( ) : object
return object

LoadFromReader() protected method

Loads grid property definition data from the reader
protected LoadFromReader ( ) : void
return void

LoadUIProperty() public method

Loads a grid property definition from the xml element provided
public LoadUIProperty ( XmlElement uiPropElement ) : IUIGridColumn
uiPropElement System.Xml.XmlElement The xml element
return IUIGridColumn

LoadUIProperty() public method

Loads a grid property definition from the xml string provided
public LoadUIProperty ( string xmlUIProp ) : IUIGridColumn
xmlUIProp string The xml string
return IUIGridColumn

XmlUIGridColumnLoader() public method

Constructor to initialise a new loader with a dtd path
public XmlUIGridColumnLoader ( Habanero.BO.Loaders.DtdLoader dtdLoader, IDefClassFactory defClassFactory ) : System
dtdLoader Habanero.BO.Loaders.DtdLoader The dtd loader
defClassFactory IDefClassFactory The factory for the definition classes
return System