lib/awt/component.rb in swing-0.1.10 vs lib/awt/component.rb in swing-0.1.12
- old
+ new
@@ -24,8 +24,10 @@
# insets Insets • Insets(0,0,0,0)
# locationOnScreen Point • •
# showing boolean • true
# valid boolean •
- attr_setter :background, :cursor, :enabled, :font, :foreground, :layout,
- :locale, :location, :name, :size, :visible
+ attr_setter :enabled, :layout,
+ :locale, :location, :name, :size, :visible,
+ :background => Awt::Color, :foreground => Awt::Color,
+ :font => Awt::Font, :cursor => Awt::Cursor
end