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 java.lang.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 Modifier and Type Field Description protected C
control
Our controllerprotected static java.lang.String
FIX_SPACE_TEXT
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSettingsPart(C control)
Creates a new settings part with the given controller
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
FIX_SPACE_TEXT
protected static final java.lang.String FIX_SPACE_TEXT
- See Also:
- Constant Field Values
-
control
protected final transient C extends AbstractSettingsController<?> control
Our controller
-
-
Constructor Detail
-
AbstractSettingsPart
protected AbstractSettingsPart(C control)
Creates a new settings part with the given controller- Parameters:
control
- the controller to handle the data inside the settings part
-
-
Method Detail
-
paint
public void paint(org.eclipse.swt.widgets.Composite parent) throws java.rmi.RemoteException
- Specified by:
paint
in interfacede.willuhn.jameica.gui.Part
- Throws:
java.rmi.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 java.rmi.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:
java.rmi.RemoteException
-
-