Created the Advanced Search class
parent
1fa38ddb5f
commit
6c43201113
|
@ -32,4 +32,7 @@ public class PollingStationDashboardController {
|
||||||
{
|
{
|
||||||
this.eventHandlerMap.Handle(mousePressed);
|
this.eventHandlerMap.Handle(mousePressed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private void ExpandAdvanceSearch(MouseEvent mousePressed) { this.eventHandlerMap.Handle(mousePressed);}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
}
|
|
@ -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) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -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 {
|
||||||
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
<!-- Created By Vladimir Eliezer Tokarev !-->
|
<!-- Created By Vladimir Eliezer Tokarev !-->
|
||||||
|
|
||||||
|
<?import javafx.scene.text.*?>
|
||||||
<?import java.lang.*?>
|
<?import java.lang.*?>
|
||||||
<?import javafx.scene.image.*?>
|
<?import javafx.scene.image.*?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.control.*?>
|
||||||
|
@ -24,21 +25,25 @@
|
||||||
<Pane layoutX="24.0" layoutY="14.0" prefHeight="102.0" prefWidth="714.0">
|
<Pane layoutX="24.0" layoutY="14.0" prefHeight="102.0" prefWidth="714.0">
|
||||||
<children>
|
<children>
|
||||||
<BorderPane prefHeight="102.0" prefWidth="714.0">
|
<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>
|
<bottom>
|
||||||
<Separator prefWidth="200.0" BorderPane.alignment="CENTER" />
|
<Separator prefWidth="200.0" BorderPane.alignment="CENTER" />
|
||||||
</bottom>
|
</bottom>
|
||||||
<left>
|
|
||||||
<ImageView fitHeight="65.0" fitWidth="66.0" BorderPane.alignment="CENTER">
|
|
||||||
<image>
|
|
||||||
<Image url="@/images/barcode.png" />
|
|
||||||
</image>
|
|
||||||
</ImageView>
|
|
||||||
</left>
|
|
||||||
<center>
|
<center>
|
||||||
<TextField fx:id="SearchValue" prefHeight="56.0" prefWidth="536.0" text="IDNumber: 123123123, FilterName2: value2 ..." BorderPane.alignment="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>
|
||||||
|
<Image url="@/images/barcode.png" />
|
||||||
|
</image>
|
||||||
|
</ImageView>
|
||||||
|
</left>
|
||||||
|
<right>
|
||||||
|
<Button fx:id="SearchButton" mnemonicParsing="false" onMousePressed="#SearchTrigered" prefHeight="50.0" prefWidth="112.0" text="Search" BorderPane.alignment="CENTER" />
|
||||||
|
</right>
|
||||||
|
</BorderPane>
|
||||||
</center>
|
</center>
|
||||||
</BorderPane>
|
</BorderPane>
|
||||||
</children>
|
</children>
|
||||||
|
@ -78,6 +83,11 @@
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</Pane>
|
||||||
<Pane fx:id="AddEditPane" layoutX="17.0" layoutY="120.0" prefHeight="428.0" prefWidth="749.0" />
|
<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>
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
</children>
|
</children>
|
||||||
|
|
Loading…
Reference in New Issue