Sha256: 3ead05ce2e5afe063e87bfef31956316badbd8ff33d03760e2ca7e480bd5ce0b

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 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 • •
  #    locationOnScreen 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)
  #    showing          boolean • true
  #    valid            boolean •

  attr_setter :background, :cursor, :enabled, :font, :foreground, :layout, :locale,
              :location, :location_on_screen, :name, :parent, :size, :visible
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swing-0.1.4 lib/awt/component.rb
swing-0.1.3 lib/awt/component.rb