Packagelc.endpoint
Classpublic class EndpointGridSelectorModel
InheritanceEndpointGridSelectorModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance Object

The EndpointGridSelectorModel class acts as the presentation model for the EndpointGridSelector component.

See also

lc.endpoint.EndpointGridSelector


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  endpoint : Endpoint
The currently selected endpoint.
EndpointGridSelectorModel
  endpoints : ListCollectionView
A collection of endpoints.
EndpointGridSelectorModel
  hotCharCode : uint = 13
The key code for the Enter hot key.
EndpointGridSelectorModel
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 Inheritedsession : SessionMap
A SessionMap object that stores information relating to the server session.
PresentationModel
 Inheritedstate : String
[read-only] The name of the state the current view is in.
PresentationModel
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or property chain on the source object.
PresentationModel
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
getCSSStyle(declaration:String, styleProperty:String, defaultValue:Object = null):Object
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.
PresentationModel
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
hotKey(charCode:uint):void
Invokes the selected endpoint when the hot key is detected.
EndpointGridSelectorModel
 Inherited
Subclasses can override this method, which initializes the presentation model after the view bindings have been processed to prevent view bindings from overriding the initial model state.
PresentationModel
  
Invokes an endpoint to start a process.
EndpointGridSelectorModel
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
  
setEndpoint(endpoint:Object):void
Sets the currently selected endpoint.
EndpointGridSelectorModel
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined By
 Inherited
setState(newState:String):void
Sets the 'state' property to a new value and causes a PropertyChangeEvent event.
PresentationModel
Events
 Event Summary Defined By
 Inherited Dispatched when Flash Player gains operating system focus and becomes active.EventDispatcher
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.EventDispatcher
   Dispatched to invoke an endpoint.EndpointGridSelectorModel
Property Detail
endpointproperty
public var endpoint:Endpoint

The currently selected endpoint.

endpointsproperty 
public var endpoints:ListCollectionView

A collection of endpoints.

hotCharCodeproperty 
public var hotCharCode:uint = 13

The key code for the Enter hot key.

Method Detail
hotKey()method
public function hotKey(charCode:uint):void

Invokes the selected endpoint when the hot key is detected.

Parameters

charCode:uint — Specifies the character code for the user keystroke.

invokeSelectedEndpoint()method 
public function invokeSelectedEndpoint(endpoint:Object):void

Invokes an endpoint to start a process.

Parameters

endpoint:Object — Specifies the endpoint to be invoked.

setEndpoint()method 
public function setEndpoint(endpoint:Object):void

Sets the currently selected endpoint.

Parameters

endpoint:Object — Specifies the endpoint to be selected.

Event Detail
invokeSelect Event
Event Object Type: lc.endpoint.EndpointEvent
EndpointEvent.type property = lc.endpoint.EndpointEvent

Dispatched to invoke an endpoint. Invoking an endpoint has the effect of starting a process.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/endpoint/EndpointGridSelectorModel.html