|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.ui.FormTableEntry
org.tentackle.ui.SumFormTableEntry
public class SumFormTableEntry
A formtable entry to sumup the numeric columns of a table.
| Constructor Summary | |
|---|---|
SumFormTableEntry()
Creates an empty SumFormTableEntry. |
|
SumFormTableEntry(AbstractFormTableModel model)
Creates a SumFormTableEntry for a given table model. |
|
| Method Summary | |
|---|---|
int |
getColumnCount()
Determines the number of data-model columns. |
String |
getColumnName(int mColumn)
Describes the column name. This may be a symbolic name if getDisplayedColumnName() is overridden. |
Object |
getObject()
Gets the object wrapped by this entry. |
Object |
getValueAt(int mColumn)
Gets the column-object for this entry in a given column. |
FormTableEntry |
newInstanceOf(Object object)
Creates a new instance of an entry for a given data-object. |
void |
sumUp(AbstractFormTableModel model)
Sums up all numeric column in the model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SumFormTableEntry(AbstractFormTableModel model)
model - the form table modelpublic SumFormTableEntry()
sumUp(org.tentackle.ui.AbstractFormTableModel)| Method Detail |
|---|
public void sumUp(AbstractFormTableModel model)
model - the form table modelpublic FormTableEntry newInstanceOf(Object object)
FormTableEntry
newInstanceOf in class FormTableEntryobject - the data-object
public Object getValueAt(int mColumn)
FormTableEntry
getValueAt in class FormTableEntrymColumn - the datamodel-column
public String getColumnName(int mColumn)
FormTableEntry
getColumnName in class FormTableEntrymColumn - the datamodel-column
public Object getObject()
FormTableEntry
getObject in class FormTableEntrypublic int getColumnCount()
FormTableEntry
getColumnCount in class FormTableEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||