class Origami::Annotation::Widget

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

Constants

A

Public Instance Methods

onActivate(action) click to toggle source
# File lib/origami/annotations.rb, line 638
def onActivate(action)        
    unless action.is_a?(Action)
        raise TypeError, "An Action object must be passed."
    end
    
    self.A = action
end