패키지 | lc.procmgmt.ui.presentationmodel |
클래스 | public class PresentationModel |
상속 | PresentationModel EventDispatcher Object |
구현 | IPresentationModel, IMXMLObject |
하위 클래스 | AttachmentHeaderModel, AttachmentListModel, AttachmentsModel, HeaderPaneModel, ProcessInstanceDataGridModel, ProcessInstanceInfoModel, SearchSelectorModel, StartpointDetailsModel, StartpointGridSelectorModel, TaskDetailsModel, TaskDirectiveModel, TaskImageModel, TaskInfoModel, TitledCardRendererModel |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
PresentationModel
class is a superclass for all the presentation models. The class
holds the common functionality and convenience methods that are needed to implement a presentation model,
which is designed to support a specific view. A presentation model separates the behavior of
a screen from the user interface controls and events. This separation simplifies the view
and allows the view to make data bindings to properties in the presentation model and make
simple method calls to the presentation model.
For information on using this component to customize Workspace, see Customizing the Adobe Digital Enterprise Platform Document Services - Workspace 10.0 User Interface .
속성 | 정의 주체 | ||
---|---|---|---|
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | ||
state : String [읽기 전용]
The name of the state the current view is in. | PresentationModel |
메서드 | 정의 주체 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | EventDispatcher | ||
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 | ||
이벤트를 이벤트 흐름으로 전달합니다. | EventDispatcher | ||
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters. | PresentationModel | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
메서드 | 정의 주체 | ||
---|---|---|---|
Sets the state property to a new value and causes a PropertyChangeEvent event. | PresentationModel |
session | 속성 |
session:SessionMap
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A SessionMap
object that stores information relating to the server session.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get session():SessionMap
public function set session(value:SessionMap):void
state | 속성 |
state:String
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the state the current view is in. The state is typically bound to the currentState
property of
a control.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get state():String
bindProperty | () | 메서드 |
public function bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Binds a public property on the destination object from a property or
property chain on the source object. This method simplifies
the use of the standard BindingUtils.bindProperty
method.
매개 변수
destination:Object — Specifies the object defining the property to be bound to the value of sourceChain .
| |
destinationProperty:String — Specifies the name of the public property defined by the value of the
destination parameter that is to be bound.
| |
source:Object — Specifies the object that hosts the property or property chain to be watched.
| |
sourceChain:Object — Specifies the property or property chain to be watched.
| |
commitOnly:Boolean (default = false ) — A flag that specifies whether the handler is called for committing and noncommitting change events.
A value of true specifies that the handler is called only on committing change events. A value
of false specifies that the handler is called on both committing and noncommitting change events.
|
ChangeWatcher — The property or property chain to be watched. At least one property name must specified in the
sourceChain argument, otherwise, a null value is returned.
|
관련 API 요소
getCSSStyle | () | 메서드 |
public function getCSSStyle(declaration:String, styleProperty:String, defaultValue:Object = null):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.
매개 변수
declaration:String — Specifies the name of the CSS selector.
| |
styleProperty:String — Specifies the name of the CSS property.
| |
defaultValue:Object (default = null ) — Specifies the CSS property that is used if the CSS property specified by the
the styleProperty parameter is not found.
|
Object — The CSS style.
|
initialize | () | 메서드 |
public function initialize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state. Subclasses can override this method, which
setState | () | 메서드 |
protected function setState(newState:String):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sets the state
property to a new value and causes a PropertyChangeEvent
event.
매개 변수
newState:String — Specifies the new state name.
|
Tue Jun 12 2018, 03:17 PM Z