Created the Advanced Search class

voting-station-gui
Vladimir Eliezer Tokarev 2016-07-09 13:10:53 +03:00
parent 1fa38ddb5f
commit 6c43201113
5 changed files with 57 additions and 11 deletions

View File

@ -32,4 +32,7 @@ public class PollingStationDashboardController {
{
this.eventHandlerMap.Handle(mousePressed);
}
@FXML
private void ExpandAdvanceSearch(MouseEvent mousePressed) { this.eventHandlerMap.Handle(mousePressed);}
}

View File

@ -0,0 +1,9 @@
package polling_station_dashboard.search.advancedSearch;
/**
* Created by dasha on 7/9/2016.
* AdvancedSearchController controls the behavior of the adnvaced search panel
* for example searching by tag type
*/
public class AdvancedSearchController {
}

View File

@ -0,0 +1,16 @@
package polling_station_dashboard.search.advancedSearch;
import javafx.event.Event;
import javafx.event.EventHandler;
/**
* Created by dasha on 7/9/2016.
* AdvancedSearchHandler handles the event that being passed from the polling station dashboard
*/
public class AdvancedSearchHandler implements EventHandler {
@Override
public void handle(Event event) {
}
}

View File

@ -0,0 +1,8 @@
package polling_station_dashboard.search.advancedSearch;
/**
* Created by dasha on 7/9/2016.
* AdvancedSearchLoader loads the advanced search panel
*/
public class AdvancedSearchLoader {
}

View File

@ -2,6 +2,7 @@
<!-- Created By Vladimir Eliezer Tokarev !-->
<?import javafx.scene.text.*?>
<?import java.lang.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.control.*?>
@ -24,12 +25,14 @@
<Pane layoutX="24.0" layoutY="14.0" prefHeight="102.0" prefWidth="714.0">
<children>
<BorderPane prefHeight="102.0" prefWidth="714.0">
<right>
<Button fx:id="SearchButton" mnemonicParsing="false" onMousePressed="#SearchTrigered" prefHeight="50.0" prefWidth="112.0" text="Search" BorderPane.alignment="CENTER" />
</right>
<bottom>
<Separator prefWidth="200.0" BorderPane.alignment="CENTER" />
</bottom>
<center>
<BorderPane fx:id="SearchContainer" prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<center>
<TextField fx:id="SearchValue" prefHeight="56.0" prefWidth="479.0" text="IDNumber: 123123123, FilterName2: value2 ..." BorderPane.alignment="CENTER" />
</center>
<left>
<ImageView fitHeight="65.0" fitWidth="66.0" BorderPane.alignment="CENTER">
<image>
@ -37,8 +40,10 @@
</image>
</ImageView>
</left>
<center>
<TextField fx:id="SearchValue" prefHeight="56.0" prefWidth="536.0" text="IDNumber: 123123123, FilterName2: value2 ..." BorderPane.alignment="CENTER" />
<right>
<Button fx:id="SearchButton" mnemonicParsing="false" onMousePressed="#SearchTrigered" prefHeight="50.0" prefWidth="112.0" text="Search" BorderPane.alignment="CENTER" />
</right>
</BorderPane>
</center>
</BorderPane>
</children>
@ -78,6 +83,11 @@
</children>
</Pane>
<Pane fx:id="AddEditPane" layoutX="17.0" layoutY="120.0" prefHeight="428.0" prefWidth="749.0" />
<Label layoutX="746.0" layoutY="24.0" onMousePressed="#ExpandAdvanceSearch" text="!">
<font>
<Font size="55.0" />
</font>
</Label>
</children>
</AnchorPane>
</children>