Packageat.db
Classpublic class GetSectionColor

Class for retrieving the color value stored in the application database for a specified section.



Public Properties
 PropertyDefined by
  sectionColorValue : String
Holds the sectionColor value returned from querying the application database.
GetSectionColor
  sectionID : int
Holds the sectionID value used to query the application database for the color setting.
GetSectionColor
Public Methods
 MethodDefined by
  
GetSectionColor(sectionID:int)
Constructor.
GetSectionColor
Protected Methods
 MethodDefined by
  
init():void
Init.
GetSectionColor
  
onDBStatementSelectResult(event:SQLEvent):void
Forms the records from the application database that comprise the brand data retrieved into XML.
GetSectionColor
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
GetSectionColor
  
onEveDBOpened(event:SQLEvent):void
Retrieves the color setting for a section from the application database based on the variable sectionID.
GetSectionColor
Property detail
sectionColorValueproperty
public var sectionColorValue:String

Holds the sectionColor value returned from querying the application database.

sectionIDproperty 
public var sectionID:int

Holds the sectionID value used to query the application database for the color setting.

Constructor detail
GetSectionColor()constructor
public function GetSectionColor(sectionID:int)

Constructor.

Parameters
sectionID:int
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

onDBStatementSelectResult()method 
protected function onDBStatementSelectResult(event:SQLEvent):void

Forms the records from the application database that comprise the brand data retrieved into XML.

Parameters
event:SQLEventSQLEvent
onEveDBError()method 
protected function onEveDBError(event:SQLEvent):void

Error handler method for database connection errors.

Parameters
event:SQLEventSQLEvent
onEveDBOpened()method 
protected function onEveDBOpened(event:SQLEvent):void

Retrieves the color setting for a section from the application database based on the variable sectionID.

Parameters
event:SQLEventSQLEvent