module Origami::Field
Constants
- C
- F
- K
- T
- V
Public Instance Methods
name()
click to toggle source
Returns the (partial) name of the field.
# File lib/origami/acroform.rb, line 200 def name self.T end
name=(field_name)
click to toggle source
Sets the (partial) name of the field.
# File lib/origami/acroform.rb, line 193 def name=(field_name) self.T = field_name end
onCalculate(action)
click to toggle source
# File lib/origami/acroform.rb, line 231 def onCalculate(action) unless action.is_a?(Action) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.C = action end
onFormat(action)
click to toggle source
# File lib/origami/acroform.rb, line 213 def onFormat(action) unless action.is_a?(Action) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.F = action end
onKeyStroke(action)
click to toggle source
# File lib/origami/acroform.rb, line 204 def onKeyStroke(action) unless action.is_a?(Action) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.K = action end
onValidate(action)
click to toggle source
# File lib/origami/acroform.rb, line 222 def onValidate(action) unless action.is_a?(Action) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.V = action end
set_name(field_name)
click to toggle source
Sets the (partial) name of the field.
# File lib/origami/acroform.rb, line 185 def set_name(field_name) self.T = field_name self end