|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.tbee.swing.table.DefaultCellEditor
org.tbee.swing.table.GregorianCalendarEditor
public class GregorianCalendarEditor
Includes internationalization
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor |
|---|
javax.swing.DefaultCellEditor.EditorDelegate |
| Field Summary | |
|---|---|
static java.lang.String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Fields inherited from class javax.swing.DefaultCellEditor |
|---|
clickCountToStart, delegate, editorComponent |
| Fields inherited from class javax.swing.AbstractCellEditor |
|---|
changeEvent, listenerList |
| Constructor Summary | |
|---|---|
GregorianCalendarEditor()
initialize the editor with defaults |
|
GregorianCalendarEditor(boolean useIsoNotation)
initialize the editor with defaults |
|
GregorianCalendarEditor(boolean showDate,
boolean showTime)
initialize the editor with defaults |
|
GregorianCalendarEditor(java.text.Format format)
initialize the editor with defaults |
|
GregorianCalendarEditor(java.lang.String format)
initialize the editor with defaults |
|
| Method Summary | |
|---|---|
java.lang.Object |
getCellEditorValue()
get the value (after validate is succesful) |
java.text.Format |
getFormat()
Format |
boolean |
getShowDate()
|
boolean |
getShowTime()
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable t,
java.lang.Object value,
boolean isSelected,
int row,
int col)
get the editor |
boolean |
getUseIsoNotation()
|
void |
setFormat(java.text.Format value)
|
void |
setShowDate(boolean value)
ShowDate, only in non iso mode |
void |
setShowTime(boolean value)
ShowTime, only in non iso mode |
void |
setUseIsoNotation(boolean value)
UseIsoNotation |
boolean |
stopCellEditing()
validate and return false if it failed |
| Methods inherited from class org.tbee.swing.table.DefaultCellEditor |
|---|
requestFocus, useAsRenderer |
| Methods inherited from class javax.swing.DefaultCellEditor |
|---|
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell |
| 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 |
| Field Detail |
|---|
public static final java.lang.String SOURCECODE_VERSION
| Constructor Detail |
|---|
public GregorianCalendarEditor()
public GregorianCalendarEditor(boolean useIsoNotation)
public GregorianCalendarEditor(boolean showDate,
boolean showTime)
public GregorianCalendarEditor(java.text.Format format)
public GregorianCalendarEditor(java.lang.String format)
| Method Detail |
|---|
public void setUseIsoNotation(boolean value)
public boolean getUseIsoNotation()
public void setShowDate(boolean value)
public boolean getShowDate()
public void setShowTime(boolean value)
public boolean getShowTime()
public java.text.Format getFormat()
public void setFormat(java.text.Format value)
public boolean stopCellEditing()
stopCellEditing in interface javax.swing.CellEditorstopCellEditing in class javax.swing.DefaultCellEditorpublic java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditorgetCellEditorValue in class javax.swing.DefaultCellEditor
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable t,
java.lang.Object value,
boolean isSelected,
int row,
int col)
getTableCellEditorComponent in interface javax.swing.table.TableCellEditorgetTableCellEditorComponent in class DefaultCellEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||