E L V I S
Extensible Libraried Visual Interface Simplifier


Widget Specifications
Back Home

Widget
   FileChooser
   BarLayout
   DialogBox
   Clock
   MenuSeparator
   Spacer
   RadioButtonGroup
   Container
      Frame
      Window
   Label
   TreeNode
   TextField
   Clickable
         Button
            CheckButton
            RadioButton
      Menu
         MenuItem
      ComboBox
   MenuBar
   Layout
      GridLayout
   Tree
   TextArea
   ScrollingFrame

Button

Widget
     ->Clickable
          ->Button

Description

Implements Java's clickable button.

Attributes

width

    Sets the button's width.
    Default Value: -1

borderPainted
    Changes whether the border is painted.
    Default Value: true

selected
    Changes whether the button is selected.
    Default Value: false

verticalAlignment
    Adjusts the vertical alignment
    Default Value: 0 (Corresponds to SwingConstants.CENTER)

enabled
    Changes whether the button is enabled.
    Default Value: true

onClick
    Sets the handler for the onClick event.
    Default Value: null

label
    Sets the button's text.
    Default Value: null

contentAreaFilled
    Changes whether the content area is filled.
    Default Value: true

backgroundColor
    Adjusts the background color.
    Default Value: null

horizontalAlignment
    Adjusts the horizontal alignment
    Default Value: 0 (Corresponds to SwingConstants.CENTER)

height
    Sets the button's height.
    Default Value: -1