API Reference 0.7.1rikulo_eventViewEvents

ViewEvents class

A map of ViewEvent streams

class ViewEvents {
 final StreamTarget<ViewEvent> _owner;
 ViewEvents(this._owner);

 //View Event Streams//
 /** A broadcast event used to notify root views and any listeners of [Broadcaster] 
  * that a view or an element is *activated*.
  */
 Stream<ActivateEvent> get activate => EventStreams.activate.forTarget(_owner);
 Stream<ChangeEvent> get change => EventStreams.change.forTarget(_owner);
 /** Indicates a popup is about to be dismessed.
  * The event is sent to the popup being dismissed.
  */
 Stream<ViewEvent> get dismiss => EventStreams.dismiss.forTarget(_owner);
 /** Indicates the layout of a view and all of its descendant views have been changed.
  *
  * See also [preLayout].
  */
 Stream<LayoutEvent> get layout => EventStreams.layout.forTarget(_owner);
 /// Indicates a view has been attached to a document.
 Stream<ViewEvent> get mount => EventStreams.mount.forTarget(_owner);
 /** Indicates the layout of a view is going to be handled.
  * It is sent before handling this view and any of its descendant views.
  *
  * See also [layout].
  */
 Stream<LayoutEvent> get preLayout => EventStreams.preLayout.forTarget(_owner);
 /** Indicates a view has re-rendered itself because its data model has been changed.
  * It is used with views that support the data model, such as [DropDownList].
  *
  * Application usually listens to this event to invoke [View.requestLayout],
  * if the re-rending of a data model might change the layout.
  * For example, the height of [DropDownList] will be changed if
  * the multiple state is changed.
  */
 Stream<ViewEvent> get render => EventStreams.render.forTarget(_owner);
 /// Indicates the end of a scrolling.
 Stream<ScrollEvent> get scrollEnd => EventStreams.scrollEnd.forTarget(_owner);
 /** Indicates the move of a scrolling. This event will be continuously
  * fired at each iteration where the scroll position is updated.
  */
 Stream<ScrollEvent> get scrollMove => EventStreams.scrollMove.forTarget(_owner);
 /// Indicates the start of a scrolling.
 Stream<ScrollEvent> get scrollStart => EventStreams.scrollStart.forTarget(_owner);
 /// Indicates the selection state of a view is changed.
 Stream<SelectEvent> get select => EventStreams.select.forTarget(_owner);
 /// Indicates a view has been detached from a document.
 Stream<ViewEvent> get unmount => EventStreams.unmount.forTarget(_owner);
 //DOM Event Proxy Streams//
 Stream<DomEvent> get abort => EventStreams.abort.forTarget(_owner);
 Stream<DomEvent> get beforeCopy => EventStreams.beforeCopy.forTarget(_owner);
 Stream<DomEvent> get beforeCut => EventStreams.beforeCut.forTarget(_owner);
 Stream<DomEvent> get beforePaste => EventStreams.beforePaste.forTarget(_owner);
 Stream<DomEvent> get blur => EventStreams.blur.forTarget(_owner);
 //DomEvent, change
 Stream<DomEvent> get click => EventStreams.click.forTarget(_owner);
 Stream<DomEvent> get contextMenu => EventStreams.contextMenu.forTarget(_owner);
 Stream<DomEvent> get copy => EventStreams.copy.forTarget(_owner);
 Stream<DomEvent> get cut => EventStreams.cut.forTarget(_owner);
 Stream<DomEvent> get doubleClick => EventStreams.doubleClick.forTarget(_owner);
 Stream<DomEvent> get drag => EventStreams.drag.forTarget(_owner);
 Stream<DomEvent> get dragEnd => EventStreams.dragEnd.forTarget(_owner);
 Stream<DomEvent> get dragEnter => EventStreams.dragEnter.forTarget(_owner);
 Stream<DomEvent> get dragLeave => EventStreams.dragLeave.forTarget(_owner);
 Stream<DomEvent> get dragOver => EventStreams.dragOver.forTarget(_owner);
 Stream<DomEvent> get dragStart => EventStreams.dragStart.forTarget(_owner);
 Stream<DomEvent> get drop => EventStreams.drop.forTarget(_owner);
 Stream<DomEvent> get error => EventStreams.error.forTarget(_owner);
 Stream<DomEvent> get focus => EventStreams.focus.forTarget(_owner);
 Stream<DomEvent> get input => EventStreams.input.forTarget(_owner);
 Stream<DomEvent> get invalid => EventStreams.invalid.forTarget(_owner);
 Stream<DomEvent> get keyDown => EventStreams.keyDown.forTarget(_owner);
 Stream<DomEvent> get keyPress => EventStreams.keyPress.forTarget(_owner);
 Stream<DomEvent> get keyUp => EventStreams.keyUp.forTarget(_owner);
 Stream<DomEvent> get load => EventStreams.load.forTarget(_owner);
 Stream<DomEvent> get mouseDown => EventStreams.mouseDown.forTarget(_owner);
 Stream<DomEvent> get mouseMove => EventStreams.mouseMove.forTarget(_owner);
 Stream<DomEvent> get mouseOut => EventStreams.mouseOut.forTarget(_owner);
 Stream<DomEvent> get mouseOver => EventStreams.mouseOver.forTarget(_owner);
 Stream<DomEvent> get mouseUp => EventStreams.mouseUp.forTarget(_owner);
 Stream<DomEvent> get mouseWheel => EventStreams.mouseWheel.forTarget(_owner);
 Stream<DomEvent> get paste => EventStreams.paste.forTarget(_owner);
 Stream<DomEvent> get reset => EventStreams.reset.forTarget(_owner);
 Stream<DomEvent> get scroll => EventStreams.scroll.forTarget(_owner);
 Stream<DomEvent> get search => EventStreams.search.forTarget(_owner);
 //DomEvent, select
 Stream<DomEvent> get selectStart => EventStreams.selectStart.forTarget(_owner);
 Stream<DomEvent> get submit => EventStreams.submit.forTarget(_owner);
 Stream<DomEvent> get touchCancel => EventStreams.touchCancel.forTarget(_owner);
 Stream<DomEvent> get touchEnd => EventStreams.touchEnd.forTarget(_owner);
 Stream<DomEvent> get touchEnter => EventStreams.touchEnter.forTarget(_owner);
 Stream<DomEvent> get touchLeave => EventStreams.touchLeave.forTarget(_owner);
 Stream<DomEvent> get touchMove => EventStreams.touchMove.forTarget(_owner);
 Stream<DomEvent> get touchStart => EventStreams.touchStart.forTarget(_owner);
 Stream<DomEvent> get transitionEnd => EventStreams.transitionEnd.forTarget(_owner);
 Stream<DomEvent> get fullscreenChange => EventStreams.fullscreenChange.forTarget(_owner);
 Stream<DomEvent> get fullscreenError => EventStreams.fullscreenError.forTarget(_owner);
}

Constructors

new ViewEvents(StreamTarget<ViewEvent> _owner) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
ViewEvents(this._owner);

Properties

final Stream<DomEvent> abort #

Stream<DomEvent> get abort => EventStreams.abort.forTarget(_owner);

final Stream<ActivateEvent> activate #

A broadcast event used to notify root views and any listeners of Broadcaster that a view or an element is activated.

Stream<ActivateEvent> get activate => EventStreams.activate.forTarget(_owner);

final Stream<DomEvent> beforeCopy #

Stream<DomEvent> get beforeCopy => EventStreams.beforeCopy.forTarget(_owner);

final Stream<DomEvent> beforeCut #

Stream<DomEvent> get beforeCut => EventStreams.beforeCut.forTarget(_owner);

final Stream<DomEvent> beforePaste #

Stream<DomEvent> get beforePaste => EventStreams.beforePaste.forTarget(_owner);

final Stream<DomEvent> blur #

Stream<DomEvent> get blur => EventStreams.blur.forTarget(_owner);

final Stream<ChangeEvent> change #

Stream<ChangeEvent> get change => EventStreams.change.forTarget(_owner);

final Stream<DomEvent> click #

Stream<DomEvent> get click => EventStreams.click.forTarget(_owner);

final Stream<DomEvent> contextMenu #

Stream<DomEvent> get contextMenu => EventStreams.contextMenu.forTarget(_owner);

final Stream<DomEvent> copy #

Stream<DomEvent> get copy => EventStreams.copy.forTarget(_owner);

final Stream<DomEvent> cut #

Stream<DomEvent> get cut => EventStreams.cut.forTarget(_owner);

final Stream<ViewEvent> dismiss #

Indicates a popup is about to be dismessed. The event is sent to the popup being dismissed.

Stream<ViewEvent> get dismiss => EventStreams.dismiss.forTarget(_owner);

final Stream<DomEvent> doubleClick #

Stream<DomEvent> get doubleClick => EventStreams.doubleClick.forTarget(_owner);

final Stream<DomEvent> drag #

Stream<DomEvent> get drag => EventStreams.drag.forTarget(_owner);

final Stream<DomEvent> dragEnd #

Stream<DomEvent> get dragEnd => EventStreams.dragEnd.forTarget(_owner);

final Stream<DomEvent> dragEnter #

Stream<DomEvent> get dragEnter => EventStreams.dragEnter.forTarget(_owner);

final Stream<DomEvent> dragLeave #

Stream<DomEvent> get dragLeave => EventStreams.dragLeave.forTarget(_owner);

final Stream<DomEvent> dragOver #

Stream<DomEvent> get dragOver => EventStreams.dragOver.forTarget(_owner);

final Stream<DomEvent> dragStart #

Stream<DomEvent> get dragStart => EventStreams.dragStart.forTarget(_owner);

final Stream<DomEvent> drop #

Stream<DomEvent> get drop => EventStreams.drop.forTarget(_owner);

final Stream<DomEvent> error #

Stream<DomEvent> get error => EventStreams.error.forTarget(_owner);

final Stream<DomEvent> focus #

Stream<DomEvent> get focus => EventStreams.focus.forTarget(_owner);

final Stream<DomEvent> fullscreenChange #

Stream<DomEvent> get fullscreenChange => EventStreams.fullscreenChange.forTarget(_owner);

final Stream<DomEvent> fullscreenError #

Stream<DomEvent> get fullscreenError => EventStreams.fullscreenError.forTarget(_owner);

final Stream<DomEvent> input #

Stream<DomEvent> get input => EventStreams.input.forTarget(_owner);

final Stream<DomEvent> invalid #

Stream<DomEvent> get invalid => EventStreams.invalid.forTarget(_owner);

final Stream<DomEvent> keyDown #

Stream<DomEvent> get keyDown => EventStreams.keyDown.forTarget(_owner);

final Stream<DomEvent> keyPress #

Stream<DomEvent> get keyPress => EventStreams.keyPress.forTarget(_owner);

final Stream<DomEvent> keyUp #

Stream<DomEvent> get keyUp => EventStreams.keyUp.forTarget(_owner);

final Stream<LayoutEvent> layout #

Indicates the layout of a view and all of its descendant views have been changed.

See also preLayout.

Stream<LayoutEvent> get layout => EventStreams.layout.forTarget(_owner);

final Stream<DomEvent> load #

Stream<DomEvent> get load => EventStreams.load.forTarget(_owner);

final Stream<ViewEvent> mount #

Indicates a view has been attached to a document.

Stream<ViewEvent> get mount => EventStreams.mount.forTarget(_owner);

final Stream<DomEvent> mouseDown #

Stream<DomEvent> get mouseDown => EventStreams.mouseDown.forTarget(_owner);

final Stream<DomEvent> mouseMove #

Stream<DomEvent> get mouseMove => EventStreams.mouseMove.forTarget(_owner);

final Stream<DomEvent> mouseOut #

Stream<DomEvent> get mouseOut => EventStreams.mouseOut.forTarget(_owner);

final Stream<DomEvent> mouseOver #

Stream<DomEvent> get mouseOver => EventStreams.mouseOver.forTarget(_owner);

final Stream<DomEvent> mouseUp #

Stream<DomEvent> get mouseUp => EventStreams.mouseUp.forTarget(_owner);

final Stream<DomEvent> mouseWheel #

Stream<DomEvent> get mouseWheel => EventStreams.mouseWheel.forTarget(_owner);

final Stream<DomEvent> paste #

Stream<DomEvent> get paste => EventStreams.paste.forTarget(_owner);

final Stream<LayoutEvent> preLayout #

Indicates the layout of a view is going to be handled. It is sent before handling this view and any of its descendant views.

See also layout.

Stream<LayoutEvent> get preLayout => EventStreams.preLayout.forTarget(_owner);

final Stream<ViewEvent> render #

Indicates a view has re-rendered itself because its data model has been changed. It is used with views that support the data model, such as DropDownList.

Application usually listens to this event to invoke View.requestLayout, if the re-rending of a data model might change the layout. For example, the height of DropDownList will be changed if the multiple state is changed.

Stream<ViewEvent> get render => EventStreams.render.forTarget(_owner);

final Stream<DomEvent> reset #

Stream<DomEvent> get reset => EventStreams.reset.forTarget(_owner);

final Stream<DomEvent> scroll #

Stream<DomEvent> get scroll => EventStreams.scroll.forTarget(_owner);

final Stream<ScrollEvent> scrollEnd #

Indicates the end of a scrolling.

Stream<ScrollEvent> get scrollEnd => EventStreams.scrollEnd.forTarget(_owner);

final Stream<ScrollEvent> scrollMove #

Indicates the move of a scrolling. This event will be continuously fired at each iteration where the scroll position is updated.

Stream<ScrollEvent> get scrollMove => EventStreams.scrollMove.forTarget(_owner);

final Stream<ScrollEvent> scrollStart #

Indicates the start of a scrolling.

Stream<ScrollEvent> get scrollStart => EventStreams.scrollStart.forTarget(_owner);
Stream<DomEvent> get search => EventStreams.search.forTarget(_owner);

final Stream<SelectEvent> select #

Indicates the selection state of a view is changed.

Stream<SelectEvent> get select => EventStreams.select.forTarget(_owner);

final Stream<DomEvent> selectStart #

Stream<DomEvent> get selectStart => EventStreams.selectStart.forTarget(_owner);

final Stream<DomEvent> submit #

Stream<DomEvent> get submit => EventStreams.submit.forTarget(_owner);

final Stream<DomEvent> touchCancel #

Stream<DomEvent> get touchCancel => EventStreams.touchCancel.forTarget(_owner);

final Stream<DomEvent> touchEnd #

Stream<DomEvent> get touchEnd => EventStreams.touchEnd.forTarget(_owner);

final Stream<DomEvent> touchEnter #

Stream<DomEvent> get touchEnter => EventStreams.touchEnter.forTarget(_owner);

final Stream<DomEvent> touchLeave #

Stream<DomEvent> get touchLeave => EventStreams.touchLeave.forTarget(_owner);

final Stream<DomEvent> touchMove #

Stream<DomEvent> get touchMove => EventStreams.touchMove.forTarget(_owner);

final Stream<DomEvent> touchStart #

Stream<DomEvent> get touchStart => EventStreams.touchStart.forTarget(_owner);

final Stream<DomEvent> transitionEnd #

Stream<DomEvent> get transitionEnd => EventStreams.transitionEnd.forTarget(_owner);

final Stream<ViewEvent> unmount #

Indicates a view has been detached from a document.

Stream<ViewEvent> get unmount => EventStreams.unmount.forTarget(_owner);