|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JComboBox | +--com.klg.jclass.field.JCComboField | +--com.klg.jclass.field.cell.JCComboFieldCellEditor
JCComboFieldCellEditor
provides an editor using a simple
JCComboField
component.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComboBox |
JComboBox.AccessibleJComboBox, JComboBox.KeySelectionManager |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected boolean |
ignoreEnterKey
|
protected com.klg.jclass.cell.JCKeyModifier[] |
key_modifiers
|
protected com.klg.jclass.cell.JCCellEditorSupport |
support
|
Fields inherited from class com.klg.jclass.field.JCComboField |
field, original_picklist, prefixList, required, version |
Fields inherited from class javax.swing.JComboBox |
actionCommand, dataModel, editor, isEditable, keySelectionManager, lightWeightPopupEnabled, maximumRowCount, renderer, selectedItemReminder |
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 |
Fields inherited from interface com.klg.jclass.field.JCFieldComponent |
INVALID, UNDEREDIT, VALID |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JCComboFieldCellEditor()
Creates a new JCComboFieldCellEditor object. |
|
JCComboFieldCellEditor(Class c,
com.klg.jclass.field.validate.JCValidator v)
Constructs an empty JCComboFieldCellEditor , which expects an object
of the specified class, that uses the specified validator. |
Method Summary | |
void |
addCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
Adds a listener to the list that is notified when the editor starts, stops, or cancels editing. |
void |
addNotify()
Initializes the field object. |
void |
cancelCellEditing()
Called when the edit process is cancelled. |
Object |
getCellEditorValue()
Returns the object to be committed. |
Component |
getComponent()
Returns the JCComboField 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 JCComboField component by selecting the appropriate
index associated with the data. |
boolean |
isModified()
Determines whether any changes have been made. |
void |
itemStateChanged(ItemEvent e)
|
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
paint(Graphics g)
Overwrites superclass method to invoke popup. |
void |
removeCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
Removes a listener from the list that is notified when the editor starts, stops, or cancels editing. |
boolean |
stopCellEditing()
Called when the edit process is stopped. |
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 boolean ignoreEnterKey
protected com.klg.jclass.cell.JCKeyModifier[] key_modifiers
Constructor Detail |
public JCComboFieldCellEditor()
JCComboFieldCellEditor
object.
public JCComboFieldCellEditor(Class c, com.klg.jclass.field.validate.JCValidator v)
JCComboFieldCellEditor
, which expects an object
of the specified class, that uses the specified validator.
c
- v
- Method Detail |
public void initialize(AWTEvent ev, com.klg.jclass.cell.JCCellInfo info, Object o)
JCComboField
component by selecting the appropriate
index associated with the data.
initialize
in interface JCCellEditor
ev
- info
- o
- public void paint(Graphics g)
paint
in class JComponent
g
- public Component getComponent()
JCComboField
component.
getComponent
in interface JCCellEditor
JCComboField
componentpublic Object getCellEditorValue()
getCellEditorValue
in interface JCCellEditor
public boolean isModified()
JCCellEditor
JCCellEditor
's
isModified()
method to determine whether any changes have
been made.
isModified
in interface JCCellEditor
public boolean stopCellEditing()
stopCellEditing
in interface JCCellEditor
public void cancelCellEditing()
cancelCellEditing
in interface JCCellEditor
public com.klg.jclass.cell.JCKeyModifier[] getReservedKeys()
getReservedKeys
in interface JCCellEditor
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void addCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
addCellEditorListener
in interface JCCellEditorEventSource
l
- the JCCellEditorListener
public void removeCellEditorListener(com.klg.jclass.cell.JCCellEditorListener l)
removeCellEditorListener
in interface JCCellEditorEventSource
l
- the JCCellEditorListener
public void addNotify()
JCComboField
addNotify
in class JCComboField
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |