LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.component
Class LyJButton._LyJButtonModel

java.lang.Object
  extended by javax.swing.DefaultButtonModel
      extended by leon.view.win.swing.component.LyJButton._LyJButtonModel
All Implemented Interfaces:
java.awt.ItemSelectable, java.io.Serializable, javax.swing.ButtonModel
Enclosing class:
LyJButton

public class LyJButton._LyJButtonModel
extends javax.swing.DefaultButtonModel

This class is used as ButtonModel for LyJButton. The only change is that when the button is pressed it takes the focus. It needs to take focus to have textField lose its focus and so submit its value to the controller.

See Also:
ButtonModel, AbstractButton.setModel(ButtonModel), Serialized Form

Field Summary
 
Fields inherited from class javax.swing.DefaultButtonModel
ARMED, ENABLED, PRESSED, ROLLOVER, SELECTED
 
Constructor Summary
LyJButton._LyJButtonModel()
          Default constructor for this button model object.
 
Method Summary
 void setRollover(boolean b)
           
 
Methods inherited from class javax.swing.DefaultButtonModel
addActionListener, addChangeListener, addItemListener, getActionCommand, getActionListeners, getChangeListeners, getGroup, getItemListeners, getListeners, getMnemonic, getSelectedObjects, isArmed, isEnabled, isPressed, isRollover, isSelected, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setPressed, setSelected
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyJButton._LyJButtonModel

public LyJButton._LyJButtonModel()
Default constructor for this button model object.

Method Detail

setRollover

public void setRollover(boolean b)
Specified by:
setRollover in interface javax.swing.ButtonModel
Overrides:
setRollover in class javax.swing.DefaultButtonModel

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com