Created the search part of the PSD
The search have two big functionalities first one is fetch the users based on given list of filters and the second one is open add/eddit panel based on what the fetching of the users have returned.voting-station-gui
parent
7d2eedfc1e
commit
3766478ffa
|
@ -0,0 +1,20 @@
|
|||
package polling_station_dashboard.search;
|
||||
|
||||
import javafx.event.Event;
|
||||
import javafx.event.EventHandler;
|
||||
|
||||
/**
|
||||
* Created by Vladimir Eliezer Tokarev on 12/06/2016.
|
||||
* SearchHandler trying to fetch wanted users by given strings (VotersFetcher) and then
|
||||
* Starts the eddit/add panel based on what the VotersFetcher Have fetched.
|
||||
*/
|
||||
public class SearchHandler implements EventHandler {
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void handle(Event event) {
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package polling_station_dashboard.search.VotersFetcher;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by Vladimir Eliezer Tokarev on 12/06/2016.
|
||||
* VotersFetcher gives the ability of fetching voters based on given list of filters
|
||||
*/
|
||||
public interface VotersFetcher {
|
||||
|
||||
Object FectchVoters(List<String> filters);
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package polling_station_dashboard.voterEdit.java;
|
||||
package polling_station_dashboard.search.votersEdit.java;
|
||||
|
||||
/**
|
||||
* Created by Vladimir Eliezer Tokarev on 11/06/2016.
|
|
@ -1,4 +1,4 @@
|
|||
package polling_station_dashboard.voterEdit.java;
|
||||
package polling_station_dashboard.search.votersEdit.java;
|
||||
|
||||
/**
|
||||
* Created by Vladimir Eliezer Tokarev on 11/06/2016.
|
Loading…
Reference in New Issue