# generated by 'rake generate'
require 'cocoa/bindings/NSControl'
module Cocoa
  class NSMatrix < Cocoa::NSControl
    attach_method :acceptsFirstMouse, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :addColumn, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :addColumnWithCells, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :addRow, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :addRowWithCells, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :allowsEmptySelection, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :autorecalculatesCellSize, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :autosizesCells, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :backgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :cellAtRow, :args=>2, :names=>[:column], :types=>["q", "q"], :retval=>"@"
    attach_method :cellBackgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :cellClass, :args=>0, :names=>[], :types=>[], :retval=>"#"
    attach_method :cellFrameAtRow, :args=>2, :names=>[:column], :types=>["q", "q"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
    attach_method :cellSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
    attach_method :cellWithTag, :args=>1, :names=>[], :types=>["q"], :retval=>"@"
    attach_method :cells, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :delegate, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :deselectAllCells, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :deselectSelectedCell, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :doubleAction, :args=>0, :names=>[], :types=>[], :retval=>":"
    attach_method :drawCellAtRow, :args=>2, :names=>[:column], :types=>["q", "q"], :retval=>"v"
    attach_method :drawsBackground, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :drawsCellBackground, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :getNumberOfRows, :args=>2, :names=>[:columns], :types=>["^q", "^q"], :retval=>"v"
    attach_method :getRow, [{:args=>3, :names=>[:column, :forPoint], :types=>["^q", "^q", "{CGPoint=dd}"], :retval=>"B"}, {:args=>3, :names=>[:column, :ofCell], :types=>["^q", "^q", "@"], :retval=>"B"}]
    attach_method :highlightCell, :args=>3, :names=>[:atRow, :column], :types=>["B", "q", "q"], :retval=>"v"
    attach_method :initWithFrame, [{:args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"@"}, {:args=>5, :names=>[:mode, :cellClass, :numberOfRows, :numberOfColumns], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q", "#", "q", "q"], :retval=>"@"}, {:args=>5, :names=>[:mode, :prototype, :numberOfRows, :numberOfColumns], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "Q", "@", "q", "q"], :retval=>"@"}]
    attach_method :insertColumn, [{:args=>1, :names=>[], :types=>["q"], :retval=>"v"}, {:args=>2, :names=>[:withCells], :types=>["q", "@"], :retval=>"v"}]
    attach_method :insertRow, [{:args=>1, :names=>[], :types=>["q"], :retval=>"v"}, {:args=>2, :names=>[:withCells], :types=>["q", "@"], :retval=>"v"}]
    attach_method :intercellSpacing, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
    attach_method :isAutoscroll, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isSelectionByRect, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :keyCell, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :makeCellAtRow, :args=>2, :names=>[:column], :types=>["q", "q"], :retval=>"@"
    attach_method :mode, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :mouseDown, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :mouseDownFlags, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :numberOfColumns, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :numberOfRows, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :performKeyEquivalent, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :prototype, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :putCell, :args=>3, :names=>[:atRow, :column], :types=>["@", "q", "q"], :retval=>"v"
    attach_method :removeColumn, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
    attach_method :removeRow, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
    attach_method :renewRows, :args=>2, :names=>[:columns], :types=>["q", "q"], :retval=>"v"
    attach_method :resetCursorRects, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :scrollCellToVisibleAtRow, :args=>2, :names=>[:column], :types=>["q", "q"], :retval=>"v"
    attach_method :selectAll, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :selectCellAtRow, :args=>2, :names=>[:column], :types=>["q", "q"], :retval=>"v"
    attach_method :selectCellWithTag, :args=>1, :names=>[], :types=>["q"], :retval=>"B"
    attach_method :selectText, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :selectTextAtRow, :args=>2, :names=>[:column], :types=>["q", "q"], :retval=>"@"
    attach_method :selectedCell, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :selectedCells, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :selectedColumn, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :selectedRow, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :sendAction, [{:args=>0, :names=>[], :types=>[], :retval=>"B"}, {:args=>3, :names=>[:to, :forAllCells], :types=>[":", "@", "B"], :retval=>"v"}]
    attach_method :sendDoubleAction, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :setAllowsEmptySelection, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutorecalculatesCellSize, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutoscroll, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutosizesCells, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setBackgroundColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setCellBackgroundColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setCellClass, :args=>1, :names=>[], :types=>["#"], :retval=>"v"
    attach_method :setCellSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
    attach_method :setDelegate, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setDoubleAction, :args=>1, :names=>[], :types=>[":"], :retval=>"v"
    attach_method :setDrawsBackground, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setDrawsCellBackground, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setIntercellSpacing, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
    attach_method :setKeyCell, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setMode, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
    attach_method :setPrototype, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setScrollable, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setSelectionByRect, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setSelectionFrom, :args=>4, :names=>[:to, :anchor, :highlight], :types=>["q", "q", "q", "B"], :retval=>"v"
    attach_method :setState, :args=>3, :names=>[:atRow, :column], :types=>["q", "q", "q"], :retval=>"v"
    attach_method :setTabKeyTraversesCells, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setToolTip, :args=>2, :names=>[:forCell], :types=>["@", "@"], :retval=>"v"
    attach_method :setValidateSize, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :sizeToCells, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :sortUsingFunction, :args=>2, :names=>[:context], :types=>["^?", "^v"], :retval=>"v"
    attach_method :sortUsingSelector, :args=>1, :names=>[], :types=>[":"], :retval=>"v"
    attach_method :tabKeyTraversesCells, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :textDidBeginEditing, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :textDidChange, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :textDidEndEditing, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :textShouldBeginEditing, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :textShouldEndEditing, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :toolTipForCell, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
  end
end
