Sha256: 71e6c3803df354ab5a88977d2c96c17f0066c879f181c6914a4598c504a8f9d8

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

require 'swing_support/extensions/attributes'

class Awt::Component

  # TODO: remove from spec suite
  def blah
  end

  include SwingSupport::Extensions::Attributes

  #    background       Color • •
  #    cursor           Cursor • • Cursor.DEFAULT_CURSOR
  #    enabled          boolean • • true
  #    font             Font • •
  #    foreground       Color • •
  #    layout           LayoutManager • • BorderLayout( )
  #    locale           Locale • •
  #    location         Point • •
  #    name             String • • ""
  #    parent           Container • • null
  #    size             Dimension • •
  #    visible          boolean • • true
  #    ----Getters only - NO Setters!
  #    colorModel       ColorModel •
  #    component        (i) Component •
  #    componentCount   int •
  #    components       Component[] •
  #    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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
swing-0.1.8 lib/awt/component.rb
swing-0.1.7 lib/awt/component.rb
swing-0.1.5 lib/awt/component.rb