Class: CDK::DSCALE

Inherits:
FSCALE show all
Defined in:
lib/cdk/components/dscale.rb

Instance Attribute Summary

Attributes included from HasTitle

#title_attrib

Attributes included from HasScreen

#is_visible, #screen, #screen_index

Attributes included from ExitConditions

#exit_type

Attributes included from Bindings

#binding_list

Attributes included from Focusable

#accepts_focus, #has_focus

Attributes included from Borders

#BXAttr, #HZChar, #LLChar, #LRChar, #ULChar, #URChar, #VTChar, #border_size, #box

Instance Method Summary collapse

Methods inherited from FSCALE

#SCAN_FMT, #drawField, #getDigits, #initialize, #setDigits

Methods inherited from SCALE

Decrement, Increment, #SCAN_FMT, #activate, #destroy, #draw, #drawField, #erase, #focus, #getHighValue, #getLowValue, #getValue, #initialize, #inject, #limitCurrentValue, #move, #moveToEditPosition, #performEdit, #position, removeChar, #set, #setBKattr, #setEditPosition, #setLowHigh, #setValue, #unfocus, #validEditPosition

Methods inherited from CDKOBJS

#initialize, #setBackgroundColor, #timeout, #validCDKObject, #validObjType

Methods included from WindowHooks

#destroy, #draw, #erase, #refreshData, #saveData

Methods included from WindowInput

#getc, #getch, #inject, #setPostProcess, #setPreProcess

Methods included from HasTitle

#cleanTitle, #drawTitle, #init_title, #setTitle

Methods included from HasScreen

#SCREEN_XPOS, #SCREEN_YPOS, #init_screen, #wrefresh

Methods included from ExitConditions

#init_exit_conditions, #resetExitType, #setExitType

Methods included from Bindings

#bind, #bindableObject, #checkBind, #cleanBindings, #init_bindings, #isBind, #unbind

Methods included from Focusable

#focus, #init_focus, #unfocus

Methods included from Borders

#getBox, #init_borders, #setBXattr, #setBox, #setHZchar, #setLLchar, #setLRchar, #setULchar, #setURchar, #setVTchar

Methods included from Movement

#move, #move_specific, #position

Methods included from Converters

#char2Chtype, #charOf, #chtype2Char, #chtype2String, #decode_attribute, #encode_attribute

Methods included from Justifications

#justify_string

Methods included from Alignments

#alignxy

Constructor Details

This class inherits a constructor from CDK::FSCALE

Instance Method Details

#object_typeObject

The original DScale handled unsigned values. Since Ruby’s typing is different this is really just FSCALE but is nice it’s nice to have this for compatibility/completeness sake.



9
10
11
# File 'lib/cdk/components/dscale.rb', line 9

def object_type
  :DSCALE
end