GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  REACTION::UI::VIEWPORT::ACTION::ROLE::OK (3)

.ds Aq ’

NAME

Reaction::UI::ViewPort::Action::Role::OK - Integrate OK, Apply and Close events

CONTENTS

SYNOPSIS



  package MyApp::UI::ViewPort::SomeAction;
  use Reaction::Class;

  use namespace::clean -except => meta;

  extends Reaction::UI::ViewPort::Object::Mutable;
  with    Reaction::UI::ViewPort::Action::Role::OK;

  ...
  1;



DESCRIPTION

This role integrates an ok event and inherits a close and an apply event into the consuming viewport.

ATTRIBUTES

    ok_label

Defaults to ok. String is built by _build_ok_label.

METHODS

    ok

Calls apply, and then close if successful.

    accept_events

Extends accept_events in Reaction::UI::ViewPort::Action::Role::Close with the event ok if an on_close_callback was provided.

INTERNAL METHODS

    _build_ok_label

Returns the string representing the label for the OK action. Defaults to ok.

SEE ALSO

Reaction::UI::ViewPort::Action::Role::Apply

Reaction::UI::ViewPort::Action::Role::Close

AUTHORS

See Reaction::Class for authors.

LICENSE

See Reaction::Class for the license.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 REACTION::UI::VIEWPORT::ACTION::ROLE::OK (3) 2010-10-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.