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
    Modifier and Type
    Field
    Description
    protected final C
    Our controller
    protected static final String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates a new settings part with the given controller
  • Method Summary

    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • 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 Details

    • paint

      public void paint(org.eclipse.swt.widgets.Composite parent) throws RemoteException
      Specified by:
      paint in interface de.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