|
JClass 4.5.0 API Documentation |
||||||||
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 | +--javax.swing.JComponent | +--com.klg.jclass.util.swing.AbstractSpinBox | +--com.klg.jclass.field.JCSpinField | +--com.klg.jclass.field.cell.JCSpinFieldCellEditor
JCSpinFieldCellEditor
provides an editor using a simple
JCSpinField component.
Inner classes inherited from class com.klg.jclass.util.swing.AbstractSpinBox |
com.klg.jclass.util.swing.AbstractSpinBox.ArrowButton,
com.klg.jclass.util.swing.AbstractSpinBox.MetalArrowButton,
com.klg.jclass.util.swing.AbstractSpinBox.MetalBorder |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Field Summary | |
protected com.klg.jclass.cell.JCKeyModifier[] |
key_modifiers
|
protected com.klg.jclass.cell.JCCellEditorSupport |
support
|
Fields inherited from class com.klg.jclass.field.JCSpinField |
field,
required,
text,
version |
Fields inherited from class com.klg.jclass.util.swing.AbstractSpinBox |
arrowKeySpinningAllowed,
buttonTimer,
continuousScroll,
currentButton,
DECREMENT,
defaultPreferredSize,
downArrow,
editable,
editor,
editorIsValidateRoot,
INCREMENT,
l,
metalBorder,
NONE,
renderer,
renderPanel,
rl,
upArrow,
valueListeners,
valueModel |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
JCSpinFieldCellEditor()
Creates a new JCSpinFieldCellEditor object. |
|
JCSpinFieldCellEditor(Class c,
JCValidator v)
Constructs an empty JCSpinFieldCellEditor which expects an object of the specified class; which uses the specified validator |
Method Summary | |
void |
addCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
Adds a listener to the list that's notified when the editor starts, stops, or cancels editing. |
void |
cancelCellEditing()
Called when the edit process is cancelled. |
Object |
getCellEditorValue()
Returns the object to be commited. |
Component |
getComponent()
Returns the JCSpinField component. |
com.klg.jclass.cell.JCKeyModifier[] |
getReservedKeys()
This editor reserves no keys for its own use |
void |
initialize(AWTEvent ev,
com.klg.jclass.cell.JCCellInfo info,
Object o)
Initializes the JCSpinField component by selecting the appropriate index associated with the data. |
boolean |
isModified()
|
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
removeCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
Removes a listener from the list that's notified when the editor starts, stops, or cancels editing. |
boolean |
stopCellEditing()
Called when the edit process is stopped |
Methods inherited from class com.klg.jclass.field.JCSpinField |
addNotify,
addPropertyChangeListener,
addValueListener,
checkArrowButtons,
commitEdit,
createField,
doSpin,
getAbout,
getDataProperties,
getInvalidInfo,
getSelectOnEnter,
getState,
getValidator,
getValue,
getValueModel,
isRequired,
preferredHeightOfView,
processFocusLost,
removePropertyChangeListener,
removeValueListener,
setAbout,
setBackground,
setDataProperties,
setEditable,
setForeground,
setInvalidInfo,
setRequired,
setSelectOnEnter,
setValidator,
setValue,
setValueModel,
spinDown,
spinUp |
Methods inherited from class com.klg.jclass.util.swing.AbstractSpinBox |
compareToValue,
configureArrowButtons,
createDecrArrow,
createIncrArrow,
doBorder,
doFocusedLook,
doLayout,
doNonFocusedLook,
getDecrementArrow,
getEditor,
getIncrementArrow,
getPreferredSize,
getRenderer,
handleKeyPressed,
isArrowKeySpinningAllowed,
isContinuousScroll,
isEditable,
isEnabled,
isFocusTraversable,
paint,
preferredWidthOfView,
processValueChanged,
processValueChanging,
requestFocus,
setArrowEnabled,
setArrowKeySpinningAllowed,
setContinuousScroll,
setEditor,
setEnabled,
setLayout,
setRenderer,
setUI,
swapEditorRenderer,
updateUI |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected com.klg.jclass.cell.JCCellEditorSupport support
protected com.klg.jclass.cell.JCKeyModifier[] key_modifiers
Constructor Detail |
public JCSpinFieldCellEditor()
JCSpinFieldCellEditor
object.public JCSpinFieldCellEditor(Class c, JCValidator v)
Method Detail |
public void initialize(AWTEvent ev, com.klg.jclass.cell.JCCellInfo info, Object o)
public Component getComponent()
public Object getCellEditorValue()
public boolean isModified()
public boolean stopCellEditing()
public void cancelCellEditing()
public com.klg.jclass.cell.JCKeyModifier[] getReservedKeys()
public void keyTyped(KeyEvent e)
public void keyPressed(KeyEvent e)
public void keyReleased(KeyEvent e)
public void addCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
l
- the JCCellEditorListenerpublic void removeCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
l
- the JCCellEditorListener
|
Copyright© 1999-2000 KL Group Inc. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |