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
Fields Modifier and Type Field Description protected de.willuhn.jameica.hbci.gui.input.KontoInput
account
(Kreditkarten)-Kontoprotected I
ktoInfo
Kontoinformationenprotected de.willuhn.jameica.gui.input.IntegerInput
statementsMaxDaysBack
Period to search back for account statements.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSettingsController(java.lang.String blz, I ktoInfo)
Standardkonstruktor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description de.willuhn.jameica.hbci.gui.input.KontoInput
getKonto()
Liefert ein Kontoauswahlfeld mit allen Konten dieser Bank.de.willuhn.jameica.gui.input.TextInput
getKontoTyp()
Liefert ein TextInput mit der Kontoartde.willuhn.jameica.gui.input.CheckboxInput
getSavePDF()
Liefert eine Checkbox zur Auswahl, ob die Kreditkartenauszüge gespeichert werden sollen.de.willuhn.jameica.gui.input.IntegerInput
getStatementMaxDaysBack()
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
isDisplayAccountStatement()
boolean
isDisplayAccountType()
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
supportsStatements()
Checks if the current account supports statement downloads.-
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 Detail
-
ktoInfo
protected final transient I extends CreateInfo ktoInfo
Kontoinformationen
-
account
protected transient de.willuhn.jameica.hbci.gui.input.KontoInput account
(Kreditkarten)-Konto
-
statementsMaxDaysBack
protected transient de.willuhn.jameica.gui.input.IntegerInput statementsMaxDaysBack
Period to search back for account statements. Default is 90 days back.
-
-
Constructor Detail
-
AbstractSettingsController
protected AbstractSettingsController(java.lang.String blz, I ktoInfo)
Standardkonstruktor- Parameters:
blz
-ktoInfo
-
-
-
Method Detail
-
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
-
-
-