module Origami::Annotation::Triggerable

Constants

Bl
D
E
Fo
PC
PI
PO
PV
U
X

Public Instance Methods

onBlur(action) click to toggle source
# File lib/origami/annotations.rb, line 153
def onBlur(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.Bl = action
end
onFocus(action) click to toggle source
# File lib/origami/annotations.rb, line 144
def onFocus(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.Fo = action
end
onMouseDown(action) click to toggle source
# File lib/origami/annotations.rb, line 126
def onMouseDown(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.D = action
end
onMouseOut(action) click to toggle source
# File lib/origami/annotations.rb, line 117
def onMouseOut(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.X = action
end
onMouseOver(action) click to toggle source
# File lib/origami/annotations.rb, line 108
def onMouseOver(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.E = action
end
onMouseUp(action) click to toggle source
# File lib/origami/annotations.rb, line 135
def onMouseUp(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.U = action
end
onPageClose(action) click to toggle source
# File lib/origami/annotations.rb, line 171
def onPageClose(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.PC = action
end
onPageInvisible(action) click to toggle source
# File lib/origami/annotations.rb, line 189
def onPageInvisible(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
      raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.PI = action
end
onPageOpen(action) click to toggle source
# File lib/origami/annotations.rb, line 162
def onPageOpen(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.PO = action
end
onPageVisible(action) click to toggle source
# File lib/origami/annotations.rb, line 180
def onPageVisible(action)        
    unless action.is_a?(Action) or action.is_a?(Reference)
        raise TypeError, "An Action object must be passed."
    end
    
    self.AA ||= AdditionalActions.new
    self.AA.PV = action
end