Sha256: d4d4d1d96049ed423cd461c292494b8a0c02683ebe0aab8f222b960dd877e0f5

Contents?: true

Size: 1.48 KB

Versions: 13

Compression:

Stored size: 1.48 KB

Contents

= swing
by: Arvicco
url: http://github.com/arvicco/swing

== DESCRIPTION:

Straightforward wrappers for javax.swing Components that simplify Swing code in JRuby-based GUI applications.

== PROBLEMS:

This code is NOT production-ready! For production-ready code, try something like Rubeus:
[https://github.com/akm/rubeus]. Personally, I've tried to use Rubeus and its auto-magic
worked great for some use-cases, but I had problems extending its code when I needed to
change default Rubeus behavior. For the life of me, I cannot figure out where all this
Rubeus magic happens and how to change ANYTHING without the whole stage with smoke and
mirrors falling down on me.

Maybe it's just me - but I'm uncomfortable with complicated code and prefer much more
straightforward solutions. So, I intend this lib to be straightforward - even at the
expense of performance.

== FEATURES:

Library adds extended functionality to original javax.swing classes, such as:
* Ability to set attributes via constructor options:
  Swing::JButton.new 'Title', :enabled => false
* Ability to define settable attributes/properties via attr_setter class macro,
  as well as (optional) defaults for them that may be different from Swing's original defaults
* Auto adding component to parent if ops[:parent] is given to initializer

== SYNOPSIS:

  FIXME (code sample of usage)

== REQUIREMENTS:

* FIXME (list of requirements)

== INSTALL:

  $ sudo gem install swing

== LICENSE:

Copyright (c) 2011 Arvicco. See LICENSE for details.

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
swing-0.1.16 README.rdoc
swing-0.1.15 README.rdoc
swing-0.1.14 README.rdoc
swing-0.1.12 README.rdoc
swing-0.1.10 README.rdoc
swing-0.1.8 README.rdoc
swing-0.1.7 README.rdoc
swing-0.1.5 README.rdoc
swing-0.1.4 README.rdoc
swing-0.1.3 README.rdoc
swing-0.1.2 README.rdoc
swing-0.1.1 README.rdoc
swing-0.1.0 README.rdoc