Class AbstractSettingsController<I extends CreateInfo>
java.lang.Object
de.willuhn.jameica.gui.AbstractControl
de.frankmuenster.mahoe.gui.controller.AbstractSettingsController<I>
- Type Parameters:
I- the concrete CreateInfo
- All Implemented Interfaces:
SettingsController
- Direct Known Subclasses:
AktienSettingsController,BosSettingsController,BshSettingsController,SantanderSettingsController,TargoBankSettingsController
public abstract class AbstractSettingsController<I extends CreateInfo>
extends de.willuhn.jameica.gui.AbstractControl
implements SettingsController
- Author:
- Frank Münster
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected de.willuhn.jameica.hbci.gui.input.KontoInput(Kreditkarten)-Kontoprotected final IKontoinformationenprotected de.willuhn.jameica.gui.input.IntegerInputPeriod to search back for account statements.Fields inherited from class de.willuhn.jameica.gui.AbstractControl
view -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSettingsController(String blz, I ktoInfo) Standardkonstruktor -
Method Summary
Modifier and TypeMethodDescriptionde.willuhn.jameica.hbci.gui.input.KontoInputgetKonto()Liefert ein Kontoauswahlfeld mit allen Konten dieser Bank.de.willuhn.jameica.gui.input.TextInputLiefert ein TextInput mit der Kontoartde.willuhn.jameica.gui.input.CheckboxInputLiefert eine Checkbox zur Auswahl, ob die Kreditkartenauszüge gespeichert werden sollen.de.willuhn.jameica.gui.input.IntegerInputReturns anIntegerInputto define the max period in the past to load account sheetsprotected abstract voidhandleAccountChanged(org.eclipse.swt.widgets.Event event) Behandelt einen KontowechselbooleanbooleanvoidsetDisplayAccountStatement(boolean displayAccountStatement) Sets if the account statements sections should bve displayed.voidsetDisplayAccountType(boolean displayAccountType) Sets if the account type should be displayed.booleanChecks if the current account supports statement downloads.Methods inherited from class de.willuhn.jameica.gui.AbstractControl
getCurrentObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.frankmuenster.mahoe.gui.controller.SettingsController
speichern
-
Field Details
-
ktoInfo
Kontoinformationen -
account
protected transient de.willuhn.jameica.hbci.gui.input.KontoInput account(Kreditkarten)-Konto -
statementsMaxDaysBack
protected transient de.willuhn.jameica.gui.input.IntegerInput statementsMaxDaysBackPeriod to search back for account statements. Default is 90 days back.
-
-
Constructor Details
-
AbstractSettingsController
Standardkonstruktor- Parameters:
blz-ktoInfo-
-
-
Method Details
-
getKonto
public de.willuhn.jameica.hbci.gui.input.KontoInput getKonto()Liefert ein Kontoauswahlfeld mit allen Konten dieser Bank.- Specified by:
getKontoin interfaceSettingsController- Returns:
- ein Kontoauswahlfeld mit allen Konten dieser Bank.
-
getKontoTyp
public de.willuhn.jameica.gui.input.TextInput getKontoTyp()Liefert ein TextInput mit der Kontoart- Returns:
- ein TextInput mit der Kontoart
-
getSavePDF
public de.willuhn.jameica.gui.input.CheckboxInput getSavePDF()Liefert eine Checkbox zur Auswahl, ob die Kreditkartenauszüge gespeichert werden sollen.- Returns:
- Ein CheckBoxInput zur Auswahl, ob die Kreditkartenauszüge gespeichert werden sollen.
-
getStatementMaxDaysBack
public de.willuhn.jameica.gui.input.IntegerInput getStatementMaxDaysBack()Returns anIntegerInputto define the max period in the past to load account sheets- Returns:
- A IntegerInput to define the max period in the past in days
-
isDisplayAccountStatement
public boolean isDisplayAccountStatement()- Returns:
- the displayAccountStatement
-
isDisplayAccountType
public boolean isDisplayAccountType()- Returns:
- the displayAccountType
-
setDisplayAccountStatement
public void setDisplayAccountStatement(boolean displayAccountStatement) Sets if the account statements sections should bve displayed. Default is true.- Parameters:
displayAccountStatement- the displayAccountStatement to set.
-
setDisplayAccountType
public void setDisplayAccountType(boolean displayAccountType) Sets if the account type should be displayed. Default is false.- Parameters:
displayAccountType- the displayAccountType to set.
-
supportsStatements
public boolean supportsStatements()Checks if the current account supports statement downloads.- Specified by:
supportsStatementsin interfaceSettingsController- Returns:
- true in case the account supports statement downloads, false else
-
handleAccountChanged
protected abstract void handleAccountChanged(org.eclipse.swt.widgets.Event event) Behandelt einen Kontowechsel- Parameters:
event-
-