Class: Cheri::JRuby::Explorer::NavViewer::ColDef

Inherits:
Object
  • Object
show all
Defined in:
lib/cheri/jruby/explorer/viewer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hbg, hfg, hfont, dbg, dfg, dfont, dtext = nil, maxh = nil) ⇒ ColDef

Returns a new instance of ColDef.



465
466
467
468
469
470
471
472
473
474
# File 'lib/cheri/jruby/explorer/viewer.rb', line 465

def initialize(hbg,hfg,hfont,dbg,dfg,dfont,dtext=nil,maxh=nil)
  @hbg = hbg if hbg
  @hfg = hfg if hfg
  @hfont = hfont if hfont
  @dbg = dbg if dbg
  @dfg = dfg if dfg
  @dfont = dfont if dfont
  @dtext = dtext if dtext
  @maxh = maxh if maxh
end

Instance Attribute Details

#clkObject

Returns the value of attribute clk.



464
465
466
# File 'lib/cheri/jruby/explorer/viewer.rb', line 464

def clk
  @clk
end

#colObject

Returns the value of attribute col.



455
456
457
# File 'lib/cheri/jruby/explorer/viewer.rb', line 455

def col
  @col
end

#dbgObject

Returns the value of attribute dbg.



459
460
461
# File 'lib/cheri/jruby/explorer/viewer.rb', line 459

def dbg
  @dbg
end

#dfgObject

Returns the value of attribute dfg.



460
461
462
# File 'lib/cheri/jruby/explorer/viewer.rb', line 460

def dfg
  @dfg
end

#dfontObject

Returns the value of attribute dfont.



461
462
463
# File 'lib/cheri/jruby/explorer/viewer.rb', line 461

def dfont
  @dfont
end

#dtextObject

Returns the value of attribute dtext.



462
463
464
# File 'lib/cheri/jruby/explorer/viewer.rb', line 462

def dtext
  @dtext
end

#hbgObject

Returns the value of attribute hbg.



456
457
458
# File 'lib/cheri/jruby/explorer/viewer.rb', line 456

def hbg
  @hbg
end

#hfgObject

Returns the value of attribute hfg.



457
458
459
# File 'lib/cheri/jruby/explorer/viewer.rb', line 457

def hfg
  @hfg
end

#hfontObject

Returns the value of attribute hfont.



458
459
460
# File 'lib/cheri/jruby/explorer/viewer.rb', line 458

def hfont
  @hfont
end

#maxhObject

Returns the value of attribute maxh.



463
464
465
# File 'lib/cheri/jruby/explorer/viewer.rb', line 463

def maxh
  @maxh
end