org.silex.toolbox.Website

org.silex.toolbox.Website

Website toolbox

Summary
org.silex.toolbox.WebsiteWebsite toolbox
Variables
oldValue
Functions
WebsiteConstructor.
allToolsLoaded
onLoad
reloadWebsite
saveWebsite
saveWebsiteCallback
deleteWebsite
doDeleteWebsite
duplicateWebsite
doDuplicateWebsite
duplicateWebsiteCallback
refreshDefined the change event for the list.
getSelectedContentFunction used to retrieve the selected Website.
changeCall at each click on the list to show the editor with a good type Call showEditor with “evt_obj.target.selectedItem”
applySet the value property.

Variables

oldValue

public var oldValue

Functions

Website

public function Website()

Constructor.  Add a listener on change event of toolbox players and call this onLoad method.

allToolsLoaded

function allToolsLoaded()

onLoad

public function onLoad()

reloadWebsite

function reloadWebsite()

saveWebsite

function saveWebsite()

saveWebsiteCallback

function saveWebsiteCallback (success: Boolean)

deleteWebsite

function deleteWebsite()

doDeleteWebsite

function doDeleteWebsite (doIt_bool: Boolean)

duplicateWebsite

function duplicateWebsite()

doDuplicateWebsite

function doDuplicateWebsite(newName_str: String)

duplicateWebsiteCallback

function duplicateWebsiteCallback (partialCopyError_str: String)

refresh

public function refresh()

Defined the change event for the list.  Check the Website list by the getSelectedContent method of players toolbox.

getSelectedContent

public function getSelectedContent():Array

Function used to retrieve the selected Website.

change

public function change(evt_obj: Object):Void

Call at each click on the list to show the editor with a good type Call showEditor with “evt_obj.target.selectedItem”

Parameters

param evt_obj the event object

apply

public function apply(data: Object,
value ):Void

Set the value property.  Tell from the property editor.  Action depend to the editor type.

Parameters

param sItem_obj object passed by the Website toolbox components, this object is defined in showEditor method
A toolbox base
public var oldValue
public function Website()
Constructor.
function allToolsLoaded()
public function onLoad()
function reloadWebsite()
function saveWebsite()
function saveWebsiteCallback (success: Boolean)
function deleteWebsite()
function doDeleteWebsite (doIt_bool: Boolean)
function duplicateWebsite()
function doDuplicateWebsite(newName_str: String)
function duplicateWebsiteCallback (partialCopyError_str: String)
public function refresh()
Defined the change event for the list.
public function getSelectedContent():Array
Function used to retrieve the selected Website.
public function change(evt_obj: Object):Void
Call at each click on the list to show the editor with a good type Call showEditor with “evt_obj.target.selectedItem”
public function apply(data: Object,
value ):Void
Set the value property.