|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--symantec.itools.awt.util.spinner.Spinner | +--symantec.itools.awt.util.spinner.NumericSpinner | +--com.jjt.utbeg.NumericSpinner
A subclass of Symantec's NumericSpinner that compensates for some defects.
In particular, this class listens for the <Enter> key, and updates the value when it occurs.
Inner classes inherited from class symantec.itools.awt.util.spinner.Spinner |
symantec.itools.awt.util.spinner.Spinner.Action,
symantec.itools.awt.util.spinner.Spinner.CurrentVeto,
symantec.itools.awt.util.spinner.Spinner.MaxVeto,
symantec.itools.awt.util.spinner.Spinner.MinVeto |
Inner classes inherited from class java.awt.Component |
Component.AWTTreeLock,
Component.NativeInLightFixer |
Fields inherited from class symantec.itools.awt.util.spinner.NumericSpinner |
changes,
vetos |
Fields inherited from class symantec.itools.awt.util.spinner.Spinner |
action,
actionListener,
added,
buttons,
changes,
current,
currentVeto,
editable,
errors,
increment,
max,
maxVeto,
min,
minVeto,
orientation,
ORIENTATION_DEFAULT,
text,
textFld,
textWidth,
vetos,
wrappable |
Fields inherited from class java.awt.Panel |
base,
nameCounter,
serialVersionUID |
Fields inherited from class java.awt.Container |
component,
containerListener,
containerSerializedDataVersion,
dispatcher,
layoutMgr,
maxSize,
ncomponents,
serialVersionUID |
Constructor Summary | |
NumericSpinner()
Creates a NumericSpinner. |
Method Summary | |
void |
keyPressed(KeyEvent e)
This method is public as an implementation side-effect. |
void |
keyReleased(KeyEvent e)
This method is public as an implementation side-effect. |
void |
keyTyped(KeyEvent e)
This method is public as an implementation side-effect. |
Methods inherited from class symantec.itools.awt.util.spinner.NumericSpinner |
addNotify,
addPropertyChangeListener,
addVetoableChangeListener,
getCurrentText,
getIncrement,
removePropertyChangeListener,
removeVetoableChangeListener,
setIncrement,
setMax,
setMin,
validateText |
Methods inherited from class symantec.itools.awt.util.spinner.Spinner |
addActionListener,
addCurrentListener,
addCurrentListener,
addMaxListener,
addMaxListener,
addMinListener,
addMinListener,
getCurrent,
getDelay,
getEditable,
getEntryFieldText,
getMax,
getMin,
getMinimumSize,
getNotifyWhilePressed,
getOrientation,
getPreferredSize,
getWrappable,
isEditable,
isNotifyWhilePressed,
isValidCurrentValue,
isValidMaxValue,
isValidMinValue,
isWrappable,
removeActionListener,
removeCurrentListener,
removeCurrentListener,
removeMaxListener,
removeMaxListener,
removeMinListener,
removeMinListener,
removeNotify,
scrollDown,
scrollUp,
setCurrent,
setDelay,
setEditable,
setEnabled,
setLayout,
setNotifyWhilePressed,
setOrientation,
setWrappable,
sourceActionEvent,
updateButtonStatus,
updateText |
Methods inherited from class java.awt.Panel |
constructComponentName |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Constructor Detail |
public NumericSpinner()
Method Detail |
public void keyPressed(KeyEvent e)
Part of the KeyListener interface. This method is used to determine when the <Enter> key is pressed in the text field of this spin box, presumably after the user has entered a value in the box.
Invoked when a key has been pressed.
public void keyReleased(KeyEvent e)
Part of the KeyListener interface.
Invoked when a key has been released.
public void keyTyped(KeyEvent e)
Part of the KeyListener interface.
Invoked when a key has been typed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |