Interface EntityGuiController<T extends de.fraunhofer.iosb.ilt.sta.model.Entity<T>>
-
- Type Parameters:
T- The exact entity type this controller controls.
- All Known Implementing Classes:
EntityGuiController.GuiControllerDatastream,EntityGuiController.GuiControllerFeatureOfInterest,EntityGuiController.GuiControllerHistoricalLocation,EntityGuiController.GuiControllerLocation,EntityGuiController.GuiControllerMultiDatastream,EntityGuiController.GuiControllerObservation,EntityGuiController.GuiControllerObsProp,EntityGuiController.GuiControllerSensor,EntityGuiController.GuiControllerThing
public interface EntityGuiController<T extends de.fraunhofer.iosb.ilt.sta.model.Entity<T>>- Author:
- scf
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEntityGuiController.ChildSetter<C extends de.fraunhofer.iosb.ilt.sta.model.Entity<C>>static classEntityGuiController.GuiControllerDatastreamstatic classEntityGuiController.GuiControllerFeatureOfIntereststatic classEntityGuiController.GuiControllerHistoricalLocationstatic classEntityGuiController.GuiControllerLocationstatic classEntityGuiController.GuiControllerMultiDatastreamstatic classEntityGuiController.GuiControllerObservationstatic classEntityGuiController.GuiControllerObsPropstatic classEntityGuiController.GuiControllerSensorstatic classEntityGuiController.GuiControllerThing
-
Field Summary
Fields Modifier and Type Field Description static com.fasterxml.jackson.core.type.TypeReference<List<de.fraunhofer.iosb.ilt.sta.model.ext.UnitOfMeasurement>>TYPE_LIST_UOMstatic com.fasterxml.jackson.core.type.TypeReference<Map<String,Object>>TYPE_MAP_STRING_OBJECT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T extends javafx.scene.Node>
TaddFieldTo(javafx.scene.layout.GridPane gp, int row, String title, T node, boolean fillHeight, boolean editable)static <C extends de.fraunhofer.iosb.ilt.sta.model.Entity<C>>
javafx.scene.layout.PanecreateCollectionPaneFor(de.fraunhofer.iosb.ilt.sta.query.Query<C> query, String orderBy)static <C extends de.fraunhofer.iosb.ilt.sta.model.Entity<C>>
javafx.scene.layout.PanecreateCollectionPaneFor(de.fraunhofer.iosb.ilt.sta.query.Query<C> query, String orderBy, boolean canLinkNew, EntityGuiController.ChildSetter<C> childSetter)static <C extends de.fraunhofer.iosb.ilt.sta.model.Entity<C>,P extends de.fraunhofer.iosb.ilt.sta.model.Entity<P>>
javafx.scene.control.TitledPanecreateEditableEntityPane(P parentEntity, C childEntity, de.fraunhofer.iosb.ilt.sta.query.Query<C> childQuery, String orderby, EntityGuiController.ChildSetter<C> setter)static <T extends de.fraunhofer.iosb.ilt.sta.model.Entity<T>>
Optional<List<T>>entitySearchDialog(de.fraunhofer.iosb.ilt.sta.query.Query<T> query, boolean multiSelect, String orderBy)de.fraunhofer.iosb.ilt.sta.model.EntityTypegetType()voidinit(de.fraunhofer.iosb.ilt.sta.service.SensorThingsService service, T entity, javafx.scene.layout.GridPane gridProperties, javafx.scene.control.Accordion accordionLinks, javafx.scene.control.Label labelId, boolean editable)voidloadFields()Load the fields from the entity into the gui.voidsaveFields()Save the fields from the gui into the entity.
-
-
-
Method Detail
-
loadFields
void loadFields()
Load the fields from the entity into the gui.
-
saveFields
void saveFields()
Save the fields from the gui into the entity.
-
getType
de.fraunhofer.iosb.ilt.sta.model.EntityType getType()
-
init
void init(de.fraunhofer.iosb.ilt.sta.service.SensorThingsService service, T entity, javafx.scene.layout.GridPane gridProperties, javafx.scene.control.Accordion accordionLinks, javafx.scene.control.Label labelId, boolean editable)- Parameters:
service- The service the entity belongs to.entity- the entity.gridProperties- the grid for entity properties.accordionLinks- The accordion for navigation properties.labelId- The label that shows the entity id.editable- is the entity editable.
-
createEditableEntityPane
static <C extends de.fraunhofer.iosb.ilt.sta.model.Entity<C>,P extends de.fraunhofer.iosb.ilt.sta.model.Entity<P>> javafx.scene.control.TitledPane createEditableEntityPane(P parentEntity, C childEntity, de.fraunhofer.iosb.ilt.sta.query.Query<C> childQuery, String orderby, EntityGuiController.ChildSetter<C> setter) throws IOException- Throws:
IOException
-
addFieldTo
static <T extends javafx.scene.Node> T addFieldTo(javafx.scene.layout.GridPane gp, int row, String title, T node, boolean fillHeight, boolean editable)
-
createCollectionPaneFor
static <C extends de.fraunhofer.iosb.ilt.sta.model.Entity<C>> javafx.scene.layout.Pane createCollectionPaneFor(de.fraunhofer.iosb.ilt.sta.query.Query<C> query, String orderBy)
-
createCollectionPaneFor
static <C extends de.fraunhofer.iosb.ilt.sta.model.Entity<C>> javafx.scene.layout.Pane createCollectionPaneFor(de.fraunhofer.iosb.ilt.sta.query.Query<C> query, String orderBy, boolean canLinkNew, EntityGuiController.ChildSetter<C> childSetter)
-
-