class RETerm::Components::Template

Template which may be used as the basis for other components

Public Class Methods

new(args={}) click to toggle source

All components must accept args hash (specified via loader)

Calls superclass method RETerm::Component::new
# File lib/reterm/components/template.rb, line 6
def initialize(args={})
  super
end

Public Instance Methods

activatable?() click to toggle source

Return true if the user should be able to focus and interact with this component, default to false

# File lib/reterm/components/template.rb, line 26
def activatable?
end
activate!(*input) click to toggle source

Method call when this component is activated

# File lib/reterm/components/template.rb, line 30
def activate!(*input)
end
draw!() click to toggle source

Override this method to draw component on screen

# File lib/reterm/components/template.rb, line 21
def draw!
end
requested_cols() click to toggle source

Override this to request minimum cols for window allocation

# File lib/reterm/components/template.rb, line 17
def requested_cols
end
requested_rows() click to toggle source

Override this to request minimum rows for window allocation

# File lib/reterm/components/template.rb, line 12
def requested_rows
end