|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.widgets.table.WidgetDelegate
pt.moredata.widgets.table.FieldDelegate
| Field Summary |
| Fields inherited from class pt.moredata.widgets.table.WidgetDelegate |
cellPropertiesEditor, cellPropertiesRenderer, editorComponent, validated |
| Constructor Summary | |
FieldDelegate()
|
|
FieldDelegate(CellProperties _properties)
|
|
| Method Summary | |
void |
addAllListeners()
|
boolean |
afterCheckIt()
Aqui pode-se aproveitar para por outras coisas após as validações |
java.lang.String |
checkIt(int row,
int col)
Este método deve ser aproveitado para correr as rotinas de validaçoes devolvendo uma mensagem se houver erros ou null senão houver erros |
java.lang.Object |
getCellEditorValue()
Não implementado |
void |
prepareEditor(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Faz a preparação do CellField |
void |
prepareRenderer(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Preparação antes de devolver o renderer |
void |
setCellEditorProperties(CellProperties properties)
Afectação das propriedades das CellProperties a DDataField |
void |
setCellProperties(CellProperties properties)
Sets the cellProperties attribute of the Delegate object |
void |
setCellRendererProperties(CellProperties properties)
Sets the cellRendererProperties attribute of the Delegate object |
void |
setEditorValue(java.lang.Object value)
Não implementado. |
void |
setRendererValue(java.lang.Object value)
Não implementado. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FieldDelegate()
public FieldDelegate(CellProperties _properties)
| Method Detail |
public void setCellProperties(CellProperties properties)
WidgetDelegate
setCellProperties in class WidgetDelegateproperties - The new cellProperties valuepublic void setCellRendererProperties(CellProperties properties)
WidgetDelegate
setCellRendererProperties in class WidgetDelegateproperties - The new cellRendererProperties valuepublic void setCellEditorProperties(CellProperties properties)
setCellEditorProperties in class WidgetDelegateproperties - The new cellEditorProperties valuepublic void setRendererValue(java.lang.Object value)
WidgetDelegate
setRendererValue in class WidgetDelegatevalue - The new rendererValue valuepublic void setEditorValue(java.lang.Object value)
WidgetDelegate
setEditorValue in class WidgetDelegatevalue - The new editorValue valuepublic java.lang.Object getCellEditorValue()
WidgetDelegate
getCellEditorValue in class WidgetDelegate
public void prepareEditor(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
prepareEditor in class WidgetDelegatetable - Description of the Parametervalue - Description of the ParameterisSelected - Description of the Parameterrow - Description of the Parametercolumn - Description of the Parameter
public void prepareRenderer(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
WidgetDelegate
prepareRenderer in class WidgetDelegatetable - Description of the Parametervalue - Description of the ParameterisSelected - Description of the ParameterhasFocus - Description of the Parameterrow - Description of the Parametercolumn - Description of the Parameter
public java.lang.String checkIt(int row,
int col)
WidgetDelegate
checkIt in class WidgetDelegaterow - Description of the Parametercol - Description of the Parameter
public boolean afterCheckIt()
WidgetDelegate
afterCheckIt in class WidgetDelegatepublic void addAllListeners()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||