Class: Coopy::CombinedTableHead

Inherits:
Object
  • Object
show all
Defined in:
lib/lib/coopy/combined_table_head.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent, dx, dy) ⇒ CombinedTableHead

Returns a new instance of CombinedTableHead.



7
8
9
10
11
12
# File 'lib/lib/coopy/combined_table_head.rb', line 7

def initialize(parent,dx,dy)
  @parent = parent
  @dx = dx
  @dy = dy
  @all = parent.all
end

Instance Method Details

#clearObject



69
70
# File 'lib/lib/coopy/combined_table_head.rb', line 69

def clear 
end

#cloneObject



88
89
90
# File 'lib/lib/coopy/combined_table_head.rb', line 88

def clone 
  nil
end

#createObject



92
93
94
# File 'lib/lib/coopy/combined_table_head.rb', line 92

def create 
  nil
end

#get_cell(x, y) ⇒ Object



40
41
42
43
44
45
46
47
# File 'lib/lib/coopy/combined_table_head.rb', line 40

def get_cell(x,y)
  if x == 0 
    v = self.get_cell_view
    txt = v.to_s(@all.get_cell(x,y))
    return txt[1,txt.length] if txt[0] == "@"
  end
  @all.get_cell(x,y)
end

#get_cell_viewObject



57
58
59
# File 'lib/lib/coopy/combined_table_head.rb', line 57

def get_cell_view 
  @all.get_cell_view
end

#get_dataObject



84
85
86
# File 'lib/lib/coopy/combined_table_head.rb', line 84

def get_data 
  nil
end

#get_heightObject



36
37
38
# File 'lib/lib/coopy/combined_table_head.rb', line 36

def get_height 
  @dy
end

#get_metaObject



96
97
98
# File 'lib/lib/coopy/combined_table_head.rb', line 96

def get_meta 
  nil
end

#get_tableObject



23
24
25
# File 'lib/lib/coopy/combined_table_head.rb', line 23

def get_table 
  self
end

#get_widthObject



32
33
34
# File 'lib/lib/coopy/combined_table_head.rb', line 32

def get_width 
  @all.get_width
end

#heightObject



27
# File 'lib/lib/coopy/combined_table_head.rb', line 27

def height() get_height end

#height=(__v) ⇒ Object



28
# File 'lib/lib/coopy/combined_table_head.rb', line 28

def height=(__v) @height = __v end

#insert_or_delete_columns(fate, wfate) ⇒ Object



76
77
78
# File 'lib/lib/coopy/combined_table_head.rb', line 76

def insert_or_delete_columns(fate,wfate)
  @all.insert_or_delete_columns(fate,wfate)
end

#insert_or_delete_rows(fate, hfate) ⇒ Object



72
73
74
# File 'lib/lib/coopy/combined_table_head.rb', line 72

def insert_or_delete_rows(fate,hfate)
  false
end

#is_resizableObject



61
62
63
# File 'lib/lib/coopy/combined_table_head.rb', line 61

def is_resizable 
  false
end

#resize(w, h) ⇒ Object



65
66
67
# File 'lib/lib/coopy/combined_table_head.rb', line 65

def resize(w,h)
  false
end

#set_cell(x, y, c) ⇒ Object



49
50
51
# File 'lib/lib/coopy/combined_table_head.rb', line 49

def set_cell(x,y,c)
  @all.set_cell(x,y,c)
end

#to_sObject



53
54
55
# File 'lib/lib/coopy/combined_table_head.rb', line 53

def to_s 
  ::Coopy::SimpleTable.table_to_string(self)
end

#trim_blankObject



80
81
82
# File 'lib/lib/coopy/combined_table_head.rb', line 80

def trim_blank 
  false
end

#widthObject



29
# File 'lib/lib/coopy/combined_table_head.rb', line 29

def width() get_width end

#width=(__v) ⇒ Object



30
# File 'lib/lib/coopy/combined_table_head.rb', line 30

def width=(__v) @width = __v end