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 I
Kontoinformationenprotected de.willuhn.jameica.gui.input.IntegerInput
Period to search back for account statements.Fields inherited from class de.willuhn.jameica.gui.AbstractControl
view
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSettingsController
(String blz, I ktoInfo) Standardkonstruktor -
Method Summary
Modifier and TypeMethodDescriptionde.willuhn.jameica.hbci.gui.input.KontoInput
getKonto()
Liefert ein Kontoauswahlfeld mit allen Konten dieser Bank.de.willuhn.jameica.gui.input.TextInput
Liefert ein TextInput mit der Kontoartde.willuhn.jameica.gui.input.CheckboxInput
Liefert eine Checkbox zur Auswahl, ob die Kreditkartenauszüge gespeichert werden sollen.de.willuhn.jameica.gui.input.IntegerInput
Returns anIntegerInput
to define the max period in the past to load account sheetsprotected abstract void
handleAccountChanged
(org.eclipse.swt.widgets.Event event) Behandelt einen Kontowechselboolean
boolean
void
setDisplayAccountStatement
(boolean displayAccountStatement) Sets if the account statements sections should bve displayed.void
setDisplayAccountType
(boolean displayAccountType) Sets if the account type should be displayed.boolean
Checks if the current account supports statement downloads.Methods inherited from class de.willuhn.jameica.gui.AbstractControl
getCurrentObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getKonto
in 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 anIntegerInput
to 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:
supportsStatements
in 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
-
-