Sha256: 1379ce7d671a578fae0057d184452ff85fc6bfc3cdee5e7d7ecc03ac6df22b0d

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

require 'swing'

class Swing::JLabel

  # Use either Swing::SwingConstants::XYZ or Swing::JLabel::XYZ for constants...
  #    UI                     LabelUI • • From L&F
  #    disabledIcon           Icon • • null
  #    displayedMnemonic      int/char • • KeyEvent.VK_UNDEFINED - both int and char setters
  #    displayedMnemonicIndex int -1        ?
  #    horizontalAlignment    int • • LEADING - Also: TRAILING, LEFT, RIGHT, or CENTER
  #    horizontalTextPosition int • • TRAILING - Also LEFT, RIGHT, TOP, BOTTOM, CENTER
  #    icon                   Icon • • null
  #    iconTextGap            int • • 4
  #    labelFor               Component • • null
  #    text                   String • • null
  #    verticalAlignment      int • • CENTER - Also TOP, BOTTOM, or CENTER
  #    verticalTextPosition   int • • CENTER - Also LEFT, RIGHT, TOP, BOTTOM
  #    ----Getters only - NO Setters!
  #    accessibleContext AccessibleContext • JLabel.AccessibleJLabel

  attr_setter :disabled_icon, :displayed_mnemonic, :displayed_mnemonic_index,
              :horizontal_alignment, :horizontal_text_position, :icon, :icon_text_gap,
              :label_for, :text, :vertical_alignment, :vertical_text_position

end # class JLabel

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
swing-0.1.16 lib/swing/j_label.rb
swing-0.1.15 lib/swing/j_label.rb
swing-0.1.14 lib/swing/j_label.rb
swing-0.1.12 lib/swing/j_label.rb