Class Origami::Annotation::Widget::Widget
In: sources/parser/annotations.rb
Parent: Annotation

Class representing a widget Annotation. Interactive forms use widget annotations to represent the appearance of fields and to manage user interactions.

Methods

Included Modules

Field Triggerable

Constants

A = action

Public Instance methods

[Source]

     # File sources/parser/annotations.rb, line 488
488:         def onActivate(action)        
489:           
490:           unless action.is_a?(Action::Action)
491:             raise TypeError, "An Action object must be passed."
492:           end
493:           
494:           self.A = action
495:         end

[Validate]