|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jbudget.gui.month.TableColumnSorter
public abstract class TableColumnSorter
Interface that is used by classes that can be used to sort the columns
in the DatesInfoTable. Each column in this table is labeled by a
MoneyPit object, so the TableColumSorter operates on these
objects.
| Field Summary | |
|---|---|
static java.lang.String |
xmlNodeName
Name of the XML element that represents instances of TableColumnSorter. |
| Constructor Summary | |
|---|---|
TableColumnSorter()
|
|
| Method Summary | |
|---|---|
abstract int |
getInsertionPoint(org.jbudget.Core.MoneyPit item,
java.util.List<org.jbudget.Core.MoneyPit> otherItems)
Returns the index of the a given MoneyPit that should be
inserted in a given list of items. |
static TableColumnSorter |
getInstance(Element element)
Creates a new TableColumnSorter instance using the information provided in a given JDOM Element. |
abstract Element |
getXmlElement()
Returns the XML Element representing the concrete implmenetation of the TableColumnSorter interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String xmlNodeName
| Constructor Detail |
|---|
public TableColumnSorter()
| Method Detail |
|---|
public abstract int getInsertionPoint(org.jbudget.Core.MoneyPit item,
java.util.List<org.jbudget.Core.MoneyPit> otherItems)
MoneyPit that should be
inserted in a given list of items.
item - MoneyPit that corresponds to the colum that is inserted in
table.otherItems - The list of MoneyPit objects that
correspond to the columns that already exist in the table.
public abstract Element getXmlElement()
TableColumnSorter interface.
public static TableColumnSorter getInstance(Element element)
throws JDOMException
JDOMException - if there are parsing errors or the element does
not contain all necessary information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||