All Downloads are FREE. Search and download functionalities are using the official Maven repository.

okw.gui.OKWLocatorBase Maven / Gradle / Ivy

/*
    ==============================================================================
      Author: Zoltán Hrabovszki 

      Copyright © 2012 - 2020, IT-Beratung Hrabovszki
      www.OpenKeyWord.de
    ============================================================================== 

    This file is part of OpenKeyWord.

    OpenKeyWord is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    OpenKeyWord is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with OpenKeyWord.  If not, see .

    Diese Datei ist Teil von OpenKeyWord.

    OpenKeyWord ist Freie Software: Sie können es unter den Bedingungen
    der GNU General Public License, wie von der Free Software Foundation,
    Version 3 der Lizenz oder (nach Ihrer Wahl) jeder späteren
    veröffentlichten Version, weiterverbreiten und/oder modifizieren.

    OpenKeyWord wird in der Hoffnung, dass es nützlich sein wird, aber
    OHNE JEDE GEWÄHRLEISTUNG, bereitgestellt; sogar ohne die implizite
    Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
    Siehe die GNU General Public License für weitere Details.

    Sie sollten eine Kopie der GNU General Public License zusammen mit 
    OpenKeyWord erhalten haben. Wenn nicht, siehe .
*/

package okw.gui;

public abstract class OKWLocatorBase
{
    public OKWLocatorBase( )
    {
    }

/*    public OKWLocatorBase( String fpsLocator, OKWLocatorBase... fpLocators )
    {
      setLocator( fpsLocator, fpLocators );
    }
    */

    /**
     * \~german
     * Setzt die Locator-Referenz Werte der Quelle auf das aktuelle Objekt.
     *
     * @param fpLOCATOR Quelle, dessen Werte in das aktuelle Objekt copiert werden soll.
     * 
     * \~english
     * Setzt die Locator-Referenz Werte der Quelle auf das aktuelle Objekt.
     * @param fpLOCATOR Quelle, dessen Werte in das aktuelle Objekt copiert werden soll.
     * \~
     * @author Zoltán Hrabovszki
     * \date 2019-06-27
     */
    abstract void setLocator( String fpsLocator, OKWLocatorBase... fpLocators );

    /**
     * \~german
     * Setzt die Locator-Referenz Werte der Quelle auf das aktuelle Objekt.
     *
     * @param fpLOCATOR Quelle, dessen Werte in das aktuelle Objekt copiert werden soll.
     * \~english
     *
     * @param fpLOCATOR Quelle, dessen Werte in das aktuelle Objekt copiert werden soll.
     * \~
     * @author Zoltán Hrabovszki
     * \date 2019-06-27
     */
    abstract void setLocators( OKWLocatorBase... fpLocators );
    
    /**
     * \~german
     *  Kopiert/Überträgt alle Locatoren-Werte der Quelle auf das aktuelle Objekt.
     *  
     *  Es werden/sollen sowohl der einzelne String Locator als auch die eingebetteten
     *  Referenzen darauf übertragen.
     *
     * @param fpLOCATOR Quelle, dessen Werte in das aktuelle Objekt copiert werden soll.
     * \~english
     *
     * @param fpLOCATOR Quelle, dessen Werte in das aktuelle Objekt copiert werden soll.
     * \~
     * @author Zoltán Hrabovszki
     * \date 2019-06-27
     */
    abstract void copyLocator( OKWLocatorBase fpLOCATOR );
    
    abstract String getLocator();

    abstract String getlocator();
    abstract OKWLocatorBase[] getLocators();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy