Class: Clevic::EditorScrollPane
- Defined in:
- lib/clevic/swing/text_area_delegate.rb
Instance Method Summary collapse
-
#setBounds(rectangle) ⇒ Object
work around stupid JTable non-api for setting cell editor component size rectangle is a java.awt.Rectangle.
Instance Method Details
#setBounds(rectangle) ⇒ Object
work around stupid JTable non-api for setting cell editor component size rectangle is a java.awt.Rectangle
9 10 11 12 13 |
# File 'lib/clevic/swing/text_area_delegate.rb', line 9 def setBounds( rectangle ) height = 100 newrect = java.awt.Rectangle.new( rectangle.x, rectangle.y, rectangle.width, height ) super( newrect ) end |