AddressbookFrame.menuItem.addOwnData.toolTipText=Erlaubt das Hinzuf\u00fcgen eigener Daten.
AddressbookFrame.menuItem.editOwnData.text=Eigene Adresse \u00e4ndern
AddressbookFrame.menuItem.editOwnData.toolTipText=Erlaubt das \u00c4ndern eigener Daten.
+ContactManager.columnName.gender.text=Anrede
+ContactManager.columnName.surname.text=Vorname
+ContactManager.columnName.familyName.text=Nachname
+ContactManager.columnName.street.text=Strasse
+ContactManager.columnName.houseNumber.text=Hausnummer
+ContactManager.columnName.zipCode.text=Postleitzahl
+ContactManager.columnName.city.text=Stadt
AddressbookFrame.menuItem.addOwnData.toolTipText=Allows the user to add own address data
AddressbookFrame.menuItem.editOwnData.text=Edit own data
AddressbookFrame.menuItem.editOwnData.toolTipText=Allows the user to edit own address data
+ContactManager.columnName.gender.text=Gender
+ContactManager.columnName.surname.text=Surname
+ContactManager.columnName.familyName.text=Family name
+ContactManager.columnName.street.text=Street
+ContactManager.columnName.houseNumber.text=House number
+ContactManager.columnName.zipCode.text=ZIP code
+ContactManager.columnName.city.text=City
String key = iterator.next();
// Does the key start with ContactManager.columnName ?
- if (key.startsWith("ContactM,anager.columnName")) {
+ if (key.startsWith("ContactManager.columnName")) {
// This is the wanted entry.
this.getLogger().debug(MessageFormat.format("key={0}", key));
this.getLogger().trace(MessageFormat.format("getColumnCount()={0}: EXIT!", this.getColumnCount()));
}
+ /**
+ * Getter for column name at given index.
+ *
+ * @param columnIndex Column index
+ * @return Human-readable column name
+ */
+ @Override
+ public String getColumnName (final int columnIndex) {
+ // Get column name at index
+ return this.columnNames.get(columnIndex);
+ }
+
/**
* Flushes all entries by calling database backend
*/
*/
public void doListContacts ();
+ /**
+ * Getter for column name at given index.
+ *
+ * @param columnIndex Column index
+ * @return Human-readable column name
+ */
+ public String getColumnName (final int columnIndex);
+
/**
* Adds given contact to address book
*
@Override
public int getColumnCount () {
- // Deligate this call to the contact manager
+ // Deligate this call to contact manager
return this.getClient().getContactManager().getColumnCount();
}
@Override
public String getColumnName (final int columnIndex) {
- throw new UnsupportedOperationException("Not supported yet. columnIndex=" + columnIndex); //To change body of generated methods, choose Tools | Templates.
+ // Deligate this call to contact manager
+ return this.getClient().getContactManager().getColumnName(columnIndex);
}
@Override
public int getRowCount () {
+ // Deligate this call to contact manager
return this.getClient().getContactManager().size();
}