Package de.frankmuenster.mahoe.gui.parts
Class AbstractSettingsPart<C extends AbstractSettingsController<?>>
java.lang.Object
de.frankmuenster.mahoe.gui.parts.AbstractSettingsPart<C>
- Type Parameters:
C
- teh controller to handle the data of the part
- All Implemented Interfaces:
de.willuhn.jameica.gui.Part
- Direct Known Subclasses:
AktienSettingsPart
,BosSettingsPart
,BshSettingsPart
,SantanderSettingsPart
,TargoBankSettingsPart
public abstract class AbstractSettingsPart<C extends AbstractSettingsController<?>>
extends Object
implements de.willuhn.jameica.gui.Part
Abstract class for a settings part. Provides already an account chooser, the
type of a chosen account and information about account statement downloading
- Author:
- Frank Münster
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSettingsPart
(C control) Creates a new settings part with the given controller -
Method Summary
Modifier and TypeMethodDescriptionvoid
paint
(org.eclipse.swt.widgets.Composite parent) protected abstract void
paintBankSpecific
(de.willuhn.jameica.gui.util.SimpleContainer left, de.willuhn.jameica.gui.util.SimpleContainer right) Needs to be implemented by a concrete settings part.
-
Field Details
-
FIX_SPACE_TEXT
- See Also:
-
control
Our controller
-
-
Constructor Details
-
AbstractSettingsPart
Creates a new settings part with the given controller- Parameters:
control
- the controller to handle the data inside the settings part
-
-
Method Details
-
paint
- Specified by:
paint
in interfacede.willuhn.jameica.gui.Part
- Throws:
RemoteException
- See Also:
-
Part.paint(org.eclipse.swt.widgets.Composite)
-
paintBankSpecific
protected abstract void paintBankSpecific(de.willuhn.jameica.gui.util.SimpleContainer left, de.willuhn.jameica.gui.util.SimpleContainer right) throws RemoteException Needs to be implemented by a concrete settings part. Can be used to display/set bank/account specific information.- Parameters:
left
- the left composite (2/3)right
- the right composite (1/3)- Throws:
RemoteException
-