|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractCellEditor
visidia.misc.property.cell.CellViewer
visidia.misc.property.cell.DoubleCell
public class DoubleCell
DoubleCell is the class for editing and rendering in a JTable a cell containing a double.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractCellEditor |
---|
changeEvent, listenerList |
Constructor Summary | |
---|---|
DoubleCell()
Instantiates a new double cell. |
|
DoubleCell(java.lang.Double value)
Instantiates a new double cell. |
|
DoubleCell(java.lang.Double value,
boolean isEditable)
Instantiates a new double cell. |
|
DoubleCell(java.lang.Double value,
boolean isEditable,
java.lang.Double dMin,
java.lang.Double dMax,
java.lang.Double idValue,
java.lang.Double dDecimal)
Instantiates a new double cell. |
Method Summary | |
---|---|
java.lang.Object |
getCellEditorValue()
|
javax.swing.table.TableCellEditor |
getEditor()
Gets the editor. |
javax.swing.table.TableCellRenderer |
getRenderer()
Gets the renderer. |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable oTable,
java.lang.Object oValue,
boolean arg2,
int iRow,
int iColumn)
|
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable arg0,
java.lang.Object oValue,
boolean arg2,
boolean arg3,
int arg4,
int arg5)
|
void |
setDecimal(java.lang.Double dDecimal)
Sets the decimal. |
void |
setMax(java.lang.Double dMax)
Sets the max. |
void |
setMin(java.lang.Double dMin)
Sets the min. |
void |
setValue(java.lang.Double dValue)
Sets the value. |
Methods inherited from class visidia.misc.property.cell.CellViewer |
---|
getEditable, getValue, setEditable, setValue |
Methods inherited from class javax.swing.AbstractCellEditor |
---|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
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, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Constructor Detail |
---|
public DoubleCell()
public DoubleCell(java.lang.Double value)
value
- the valuepublic DoubleCell(java.lang.Double value, boolean isEditable)
value
- the valueisEditable
- the is editablepublic DoubleCell(java.lang.Double value, boolean isEditable, java.lang.Double dMin, java.lang.Double dMax, java.lang.Double idValue, java.lang.Double dDecimal)
value
- the valueisEditable
- the editable statusdMin
- the d mindMax
- the d maxidValue
- the id valuedDecimal
- the d decimalMethod Detail |
---|
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable oTable, java.lang.Object oValue, boolean arg2, int iRow, int iColumn)
public java.lang.Object getCellEditorValue()
public void setDecimal(java.lang.Double dDecimal)
dDecimal
- the new decimalpublic void setMin(java.lang.Double dMin)
dMin
- the new minpublic void setMax(java.lang.Double dMax)
dMax
- the new maxpublic void setValue(java.lang.Double dValue)
dValue
- the new valuepublic java.awt.Component getTableCellRendererComponent(javax.swing.JTable arg0, java.lang.Object oValue, boolean arg2, boolean arg3, int arg4, int arg5)
public javax.swing.table.TableCellEditor getEditor()
CellViewer
getEditor
in class CellViewer
public javax.swing.table.TableCellRenderer getRenderer()
CellViewer
getRenderer
in class CellViewer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |