class ExtUtil
Constants
- ALIAS_TABLE
TODO move to file
- CONTAINER_XTYPE
- DATA_COLUNMS
- FIELD_XTYPE
Public Class Methods
FontWidthRatio()
click to toggle source
# File lib/extjsml/ext_util.rb, line 212 def self.FontWidthRatio 9 end
all_xtype()
click to toggle source
# File lib/extjsml/ext_util.rb, line 216 def self.all_xtype return String.get_all_xtypes end
container_xtype()
click to toggle source
# File lib/extjsml/ext_util.rb, line 208 def self.container_xtype CONTAINER_XTYPE end
data_xtype()
click to toggle source
# File lib/extjsml/ext_util.rb, line 204 def self.data_xtype DATA_COLUNMS end
field_xtype()
click to toggle source
# File lib/extjsml/ext_util.rb, line 200 def self.field_xtype FIELD_XTYPE end
random_id()
click to toggle source
# File lib/extjsml/ext_util.rb, line 221 def self.random_id "_" + SecureRandom.urlsafe_base64.gsub(/\d|\W/,'') end
xtype_alias(xtype)
click to toggle source
# File lib/extjsml/ext_util.rb, line 196 def self.xtype_alias(xtype) ALIAS_TABLE[xtype.to_sym] || xtype end