PackageTop Level
Classpublic class RDFBrowser
InheritanceRDFBrowser Inheritance mx.core.Application
Implements mx.binding.IBindingClient



Public Properties
 PropertyDefined By
  addSource : Button
RDFBrowser
  alphaCombo : ComboBox
RDFBrowser
  alphaCount : CheckBox
RDFBrowser
  browserCanvas : Canvas
RDFBrowser
  canvas : Canvas
RDFBrowser
  colorCombo : ComboBox
RDFBrowser
  dataView : DataGrid
RDFBrowser
  deleteSource : Button
RDFBrowser
  displayItems : XML
XML with the items to represent.
RDFBrowser
  facetAdder : Button
RDFBrowser
  facetBar : ApplicationControlBar
RDFBrowser
  facetCombo : ComboBox
RDFBrowser
  facetCount : CheckBox
RDFBrowser
  facets : Array
Applied facets array.
RDFBrowser
  facetsPanel : Panel
RDFBrowser
  fillCombo : ComboBox
RDFBrowser
  fillCount : CheckBox
RDFBrowser
  HSlider : HSlider
RDFBrowser
  legendCanvas : Canvas
RDFBrowser
  loadData : HTTPService
RDFBrowser
  loginAdmin : Button
RDFBrowser
  logoutButton : Button
RDFBrowser
  mainClass : String
Class to represent.
RDFBrowser
  mainClassButton : Button
RDFBrowser
  mainClassInput : TextInput
RDFBrowser
  navigator : TabNavigator
RDFBrowser
  navigatorBrowser : TabNavigator
RDFBrowser
  panelFilter : Panel
RDFBrowser
  paramsAlpha : TextInput
RDFBrowser
  paramsColor : TextInput
RDFBrowser
  paramsFill : TextInput
RDFBrowser
  paramsGraph : Array
Visualization parameters: [0][0]. Property associated to the radius visualization parameter.
RDFBrowser
  paramsRadius : TextInput
RDFBrowser
  password : String = admin
Administrator's password (authentication).
RDFBrowser
  passwordInput : TextInput
RDFBrowser
  properties : Array
Available properties array.
RDFBrowser
  radiusCombo : ComboBox
RDFBrowser
  radiusCount : CheckBox
RDFBrowser
  rdfbrowser_items : XML
XML with all the items.
RDFBrowser
  receiver : HTTPService
RDFBrowser
  reload : Button
RDFBrowser
  saveData : HTTPService
RDFBrowser
  saveSettingsButton : Button
RDFBrowser
  settings : Canvas
RDFBrowser
  sourceList : List
RDFBrowser
  sources : Array
Sources' URL array.
RDFBrowser
  sourceURL : TextInput
RDFBrowser
  username : String = admin
Administrator's username (authentication).
RDFBrowser
  usernameInput : TextInput
RDFBrowser
  zoomCanvas : Canvas
RDFBrowser
Public Methods
 MethodDefined By
  
Constructor.
RDFBrowser
  
addFacet():void
This function adds a facet.
RDFBrowser
  
canvasToPNG(type:int):void
This function exports to PNG the main canvas or the "Browser" window.
RDFBrowser
  
This function creates the columns for the tabular view.
RDFBrowser
  
deleteURL():void
This function deletes an URL.
RDFBrowser
  
This function creates the visualization space.
RDFBrowser
  
This function updates the facets view.
RDFBrowser
  
This function updates the data provide of the tabular view item.
RDFBrowser
  
initApp():void
This function initialize the application
RDFBrowser
  
isParamGraph(property:String):int
This function checks if a property is a visualization parameter (radius, fill or alpha).
RDFBrowser
  
loadURL():void
This function calls the "dataManager.php" PHP script to extract the elements from an URL.
RDFBrowser
  
This function removes a facet.
RDFBrowser
  
This function saves the administrator settings.
RDFBrowser
  
setFacets():void
This function filters the items, selects the ones to display and updates the facets.
RDFBrowser
  
This function sets the class to represent.
RDFBrowser
  
This function sets the visualization parameters.
RDFBrowser
  
This function updates the settings view (visualizaction parameters section).
RDFBrowser
  
updateLegend(count:int, maxRadius:Number, maxFill:Number, maxAlpha:Number, colors:Array):void
This function updates the legend information.
RDFBrowser
Property Detail
addSourceproperty
public var addSource:Button

This property can be used as the source for data binding.

alphaComboproperty 
public var alphaCombo:ComboBox

This property can be used as the source for data binding.

alphaCountproperty 
public var alphaCount:CheckBox

This property can be used as the source for data binding.

browserCanvasproperty 
public var browserCanvas:Canvas

This property can be used as the source for data binding.

canvasproperty 
public var canvas:Canvas

This property can be used as the source for data binding.

colorComboproperty 
public var colorCombo:ComboBox

This property can be used as the source for data binding.

dataViewproperty 
public var dataView:DataGrid

This property can be used as the source for data binding.

deleteSourceproperty 
public var deleteSource:Button

This property can be used as the source for data binding.

displayItemsproperty 
public var displayItems:XML

XML with the items to represent.

The default value is .

facetAdderproperty 
public var facetAdder:Button

This property can be used as the source for data binding.

facetBarproperty 
public var facetBar:ApplicationControlBar

This property can be used as the source for data binding.

facetComboproperty 
public var facetCombo:ComboBox

This property can be used as the source for data binding.

facetCountproperty 
public var facetCount:CheckBox

This property can be used as the source for data binding.

facetsproperty 
public var facets:Array

Applied facets array. Structure: (property_name, FacetPanel object)

The default value is (empty array).

facetsPanelproperty 
public var facetsPanel:Panel

This property can be used as the source for data binding.

fillComboproperty 
public var fillCombo:ComboBox

This property can be used as the source for data binding.

fillCountproperty 
public var fillCount:CheckBox

This property can be used as the source for data binding.

HSliderproperty 
public var HSlider:HSlider

This property can be used as the source for data binding.

legendCanvasproperty 
public var legendCanvas:Canvas

This property can be used as the source for data binding.

loadDataproperty 
public var loadData:HTTPService

This property can be used as the source for data binding.

loginAdminproperty 
public var loginAdmin:Button

This property can be used as the source for data binding.

logoutButtonproperty 
public var logoutButton:Button

This property can be used as the source for data binding.

mainClassproperty 
public var mainClass:String

Class to represent.

The default value is (empty string).

mainClassButtonproperty 
public var mainClassButton:Button

This property can be used as the source for data binding.

mainClassInputproperty 
public var mainClassInput:TextInput

This property can be used as the source for data binding.

navigatorproperty 
public var navigator:TabNavigator

This property can be used as the source for data binding.

navigatorBrowserproperty 
public var navigatorBrowser:TabNavigator

This property can be used as the source for data binding.

panelFilterproperty 
public var panelFilter:Panel

This property can be used as the source for data binding.

paramsAlphaproperty 
public var paramsAlpha:TextInput

This property can be used as the source for data binding.

paramsColorproperty 
public var paramsColor:TextInput

This property can be used as the source for data binding.

paramsFillproperty 
public var paramsFill:TextInput

This property can be used as the source for data binding.

paramsGraphproperty 
public var paramsGraph:Array

Visualization parameters:

The default value is [["---", false]["---", false]["---", false]["---", false]].

paramsRadiusproperty 
public var paramsRadius:TextInput

This property can be used as the source for data binding.

passwordproperty 
public var password:String = admin

Administrator's password (authentication).

The default value is admin.

passwordInputproperty 
public var passwordInput:TextInput

This property can be used as the source for data binding.

propertiesproperty 
public var properties:Array

Available properties array.

The default value is (empty array).

radiusComboproperty 
public var radiusCombo:ComboBox

This property can be used as the source for data binding.

radiusCountproperty 
public var radiusCount:CheckBox

This property can be used as the source for data binding.

rdfbrowser_itemsproperty 
public var rdfbrowser_items:XML

XML with all the items.

The default value is .

receiverproperty 
public var receiver:HTTPService

This property can be used as the source for data binding.

reloadproperty 
public var reload:Button

This property can be used as the source for data binding.

saveDataproperty 
public var saveData:HTTPService

This property can be used as the source for data binding.

saveSettingsButtonproperty 
public var saveSettingsButton:Button

This property can be used as the source for data binding.

settingsproperty 
public var settings:Canvas

This property can be used as the source for data binding.

sourceListproperty 
public var sourceList:List

This property can be used as the source for data binding.

sourcesproperty 
public var sources:Array

Sources' URL array.

The default value is (empty array).

sourceURLproperty 
public var sourceURL:TextInput

This property can be used as the source for data binding.

usernameproperty 
public var username:String = admin

Administrator's username (authentication).

The default value is admin.

usernameInputproperty 
public var usernameInput:TextInput

This property can be used as the source for data binding.

zoomCanvasproperty 
public var zoomCanvas:Canvas

This property can be used as the source for data binding.

Constructor Detail
RDFBrowser()Constructor
public function RDFBrowser()

Constructor.

Method Detail
addFacet()method
public function addFacet():void

This function adds a facet.

canvasToPNG()method 
public function canvasToPNG(type:int):void

This function exports to PNG the main canvas or the "Browser" window.

Parameters

type:int — 0: main canvas; 1: "Browser" window

createDataGridColumns()method 
public function createDataGridColumns():void

This function creates the columns for the tabular view.

deleteURL()method 
public function deleteURL():void

This function deletes an URL. It updates the "rdfbrowser_items" XML.

displayData()method 
public function displayData():void

This function creates the visualization space. It creates the CanvasItem elements used by the CanvasCluster object. It also obtains the maximum values for each visualization parameter.

facetComboChange()method 
public function facetComboChange():void

This function updates the facets view.

fillDataGrid()method 
public function fillDataGrid():void

This function updates the data provide of the tabular view item.

initApp()method 
public function initApp():void

This function initialize the application

isParamGraph()method 
public function isParamGraph(property:String):int

This function checks if a property is a visualization parameter (radius, fill or alpha).

Parameters

property:String — The property to check.

Returns
int — 0:radius; 1:fill; 2:alpha; 3:is not a visualization parameter.
loadURL()method 
public function loadURL():void

This function calls the "dataManager.php" PHP script to extract the elements from an URL.

removeFacet()method 
public function removeFacet(facet:FacetPanel):void

This function removes a facet.

Parameters

facet:FacetPanel — The FacetPanel to remove.

saveSettings()method 
public function saveSettings():void

This function saves the administrator settings.

setFacets()method 
public function setFacets():void

This function filters the items, selects the ones to display and updates the facets.

setMainClass()method 
public function setMainClass():void

This function sets the class to represent.

setParameters()method 
public function setParameters():void

This function sets the visualization parameters.

showParameters()method 
public function showParameters():void

This function updates the settings view (visualizaction parameters section).

updateLegend()method 
public function updateLegend(count:int, maxRadius:Number, maxFill:Number, maxAlpha:Number, colors:Array):void

This function updates the legend information.

Parameters

count:int — The property to check.
 
maxRadius:Number — Maximum value of the "radius" property.
 
maxFill:Number — Maximum value of the "fill" property.
 
maxAlpha:Number — Maximum value of the "alpha" property.
 
colors:Array — Array with the values of the "color" property.