Class: RETerm::Components::PasswordEntry

Inherits:
Entry show all
Defined in:
lib/reterm/components/password_entry.rb

Constant Summary

Constants included from LogHelpers

LogHelpers::LOG_FILE

Instance Attribute Summary

Attributes inherited from Entry

#title

Attributes inherited from RETerm::Component

#activatable, #activate_focus, #highlight_focus, #window

Instance Method Summary collapse

Methods inherited from Entry

#initialize, #requested_cols, #requested_rows, #value, #value=

Methods included from RETerm::CDKComponent

#activatable?, #activate!, #bind_key, #cdk?, #colors=, #component, #deactivate!, #draw!, #early_exit?, #erase, #escape_hit?, #init?, #init_cdk, #normal_exit?, #strip_formatting, #title_attrib=, #value

Methods inherited from RETerm::Component

#activatable?, #activate!, #activate_focus?, #cdk?, #colored?, #colors=, #deactivate!, #deactivate?, #distance_from, #extra_padding, #finalize!, #highlight_focus?, #initialize, #reactivate!, #requested_cols, #requested_rows, #resize, #sync!, #sync_getch

Methods included from KeyBindings

#bind_key, #invoke_key_bindings, #key_bindings, #key_bound?

Methods included from LogHelpers

#logger

Methods included from EventDispatcher

#dispatch, #handle

Constructor Details

This class inherits a constructor from RETerm::Components::Entry

Instance Method Details

#_componentObject



8
9
10
11
12
# File 'lib/reterm/components/password_entry.rb', line 8

def _component
  c = super
  c.setHiddenChar('#'.ord)
  c
end

#disp_typeObject



4
5
6
# File 'lib/reterm/components/password_entry.rb', line 4

def disp_type
  :HMIXED
end