JComponentPack 1.3.0

com.zfqjava.swing.cell
Class LocaleCellEditor

java.lang.Object
  extended by com.zfqjava.swing.cell.AbstractCellEditor
      extended by com.zfqjava.swing.cell.LocaleCellEditor
All Implemented Interfaces:
ActionListener, FocusListener, EventListener, CellEditor, ComboBoxEditor, TableCellEditor, TreeCellEditor

public abstract class LocaleCellEditor
extends AbstractCellEditor

LocaleCellEditor provides a Locale editor, can be used as JTable, JTree cell editor.


Field Summary
 
Fields inherited from class com.zfqjava.swing.cell.AbstractCellEditor
CANCEL_EDITING_ON_FOCUS_LOST, changeEvent, COMMIT, COMMIT_OR_EDITING, COMMIT_OR_REVERT, DO_NOTHING_ON_FOCUS_LOST, listenerList, STOP_EDITING_ON_FOCUS_LOST, useSelectionColor
 
Constructor Summary
LocaleCellEditor()
          Constructs a LocaleCellEditor
 
Method Summary
abstract  Component getComponent()
          Returns the component for this editor.
protected abstract  Object getValue()
          Returns the value for current editor
protected abstract  void setValue(Object value)
          Sets the value for current editor.
 
Methods inherited from class com.zfqjava.swing.cell.AbstractCellEditor
actionPerformed, addActionListener, addCellEditorListener, cancelCellEditing, commitEdit, fireEditingCanceled, fireEditingStopped, focusGained, focusLost, getCellEditorComponent, getCellEditorComponentType, getCellEditorListeners, getCellEditorValue, getCellProvider, getClickCountToStart, getEditingStopBehavior, getEditingValue, getEditorComponent, getFocusLostBehavior, getItem, getListCellEditorComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, isOpaque, removeActionListener, removeCellEditorListener, selectAll, setCellEditorComponentType, setCellProvider, setClickCountToStart, setEditingStopBehavior, setFocusLostBehavior, setItem, setOpaque, setValue, shouldSelectCell, stopCellEditing, updateUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleCellEditor

public LocaleCellEditor()
Constructs a LocaleCellEditor

Method Detail

getComponent

public abstract Component getComponent()
Returns the component for this editor.

Specified by:
getComponent in class AbstractCellEditor
Returns:
the component for this editor

setValue

protected abstract void setValue(Object value)
Sets the value for current editor.

Specified by:
setValue in class AbstractCellEditor
Parameters:
value - the value to editor

getValue

protected abstract Object getValue()
Returns the value for current editor

Specified by:
getValue in class AbstractCellEditor
Returns:
the value for current editor

JComponentPack 1.3.0

Send your Feedback
JComponentPack 1.3.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.