org.softsmithy.lib.swing
Class HorizontalAlignmentCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by javax.swing.DefaultCellEditor
          extended by org.softsmithy.lib.swing.HorizontalAlignmentCellEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor, TreeCellEditor

public class HorizontalAlignmentCellEditor
extends DefaultCellEditor

Author:
puce
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
 
Field Summary
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
HorizontalAlignmentCellEditor(Locale locale)
          Creates a new instance of HorizontalAlignmentCellEditor
 
Method Summary
 Object getCellEditorValue()
          Forwards the message from the CellEditor to the delegate.
 Locale getLocale()
          Getter for property locale.
 void setLocale(Locale locale)
          Setter for property locale.
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
 

Constructor Detail

HorizontalAlignmentCellEditor

public HorizontalAlignmentCellEditor(Locale locale)
Creates a new instance of HorizontalAlignmentCellEditor

Method Detail

getCellEditorValue

public Object getCellEditorValue()
Forwards the message from the CellEditor to the delegate.

Specified by:
getCellEditorValue in interface CellEditor
Overrides:
getCellEditorValue in class DefaultCellEditor
See Also:
EditorDelegate#getCellEditorValue

getLocale

public Locale getLocale()
Getter for property locale.

Returns:
Value of property locale.

setLocale

public void setLocale(Locale locale)
Setter for property locale.

Parameters:
locale - New value of property locale.


Copyright © 2002-2011 SoftSmithy. All Rights Reserved.