| Package | com.nocircleno.graffiti.managers |
| Class | public class GraffitiObjectManager |
| Inheritance | GraffitiObjectManager flash.events.EventDispatcher |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10 - AIR 1.5 |
| Method | Defined By | ||
|---|---|---|---|
GraffitiObjectManager(param:SingletonEnforcer)
The GraffitiObjectManager constructor. | GraffitiObjectManager | ||
addObject(object:GraffitiObject):void
The addObject method adds a GraffitObject to the assets list held by this Class. | GraffitiObjectManager | ||
areObjectsBeingEdited():Boolean
The areObjectsBeingEdited method checks to see if any object is being edited. | GraffitiObjectManager | ||
areObjectsSelected():Boolean
The areObjectsSelected method checks to see if any object is currently selected. | GraffitiObjectManager | ||
changeSettingsForSelectedObjects(settings:Object):void
The changeSettingsForSelectedObjects method updates the settings for all selected objects. | GraffitiObjectManager | ||
deleteSelected():void
The deleteSelected method deletes all selected objects. | GraffitiObjectManager | ||
deselectAll():void
The deselectAll method deselects all selected objects. | GraffitiObjectManager | ||
exitEditAll():void
The exitEditAll method will turn off any object that is being edited. | GraffitiObjectManager | ||
[static]
The getInstance method returns an instance of GraffitiObjectManager. | GraffitiObjectManager | ||
removeObject(object:GraffitiObject):void
Method : removeObject()
Purpose : This method will remove a graffiti object from the manager. | GraffitiObjectManager | ||
selectAll():void
The selectAll method selects all registered objects. | GraffitiObjectManager | ||
setSelection(objectList:Vector.<GraffitiObject>):void
The setSelection method selects one or more grafffiti objects. | GraffitiObjectManager | ||
| GraffitiObjectManager | () | Constructor |
public function GraffitiObjectManager(param:SingletonEnforcer)
The GraffitiObjectManager constructor.
param:SingletonEnforcer |
var goManager:GraffitiObjectManager = GraffitiObjectManager.getInstance();
| addObject | () | method |
public function addObject(object:GraffitiObject):void
The addObject method adds a GraffitObject to the assets list held by this Class.
Parameters
object:GraffitiObject — GraffitObject
|
| areObjectsBeingEdited | () | method |
public function areObjectsBeingEdited():Boolean
The areObjectsBeingEdited method checks to see if any object is being edited.
Boolean — true if one or more objects are edited, false if not.
|
| areObjectsSelected | () | method |
public function areObjectsSelected():Boolean
The areObjectsSelected method checks to see if any object is currently selected.
Boolean — true if one or more objects are selected, false if not.
|
| changeSettingsForSelectedObjects | () | method |
public function changeSettingsForSelectedObjects(settings:Object):void
The changeSettingsForSelectedObjects method updates the settings for all selected objects.
Parameters
settings:Object — Object that contains the settings for a GraffitObject.
|
| deleteSelected | () | method |
public function deleteSelected():void
The deleteSelected method deletes all selected objects.
This method removes the objects from the display list.
| deselectAll | () | method |
public function deselectAll():void
The deselectAll method deselects all selected objects.
| exitEditAll | () | method |
public function exitEditAll():void
The exitEditAll method will turn off any object that is being edited.
| getInstance | () | method |
public static function getInstance():GraffitiObjectManager
The getInstance method returns an instance of GraffitiObjectManager.
GraffitiObjectManager — GraffitiObjectManager instance.
|
| removeObject | () | method |
public function removeObject(object:GraffitiObject):voidMethod : removeObject() Purpose : This method will remove a graffiti object from the manager. This method does not remove the object from the display list. Params : object - GraffitiObject
Parameters
object:GraffitiObject |
| selectAll | () | method |
public function selectAll():void
The selectAll method selects all registered objects.
| setSelection | () | method |
public function setSelection(objectList:Vector.<GraffitiObject>):void
The setSelection method selects one or more grafffiti objects.
Parameters
objectList:Vector.<GraffitiObject> — Vector of GraffitObjects to select.
|