    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class jclass.bwt.JCSpinBoxEvent

    java.lang.Object
       |
       +----java.util.EventObject
               |
               +----java.awt.AWTEvent
                       |
                       +----jclass.bwt.JCAWTEvent
                               |
                               +----jclass.bwt.JCSpinBoxEvent

public class JCSpinBoxEvent
extends JCAWTEvent

JCSpinBoxEvent is posted by a JCSpinBox when its value changes.

See Also:
  JCSpinBoxAdapter, JCSpinBoxListener, addSpinBoxListener

##

JCSpinBoxEvent(Object, int, Object)

##

getAllowChange()
  Determines whether the text field's value should change.
getPosition()
  Gets the position of the new item in the list.
getValue()
  Gets the value that will be copied to the text field.
setAllowChange(boolean)
  If this value is set to false, the text field's value is not changed (default: true).
setValue(Object)
  Sets the value that will be copied to the text field.

##

JCSpinBoxEvent

     public JCSpinBoxEvent(Object source,
                           int position,
                           Object value)

##

getAllowChange

     public boolean getAllowChange()

  Determines whether the text field's value should change.

setAllowChange

     public void setAllowChange(boolean v)

  If this value is set to false, the text field's value is not changed (default: true).

getPosition

     public int getPosition()

  Gets the position of the new item in the list.

getValue

     public Object getValue()

  Gets the value that will be copied to the text field.

setValue

     public void setValue(Object v)

  Sets the value that will be copied to the text field.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index